Log in

View Full Version : New Programmer- How I can wire photosensor


Team3390
08-02-2011, 08:58
Hello, I'm a new programmer and I don't know how I can wire photosensor. Best regards, waiting for your help.

bladetech932
08-02-2011, 09:57
In code you need to use a getDigital.vi found in the IO section of the WPI Robotics Library.
If you are referring to electrical i recommend you search CD because there are numerous threads talking about it

rsisk
08-02-2011, 10:12
CD Search Feature or: How I learned to wire photosensors
Shout out to Dr. Strangelove :yikes:

Read this thread, or you can start at post 78 on this page: http://www.chiefdelphi.com/forums/showthread.php?t=88548&page=6

Team3390
08-02-2011, 10:48
guys, sorry I asked wrong. My question is WHERE not How =D I wire. could you explain it or show me an image?

rsisk
08-02-2011, 15:42
Is this what you are asking for? Sorry, I don't have an image

Brown + (connected to red power connector on PDB)
Blue - (connected to black power connector on PDB)
White to the white wire of a PWM connected to the digital side car
Black nothing

Alan Anderson
08-02-2011, 16:03
Brown + (connected to red power connector on PDB)
Blue - (connected to black power connector on PDB)
Correct, with a 20 A breaker installed.
White to the white wire of a PWM connected to the digital side car
NOT correct. The white signal wire goes to a Digital I/O pin on the Digital Sidecar, not to to a PWM pin.