digitall
Newbie level 4
- Joined
- May 8, 2009
- Messages
- 7
- Helped
- 2
- Reputation
- 4
- Reaction score
- 2
- Trophy points
- 1,283
- Location
- Karachi, Pakistan
- Activity points
- 1,330
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 turning on and off the relay ..
i have tried couple of things to resolve this issue like connecting reverse diode on the coil of relay and capacitor but nothing works and all things seems perfect like voltage accross the 89c51 ect ect
Plz My friends Help me to resolve this issue
Thanks in advance....
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 turning on and off the relay ..
i have tried couple of things to resolve this issue like connecting reverse diode on the coil of relay and capacitor but nothing works and all things seems perfect like voltage accross the 89c51 ect ect
Plz My friends Help me to resolve this issue
Thanks in advance....