Hey everyone, I am in the process of trying to replace the mechanical switches in my Skeeball machine with optical sensors. Quite frankly, despite all of the help that many people here have provided I really have no clue what in the hell I'm doing.
I originally tried some Sharp digital distance detectors, but since I am using shiny black Skeeballs I can't use an IR reflective setup and instead have to go with a beam break setup. I purchased just the basic photodiodes and LED's for this months ago but the idea of having to mess with resistors for both the emitter and the receiver of 8 switches just seems to be over my head right now.
I think I may have found an option that I will only have to add 10k resisters to each receiver, but I wanted to get some feedback from people that actually know what they are doing before I ordered them haha. Will these beam break sensors work (meaning send a signal when the beam is broken) if I follow the instructions and put a 10K resister between the red and white wires of the receiver? I plan on connecting everything to a KeyWiz, and my goal is to have a signal sent to the KeyWiz when the beam of light between the sensor and receiver is broken. Below is the beam break sensor that I am considering:
IR Break Beam Sensor - 3mm LEDs
https://www.adafruit.com/products/2167This is the 3mm IR version. It works up to 25cm / 10". You can power it from 3.3V or 5V, but 5V will get you better range and is what we suggest. The receiver is open collector transistor output which means that you do need a pull up resistor if you want to read a digital signal off the signal wire. Most microcontrollers have the ability to turn on a built in pull up resistor. If you do not, connect a 10K resistor between the white wire of the receiver and the red wire. If you want to control a relay or LED or whatever, it can sink up to 100mA to ground.My apologies ahead of time to the many people (like Scott) that have been very generous trying to help me wrap my brain around this whole concept. I'm just completely stuck right now.