burrow
Full Member level 2
- Joined
- Dec 15, 2014
- Messages
- 147
- Helped
- 3
- Reputation
- 6
- Reaction score
- 3
- Trophy points
- 18
- Activity points
- 1,148
Hai,
My circuit is powered by an xformer and also a battery ( parallel) so when xformer turns off , the battery takes over. its a 12v xformer , it goes through rectifier and everything and a DIODE ( The xformer circuit has some other devices too, i dont want battery to feed them, hence using the diode ) and then to 9v rechargeable battery and then to 7805 ic.
so inorder to feed power status input to pic, i took a connection from a point before the diode and then fed into another 7805 ic and then to pic's pin. But it doesn't seem to work, it turns of the controller.
iguess since the main 7805 ic has more load its voltage might be around or around, but the voltage on the Second 7805 is negligible, so the pin might be actually getting higher voltage than mcu's vcc.
So is that causing it to freeze ?
will adding a resistor work ? , whats the allowable voltage range for an input pin , tolerance?
My circuit is powered by an xformer and also a battery ( parallel) so when xformer turns off , the battery takes over. its a 12v xformer , it goes through rectifier and everything and a DIODE ( The xformer circuit has some other devices too, i dont want battery to feed them, hence using the diode ) and then to 9v rechargeable battery and then to 7805 ic.
so inorder to feed power status input to pic, i took a connection from a point before the diode and then fed into another 7805 ic and then to pic's pin. But it doesn't seem to work, it turns of the controller.
iguess since the main 7805 ic has more load its voltage might be around or around, but the voltage on the Second 7805 is negligible, so the pin might be actually getting higher voltage than mcu's vcc.
So is that causing it to freeze ?
will adding a resistor work ? , whats the allowable voltage range for an input pin , tolerance?