View Single Post
  #25   Spotlight this post!  
Unread 12-01-2011, 08:28
Tem1514 Mentor's Avatar
Tem1514 Mentor Tem1514 Mentor is offline
Registered User
FRC #1514
Team Role: Mentor
 
Join Date: Feb 2010
Rookie Year: 2010
Location: Toronto
Posts: 239
Tem1514 Mentor is a splendid one to beholdTem1514 Mentor is a splendid one to beholdTem1514 Mentor is a splendid one to beholdTem1514 Mentor is a splendid one to beholdTem1514 Mentor is a splendid one to beholdTem1514 Mentor is a splendid one to beholdTem1514 Mentor is a splendid one to beholdTem1514 Mentor is a splendid one to behold
Re: How should we wire the photoswitchs?

When the photoswitch is wired accourding to schematics that come with it the DO and LO signal lines will give out either a 0volt or 12volt signal. This was CONFIRMED last night during a bench test.

Bench test hookup as per instructions;
Brown wire to + 12 volts (VCC) from the power distrabution board.
Blue wire to 0 volts (Ground) from PD board.
Two 10K (10,000) ohm resistors (load), have one end connected to VCC.
The other end of one resistor goes to the White wire, call this TP1 and then the last free end of the other resistor goes to the Black wire, call this TP2

Testing;
With a voltmeter set at 20VDC range;
- connect the meter negitive lead to Ground and then one-at-a-time measure the voltage at TP1 or TP2 with the positive lead of the voltmeter.

Results;
WHITE wire at resistor junction will show;
- 0 volts when sensor is OPEN
- +12 volts (VCC) when sensor SEEs an object

BLACK wire at resistor junction will show;
- 0 volts when sensor is OPEN
- +12 volts (VCC) when sensor SEEs an object

So wiring the photowitch as per the instructions WILL give 0 to 12 volt signals which will kill a digital side car.


With that said IT SHOULD be possible to referance the LOAD resistors to +5 volts via the digital side car GPI/O pins. This is for a later test, unless someone else would like to try it.