View Single Post
  #2   Spotlight this post!  
Unread 15-01-2006, 10:24
DonRotolo's Avatar
DonRotolo DonRotolo is offline
Back to humble
FRC #0832
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Atlanta GA
Posts: 6,998
DonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond repute
Re: Interfacing with Allen-Bradley Sensors

Quote:
Originally Posted by doubleslash
Two questions about interfacing with the Allen-Bradley IR sensors:
  1. How to hook it up: Are the outputs analog or digital (I'm guessing digital)? What are the output voltages of the green and white wires? If we assume that the output voltage is the same as the input voltage (12V) is it safe to hook it up to the robot controller?
  2. How to read the outputs: Now supposing that we have managed to hook it up, what are the outputs of the green and white wires? On the specs, one wire is labeled as "N.O." and the other "N.C.", which we think means "normally open" and "normally closed." I would assume that one wire returns a 1 if the receiver has a signal, 0 if it doesn't, and vice versa for the other wire, but am not certain. We can't really test this ourselves without knowing the answers to question 1, "how to hook it up."
If anyone knows the answers or learns how to interface with the IR sensors through something I may have overlooked, please let me know. Thanks!
Umm, did you read the spec sheet? That pretty much covers it.

To get you started:
There is a transmitter and a receiver. The transmitter just gets DC power (anything between 11 and 28 volts), red is +

The receiver also gets 11-28 volts, brown is + and blue is -.

The output is definitely digital - on or off. It may or may not necessarily have the correct voltage level to be interfaced to the "Digital" inputs of the RC - look up the specs for the RC digital inputs!!

The way the output works is this: One "output" wire is green (normally open) and the other is white (normally closed). That means that with no object in the way, the "switch" in the unit is either open, or closed. (If it is closed, current flows).

Depending on whether you have a PNP or NPN output (look in the spec sheet for the model number) you hook the 'other' output wire to either + or -, and the unit switch inside connects to the other power leg.

For example, if you have PNP, and want N.O., one side goes to + the other to Green, when something is in the beam, the green wire grounds and current will flow.

Does that help?

Don
__________________

I am N2IRZ - What's your callsign?