Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Most optos don't require the output transistor base to be connected, so you can attach the opto "transistor" as either high side or low side, so YES it's like a PNP if you want it to be.
ill run some tests on my 4N35 if positive would go through.
i know it doesn't work to moc3023 since its triac instead of transitsor. i dont know why but i guess it has to do with AC.
i found PN2905A for PNP transistor also.
i read it can be used for switching. if im going to add a PNP transistor you think this is good for 5v operation?
sorry the datasheet gave me headache lols.
thank you guys for the info, appreciate it very much.
hi,
Is this what you are asking, positive pulse to the opto and a positive going pulse from the output of the transistor.?
Connect the collector of the opto's transistor to the +5 and the emitter to the PIC. Also you'll need a pull down resistor, see attached.Ric this is what i have in mind. so far the optos ive tested did not yet work
i think no but the trigger for the opto is a negative pulse and for output, a high to trigger the interrupt inside my pic
i have no way of measuring the pulse but i know the supply is 12v, and a additional wire color gray, says signal (this is a old coin mech i saw in the garage). there is also a selecting switch that says NO or NC, i set it to NO so the way i understand it should start from 0v not 12v.