Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
Acutally i have used 7805 regulator For 5v regulation & i didnt add a Capacitor on the output to gnd of regulator so thats why 89c51 was changing prog counter coz the regulator gives spikes while relay switches .....
Thanks a lot all my friends for replies....! Now the problem is solved
Thanks for the reply Guys ....!
Dear kvtal i have used reverse diode between the coil of relay to kill back emf and also used a capacitor but this thing not working and 89c51 still goes to hang position while turning on or off relay...! plz tell me some thing different
Thanks for the reply tomym
Yes actually relay is switching 220v supply for battery charger unit driving a small 1amp charging transformer...!
- - - Updated - - -
I am posting my complete project of a Electric Generator automatic system (ATS) including complete asm file and proteus simulator...
Hello My dear Friends..
i am working on atmel 89c51 and i have connected couple of 12v relay throught Pc817 optocoupler to 89c51 i/o Pin but when the 89c51 starts or stops the relay its programe counter goes somewhere else on the code of the programe ...its seems like 89c51 goes mad while...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.