Hi there, Is the reason for stopping a failure in the code somewhere? What about enabling the watchdog and if your code crashes and stops updating this, it will do a reset for you and your code will start again as if power off and on. This will be much simpler than doing the external switch. If this works, then you need to dig into your code to figure out why it stops communicating as it sounds very much like a bug in their somewhere? If your code is still executing (as you are able to toggle an IO pin) then you can simply enable the watchdog from within your code and then enter a while loop until it times out and resets your device. Again, no need for external hardware. Regards Dave. From: AVR-Chat@yahoogroups.com [mailto:AVR-Chat@yahoogroups.com] On Behalf Of AMIT KAPOOR Sent: 03 September 2010 10:06 To: AVR-Chat@yahoogroups.com Subject: [AVR-Chat] Power reset (VCC) of some device from MICROCONTROLLER OUTPUT PIN without using relay Hello Friends, Good Morning!... I need help/suggestion from you! Actually I have a device which communicates with microcontroller using the serial communication. but sometimes this device stops communicating.In this case , this device needs VCC reset( POWER RESET)..So what i want is to reset this device from microcontroller whenever it stops communicating ( basically disconnecting the VCC power of this device by turning on some output pin of microcontroller and after 1 or 2 seconds again connecting it)...I don't want to use relay logic..so any suggestions regarding the hardware interfacing circuit between microcontroller and this device which stopd communicating and need Power reset. Current requirement of this device is below 600 mA. and voltage VCC is same as microcontroller ( +5V). Thanks a lot!, Best Regards, Kaps [Non-text portions of this message have been removed]
Message
RE: [AVR-Chat] Power reset (VCC) of some device from MICROCONTROLLER OUTPUT PIN without using relay
2010-09-03 by Dave McLaughlin
Attachments
- No local attachments were found for this message.