Thank you guys for all the support till now. But have run into a problem while interfacing the micro controller with a relay. I am the using the circuit shown below
**broken link removed**
link:"http://static.electro-tech-online.com/imgcache/1038-15.gif"
When I measure the output across the diode without the relay i have 12V when the PIC goes high and 0V when PIC is low. But when I connect the relay across the diode, the voltage immediately drops to around 5V regardless of whether PIC is high or low. What am I doing wrong? And how do I remedy it?
As always thanks in advance.
**broken link removed**
link:"http://static.electro-tech-online.com/imgcache/1038-15.gif"
When I measure the output across the diode without the relay i have 12V when the PIC goes high and 0V when PIC is low. But when I connect the relay across the diode, the voltage immediately drops to around 5V regardless of whether PIC is high or low. What am I doing wrong? And how do I remedy it?
As always thanks in advance.