23861
General Mach Discussion / Re: setting up a reflective object sensor for dummy's
« on: January 21, 2008, 10:01:36 AM »
I just have it connected via my breakout (pmdx 122)
The Cathode and Ground (Black and Green) are connected together and taken to a ground on the breakout.
The Output (blue) goes to the Input you choose on your breakout.
The Vcc (white) is connected directly to a 5V supply from the breakout.
The Anode (red) is also connected to the 5V but has a 220 ohm resistor in line.
All thats left to do is configure the Index in Mach for the pin you connected to and you should be up and running.
I would advise to use shielded wire.
Hood
The Cathode and Ground (Black and Green) are connected together and taken to a ground on the breakout.
The Output (blue) goes to the Input you choose on your breakout.
The Vcc (white) is connected directly to a 5V supply from the breakout.
The Anode (red) is also connected to the 5V but has a 220 ohm resistor in line.
All thats left to do is configure the Index in Mach for the pin you connected to and you should be up and running.
I would advise to use shielded wire.
Hood