Hello one and all,
Using a 4n26 to seperate pic circuit from step motor circuit and have wired the optoisolator in the following way (power supply to 4n26 different to the pic supply):
pin1 (anode - input from pic)
pin2 (cathode - ground with a 475 Ohm resistor)
pin3 (unused)
pin4 (emitter - output to control step motor)
pin5 (collector - 5V)
pin6 (base - unused)
I have confirmed
the output from the pic (using leds and volt meter)
the wiring of the 4n26 (placing both 5V and 1.5V on the anode pin 1 - again leds and volt meter)
When I try to get output using the pic as the input to the anode, nothing on the emitter?? Now I know I am doing something wrong, I just cannot figure it out.
Any ideas on what I can try?
Thanks for your help
Spiros
Using a 4n26 to seperate pic circuit from step motor circuit and have wired the optoisolator in the following way (power supply to 4n26 different to the pic supply):
pin1 (anode - input from pic)
pin2 (cathode - ground with a 475 Ohm resistor)
pin3 (unused)
pin4 (emitter - output to control step motor)
pin5 (collector - 5V)
pin6 (base - unused)
I have confirmed
the output from the pic (using leds and volt meter)
the wiring of the 4n26 (placing both 5V and 1.5V on the anode pin 1 - again leds and volt meter)
When I try to get output using the pic as the input to the anode, nothing on the emitter?? Now I know I am doing something wrong, I just cannot figure it out.
Thanks for your help
Spiros