Multiple laser sensors to one input?
tahlorn
Posts: 18
Greetings.
I built a system with 12 lasers, and want to detect when any of them get broken. I don't care which, I have them set as three strands of 4 each.
The light sensor is a photo-resistor, 5V coming up one leg. a 2.2kOhm resistor goes from the other leg to ground. A 220-Ohm resistor connects to a leg of the photo-resistor and goes to the input on the BS2. For a single sensor this works great, laser on means the senosr reads high, broken reads low.
However, with the additional sensors attached, breaking the beam on only one sensor doesn't shift the voltage enough to make a difference. I don't want to have to run a wire from every single sensor to the BS2, as that is a lot of wiring and will use up the last of my inputs.
Anyone have an idea of how to cheat around this via code, or how to wire up the sensor differently so that when one beam is broken it is detectable? Thanks!
-Mike
I built a system with 12 lasers, and want to detect when any of them get broken. I don't care which, I have them set as three strands of 4 each.
The light sensor is a photo-resistor, 5V coming up one leg. a 2.2kOhm resistor goes from the other leg to ground. A 220-Ohm resistor connects to a leg of the photo-resistor and goes to the input on the BS2. For a single sensor this works great, laser on means the senosr reads high, broken reads low.
However, with the additional sensors attached, breaking the beam on only one sensor doesn't shift the voltage enough to make a difference. I don't want to have to run a wire from every single sensor to the BS2, as that is a lot of wiring and will use up the last of my inputs.
Anyone have an idea of how to cheat around this via code, or how to wire up the sensor differently so that when one beam is broken it is detectable? Thanks!
-Mike
Comments
You might be better off using a series string of phototransistors. That depends on the laser wavelength and the particular phototransistor used. You might get a sharper on/off response
http://www.kpsec.freeuk.com/components/cmos.htm#4068
or this is the perfect opportunity to use one or more 4068 ICs, which is an 8-input AND gate: http://www.ebay.com/itm/5x-CD4068-4068-8-Input-Nand-And-Gate-C-MOS-IC-DIP-14-/200586355595?pt=UK_BOI_Electrical_Components_Supplies_ET&hash=item2eb3e0e38b
That sounds like it could indeed work. I was just a bit too caught up in a design to see another method around it. I will have to figure out what the light/dark resistance is to select a ground and signal resistor, but that will just take a little calculating and/or trial and error. Thanks for the thought!
Erco,
Though that does seem rather clever, it is a bit more complicated than what I am looking to do. Trying to go with a quick and cheap solution, as I already have the photo resistors and a ton of wire. Thanks for the info though!