guys is there a optocoupler that the transistor inside was PNP? i need a positive output from emitter to collector, not negative. can you tell me the part number...
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.
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 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.