Menu

High & Low.. Is there Neutral?

Help
2008-12-01
2013-05-30
  • Nobody/Anonymous

    The project im working on for some reason unknown to me fails to work if my output pin is connected at power up of the device. if i power it up and then connect the output it works perfectly.

    Is there a way to set a output pin neutral, rather then high or low?  the only workaround at this time is to press and hold a button (NC) at powerup then release it to opperate correctly, this is to say the least a pain.

     
    • Nobody/Anonymous

      Can you configure the pin as an input for some amount of time?  That makes it high impendance.  You may also need to check for the weak pullups.

       
    • Nobody/Anonymous

      it was the output itself.. i added a delay to the start of the chip and it gave the device i was adding this to time to start up problem solved.. thanx though :D

       
    • kent_twt4

      kent_twt4 - 2008-12-02

      If the delay on start up becomes a problem, you could try a (N.O.) button and invert your logic.

      Also you could experiment with capcitor sizes (like 0.1uf and up) on the pin side of the button to ground, giving you a small RC delay.

      You don't say which pin the button is on, hopefully not the MCLR, which in your case should be changed to another pin.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.