Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
01/07/06 07:02
Read: times


 
#106765 - Re:Auto reset
Responding to: ???'s previous message
I have not used any reset chip, but a reset button. Is that I can make the circuit reset automatically once the power is switched on if I use a reset chip? Any additional code needs to be added if so?

Use a reset generator chip and your code will start running automatically when you turn on the power. Upon power up, the reset generator will hold the reset pin asserted for some time and then de-assert it thus giving you automatic start. No additional programming would be required if you use a simple reset generator chip. But if you use a reset generator with a WDT function (MAX1232 for example), you will have to strobe the the WDT periodically with one of the port pins to give a proof to the WDT that your software is alive and running. Otherwise WDT will keep on applying Resets to your processor.

Can I make the start with all the things off?

Yes, you can. But you need to revise your hardware. The solution is to design your hardware in such a way that a '0' on port pin will turn on the device (LED or fan) and a '1' will turn the device off. Then your system will turn on with everything off unitll your software turns them on.



List of 16 messages in thread
TopicAuthorDate
How to auto start program once power on?            01/01/70 00:00      
   You Circuit            01/01/70 00:00      
      auto reset            01/01/70 00:00      
         Do you understand my post            01/01/70 00:00      
         Re:Auto reset            01/01/70 00:00      
            Loop appear to be random at the beginnin            01/01/70 00:00      
               Post your schematic and code            01/01/70 00:00      
                  Code            01/01/70 00:00      
                     Comments            01/01/70 00:00      
                  Schematic            01/01/70 00:00      
                     reset            01/01/70 00:00      
               Noise            01/01/70 00:00      
         Reset            01/01/70 00:00      
            RC circuit            01/01/70 00:00      
               Bad idea            01/01/70 00:00      
               Where did you get those numbers?            01/01/70 00:00      

Back to Subject List