Hi guys,
Would love if someone could guide me. I'm having a hard time trying to figure out where I'm going wrong.
Have used the method moffy described above (thank you moffy) but I can't really get my head around whats happening.
I've tried this with both a ULN2803 and a 2N3904BU. My 3.3v logic is coming from the output of a 4N25 opto-isolator.
I've fed this through a 1k resistor to base, my emitter to ground and my + 5v through a 1k resistor to the collector. Both chips are exhibiting similar characteristics.
Basically my 3.3v is returning to around 1.7v in the case of the ULN2803 and about 1.5v in the case of the 2N3904BU.
This means that my software cannot deactivate the limits as it is not reading 3.3v.
I'm sure I'm doing something simple incorrectly ?