Hello Dave,
Thanks for the reply.
Actually the problem is not on the PIC side . The problem is on the other device
with which PIC is communicating. So i have to reset( Power) the other device and
not the PIC. basically there is predefined protocol( from this device comany) to
communicate with this device but sometimes this device hangs and stops
responding. There is no option other than to hard reset it..So i need something
to hard reset the VCC of this device. I hope i am clear.
Is there some IC which can source current of around 600 ma( 1 Amp will be on
safe side!) and can be turned on/off from PIC pin. That would be perfect!...Any
Suggestions??
Thanks
Kaps
________________________________
From: Dave McLaughlin <dave_mclaughlin@nerdshack.com>
To: AVR-Chat@yahoogroups.com
Sent: Fri, September 3, 2010 1:01:16 PM
Subject: RE: [AVR-Chat] Power reset (VCC) of some device from MICROCONTROLLER
OUTPUT PIN without using relay
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]
[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 AMIT KAPOOR
Attachments
- No local attachments were found for this message.