![]() |
How should we wire the photoswitches?
Hi,
we just got our 2011 kit, and in that kit were three Photoswitch sensors. None of us has ever used this kind of sensors so I'd really appreciate if you could explain how it works, how we should wire it and where to. Thanks. |
Re: How should we wire the photoswitchs?
Itamar,
There is a section on the First Website under Competition Docs that explains the sensors. I believe it is under the KOP section. I just tried to log on but the site looks a little busy. |
Re: How should we wire the photoswitchs?
2 Attachment(s)
Here is what I had downloaded from the FIRST website. Hope it helps. They are photoswitches and will give you a digital response. Follow the wiring diagrams carefully!
|
Re: How should we wire the photoswitchs?
http://usfirst.org/roboticsprograms/....aspx?id=18530
This page contains, among other things, links to the datasheets for a lot of the KOP items. I believe the sensors your referring to are the "Rockwell Automation Line Sensors": http://www.ab.com/sensors/photoelect...eral/42ef.html The links on the right side of the page to the catalog and installation PDF's are probably the most help... although I don't know the specific part we got in the KoP, and the checklist doesn't have a part number! Without those, I can't give too much useful information... although your questions are exactly those I know my students will be asking me! |
Re: How should we wire the photoswitchs?
The Line sensors given to us in the KOP are model: 42EF-D1MNAK-a
|
Re: How should we wire the photoswitchs?
ok, so we've looked at the wiring diagrams, and I have to say, it's not helping us very much. Under the 10.8 - 30V DC Sensors, there are 6 different configurations. Does the 'Load' mean that we have to use resistors in the circuit? I'm gonna display my ignorance here - how do we wire them to the robot? Is the digital sidecar involved here?
|
Re: How should we wire the photoswitchs?
I don't have the datasheet handy, so I'm going from memory.
DO is the "Dark Output". It is active (i.e. connected to ground) when the sensor is looking at "dark", and inactive (i.e. allowed to float) when the sensor sees "light". LO is the "Light Output". It is active when the sensor is looking at "light", and inactive when the sensor sees "dark". Connect ground to ground, power to +12 volts, and either LO or DO to a digital input pin on the Digital Sidecar. The input pin will read a logic 1 when the signal is inactive, and a logic 0 when it is active. |
Re: How should we wire the photoswitchs?
We need to put a resistor in series, don't we? The 9403 can withstand a 30v signal, but use at this voltage will degrade the life of the module.
The standard voltage it specs is -0.5v to 5.25v. If possible, I'd prefer to use an inline resistor, instead of a voltage divider. At 250 micro-amps, it would take a 34k resistor to drop the voltage from 12v to about 5v. |
Re: How should we wire the photoswitchs?
Quote:
|
Re: How should we wire the photoswitchs?
Oh, okay. That's why they gave us NPN then. Cool!
|
Re: How should we wire the photoswitchs?
Quote:
|
Re: How should we wire the photoswitchs?
Lets be very careful with those 'line sensors' and the electrical hookup.
Some facts that we do know. The sensor will work just fine on 12 volts DC which generally means at the output (ie: LO,DO ) MAY have a voltage range from 0VDC to 12VDC. The Digital sidecar does have a 'general purpose' I/O lines which opearte in the 0VDC to 5VDC range!!!!! That means if the sensor sources a 12VDC level you can kiss your digital sidecar goodbye as the blue smoke comes out. NO, a series resistor will only limit the current, not the voltage and either or both will kill a digital sidecar. To be on the safe side I would use the analog sidecar to input the sensors. I have not looked at the sensors tech sheets yet but will sure err on the side of caution. Of course one way to find out is to look at the 'sample code' and see where the information for the sensors is read. |
Re: How should we wire the photoswitchs?
Quote:
Quote:
Quote:
|
Re: How should we wire the photoswitchs?
The light sensor outputs will provide a closure to power common or will remain open circuit. The digital side car digital inputs have pullup resistors to +5 volts. So when the sensor is open, the output will be pulled up to 5 volts through the DSC and when the sensor is closed, the output will be pulled down zero volts through the NPN transistor in the sensor. No other components are needed. The 12 volt input is required to power the emitter and other internal electronics.
|
Re: How should we wire the photoswitchs?
The original question is quite direct, but to rephrase it:
What should be connected to: 1. White 2. Black 3. Blue 4. Brown. We have read all of the Allen Bradley docs. They seem to show that once the two bleeder resistors are in place that the unit has two leads left. Since one is supply at 11-30 volts DC and the other must be common, there are no leads left to serve as the output. Where and how does the output signal get connected to the CRIO I/O? |
| All times are GMT -5. The time now is 12:15. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi