So I'm building these testing boxes for work. Basically it takes a 9v battery and using a buck/boost module steps it up to 24vdc. Then using those cheap red/black push style speaker connectors for a 24vdc source and PNP/NPN detection with a M12 female pigtail to directly plug a sensor into to test it.
My question is this: As the circuit is drawn I want the bi-color LED to change between red or green depending on whether the sensor is plugged in as PNP or NPN. Will the diode setup accomplish this? I'm getting the stuff to make 24 of these so my technicians can build them and hopefully learn something along the way. I wanted to used a diode setup like this to make it slightly more complicated that just using a 2 pole bi-color led with opposing anode and cathode or using separate LEDs for each channel (J3 and J4).
If this won't work and someone has an idea how to accomplish this I'm all ears! Also just started using KiCad last night and it is freaking awesome. Makes Fritzing(which is all I ever used before this) look like cave art compared to the Sistine Chapel. Fritzing's breadboard simulator is second to none though so I will always keep using it. Sorry off topic lol Adderall kicked in.
Thanks!

My question is this: As the circuit is drawn I want the bi-color LED to change between red or green depending on whether the sensor is plugged in as PNP or NPN. Will the diode setup accomplish this? I'm getting the stuff to make 24 of these so my technicians can build them and hopefully learn something along the way. I wanted to used a diode setup like this to make it slightly more complicated that just using a 2 pole bi-color led with opposing anode and cathode or using separate LEDs for each channel (J3 and J4).
If this won't work and someone has an idea how to accomplish this I'm all ears! Also just started using KiCad last night and it is freaking awesome. Makes Fritzing(which is all I ever used before this) look like cave art compared to the Sistine Chapel. Fritzing's breadboard simulator is second to none though so I will always keep using it. Sorry off topic lol Adderall kicked in.
Thanks!
