Atmega8 gets upset
Discussion in "AVR Discussion Forum" started by ankitbajaj01 Dec 28, 2015.
Mon Dec 28 2015, 02:48 pm
Hello,
I am controlling 3 relays simultaneously thorugh AVR controller. While switching the relays ON/OFF, at output of 7805, ST make, I have observed the spike of voltage ranging 6V-15V. This spike goes to VCC of uC and makes the controller upset.
Please guide me how should I stop this spike from getting generated and if it is generated how to stop it further reaching to the controller.
Regards...
I am controlling 3 relays simultaneously thorugh AVR controller. While switching the relays ON/OFF, at output of 7805, ST make, I have observed the spike of voltage ranging 6V-15V. This spike goes to VCC of uC and makes the controller upset.
Please guide me how should I stop this spike from getting generated and if it is generated how to stop it further reaching to the controller.
Regards...
Thu Dec 31 2015, 11:54 am
add 220uf 16v electrolytic capacitor before and after 7805 it will absorb the spike, the 7805 is an ic that a small spark will destabilized its stability
[ Edited Thu Dec 31 2015, 11:55 am ]
Thu Jan 21 2016, 09:46 am
@ ankitbajaj01
use a diode like 1N4001-1N4007 in reverse bias with relay
this diode will absorb the reverse voltage generated by a relay
use 1000uf/16 volt electrolyte capacitor after LM7805 output
if problem still exist use a 10uh inductor after capacitor then
it will remove any spike going to controller
i do it may time and it works for me in a good manner
use a diode like 1N4001-1N4007 in reverse bias with relay
this diode will absorb the reverse voltage generated by a relay
use 1000uf/16 volt electrolyte capacitor after LM7805 output
if problem still exist use a 10uh inductor after capacitor then
it will remove any spike going to controller
i do it may time and it works for me in a good manner
Powered by e107 Forum System