I know optical sensor wiring and schematics has been sort of beaten to death, but I still haven’t been able to find a satisfactory way for hooking one of them up to the Isaac 16. The EDu Robot’s power supply isn’t big enough to run them, so the specs say, so we’ve got two 9 volts powering the things. Only problem is, everyone says we’ve got to ground it to the RC, but then the power won’t run from the batteries. This is my problem. Can anyone help me out?
Run the power from the batteries to the brown lead on the sensor, then connect the blue lead to the negative terminal on the battery, and also run a lead from the negative terminal of the battery to the ground pin on the Isaac 16 digital input (so you have 2 leads going to the negative terminal of the battery). This is important because the robot controller uses the ground pin to detect whether anything is connected on the input. Finally, attach the white or black lead (only one) to the input pin of the digital input, test these to see which one you want. (I think white is normally-on, black is normally-off). That should allow you to power the sensor externally but still have it operating as a digital switch for the robot.
If that works, I must say, you are the man. Right now though, I must make an exit and proceed to kick myself.
If it doesn’t, PM me or IM me at proteus2003 on aim and I’ll see if I can help ya out.