My vending machine controller project is continuing along.
My current issue is reading the drum speed sensor - a slot type photo interrupter. The schematic has the following detail. I don't think this is correct, as the negative side of the LED is connected is connected to the collector of the NPN transistor. (which most types of photo interrupters seem to be.) Is there any way this illustration makes sense.
The second illustration shows the circuit as I think it should be.
My current issue is reading the drum speed sensor - a slot type photo interrupter. The schematic has the following detail. I don't think this is correct, as the negative side of the LED is connected is connected to the collector of the NPN transistor. (which most types of photo interrupters seem to be.) Is there any way this illustration makes sense.
The second illustration shows the circuit as I think it should be.