Go to Post You can sometimes step outside the box if you have properly thought through the question. - Jim Zondag [more]
Home
Go Back   Chief Delphi > Technical > Electrical
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Old Yesterday, 01:08
FRC Team CC FRC Team CC is offline
Registered User
FRC #6560 (Charging Champions)
 
Join Date: Sep 2014
Rookie Year: 2012
Location: Southern California
Posts: 102
FRC Team CC is an unknown quantity at this point
Wiring the 2017 Sensors

Hello,

We are a rookie team, and have been trying to configure the sensors available from FIRST Choice, namely the Photoelectric and Ultrasonic Proximity Sensors, both by Rockwell Automation. We have not seen any documentation for connecting these to the RoboRIO, as they are new for the season. Although FIRST released the 2017 hardware overview/wiring overview today, there is no mention in either of wiring sensors.

We are guessing to use attach them to PWM cables, but the sensors' cables have 4 leads (2 power, 2 data), yet the PWM cables have 3, and the RoboRIO only allows for 3-pinned connections?

We are guessing FIRST will update this before kickoff, but have any teams successfully managed to do this? If so, how?

Best,

Charging Champions
FRC Team 6560
www.chargingchampions.org
Reply With Quote
  #2   Spotlight this post!  
Old Yesterday, 01:39
wireties's Avatar
wireties wireties is offline
Principal Engineer
AKA: Keith Buchanan
FRC #1296 (Full Metal Jackets)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2004
Location: Rockwall, TX
Posts: 1,168
wireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond repute
Send a message via AIM to wireties
Re: Wiring the 2017 Sensors

You need only use one of the data lines on the optical sensors. And one of the 4 lines to/from the ultrasonic sensor is an optional "teach" signal which you can wire to a second channel on the roboRio or leave disconnected.

The product pages on andymark.com have links to the datasheets. PM me if you need more specific information.

HTH
__________________
Fast, cheap or working - pick any two!
Reply With Quote
  #3   Spotlight this post!  
Old Yesterday, 01:40
Bkeeneykid's Avatar
Bkeeneykid Bkeeneykid is offline
#wheatcoastneatcoast
AKA: Devin Keeney
FRC #1982 (Cougar Robotics); Season Long Fantasy FIRST (F3)
Team Role: Student
 
Join Date: Feb 2015
Rookie Year: 2015
Location: Lenexa, Kansas
Posts: 273
Bkeeneykid has much to be proud ofBkeeneykid has much to be proud ofBkeeneykid has much to be proud ofBkeeneykid has much to be proud ofBkeeneykid has much to be proud ofBkeeneykid has much to be proud ofBkeeneykid has much to be proud ofBkeeneykid has much to be proud of
Re: Wiring the 2017 Sensors

I doubt FIRST will release any documentation. They usually don't for specific sensors, even if included in the KoP (for example, encoders). For the ultrasonic sensor, you only need to use three out of the four wires. The wiring diagram can be found here: http://www.ab.com/en/epub/catalogs/1...-Diagrams.html

The Brown wire connects to your positive voltage, the Blue to your negative. You might be able to get away with plugging it into the +5v of the RIO, but you'll probably want to get the +12v off of the VRM for it to be stable. Then the black wire is your analog signal wire to be used in the analog input on the RIO. Oddly enough, I can't find a data sheet or instruction sheet anywhere, But the white cable is your remote teach cable. I would try and put things at different distances while pressing this button to try and see it. You results may vary.

The Photoelectric sensor is very similar. You can find the relevant information here: http://www.ab.com/en/epub/catalogs/1...205/print.html

Brown is your Positive voltage, Blue is your negative, and black is your analog output (going to the RIO's analog input). The white seems to be relatively necessary as it serves the same purpose as the push button on the sensor itself. All you'll need to do for both of these is chop of the end of a female PWM cable, leaving some space, solder in your wires according to the wiring diagrams above, and then heat shrink it all or wrap it in electrical tape. It's certainly not the prettiest way of doing it, but most teams don't have the time to crimp their own PWM cables.

Hope this helps!
__________________

F4 Network Website Designer

2010-2012: A Whole Buncha FLL Teams; Team Spirit, Gracious Professionalism Award winner
2015-Current: FRC 1982, Captain, Electrical Lead
Beginning FIRST Volunteer

Moderator on the FIRSTwiki
Reply With Quote
  #4   Spotlight this post!  
Old Yesterday, 11:06
weaversam8 weaversam8 is offline
Team Captain
AKA: Sam Weaver
FRC #4534 (Wired Wizards)
Team Role: Leadership
 
Join Date: Jan 2014
Rookie Year: 2014
Location: Wilmington, North Carolina
Posts: 131
weaversam8 is a splendid one to beholdweaversam8 is a splendid one to beholdweaversam8 is a splendid one to beholdweaversam8 is a splendid one to beholdweaversam8 is a splendid one to beholdweaversam8 is a splendid one to behold
Re: Wiring the 2017 Sensors

Quote:
Originally Posted by FRC Team CC View Post
Although FIRST released the 2017 hardware overview/wiring overview today
Could you link what you're referring to? I was looking on the FIRST website and couldn't find anything.
__________________
Wouldn't it be better if we just ended all of our sentences like programmers;

Reply With Quote
  #5   Spotlight this post!  
Old Yesterday, 11:10
PopeRyanI PopeRyanI is offline
Registered User
FRC #2410 (Metal Mustangs Robotics)
Team Role: Programmer
 
Join Date: Dec 2014
Rookie Year: 2012
Location: Kansas
Posts: 18
PopeRyanI is an unknown quantity at this point
Re: Wiring the 2017 Sensors

Quote:
Originally Posted by weaversam8 View Post
Could you link what you're referring to? I was looking on the FIRST website and couldn't find anything.
I believe this is what they're referring to:
https://wpilib.screenstepslive.com/s...control-system
Reply With Quote
  #6   Spotlight this post!  
Old Yesterday, 11:10
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,683
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Wiring the 2017 Sensors

Quote:
Originally Posted by weaversam8 View Post
Could you link what you're referring to? I was looking on the FIRST website and couldn't find anything.
Probably just that the 2017 control system screensteps is out.
e.g., https://wpilib.screenstepslive.com/s...control-system
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #7   Spotlight this post!  
Old Yesterday, 11:16
weaversam8 weaversam8 is offline
Team Captain
AKA: Sam Weaver
FRC #4534 (Wired Wizards)
Team Role: Leadership
 
Join Date: Jan 2014
Rookie Year: 2014
Location: Wilmington, North Carolina
Posts: 131
weaversam8 is a splendid one to beholdweaversam8 is a splendid one to beholdweaversam8 is a splendid one to beholdweaversam8 is a splendid one to beholdweaversam8 is a splendid one to beholdweaversam8 is a splendid one to behold
Re: Wiring the 2017 Sensors

Thanks!
__________________
Wouldn't it be better if we just ended all of our sentences like programmers;

Reply With Quote
  #8   Spotlight this post!  
Old Yesterday, 12:04
tr6scott's Avatar
tr6scott tr6scott is offline
Um, I smell Motor!
AKA: Scott McBride
FRC #2137 (TORC)
Team Role: Mentor
 
Join Date: Dec 2007
Rookie Year: 2005
Location: Oxford, MI
Posts: 505
tr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond repute
Re: Wiring the 2017 Sensors

FYI, you may want to take a quick read of this old thread when the roboRIO came out. There are some part numbers in there for working photoeyes. Not all photoeyes will work without an external pullup resistor. Review the thread for more info.

You are looking for a 10-30vdc NPN photoeye, seeing you said AB, this part number was tested to work. 42CA-P2MNB-A2

We typically purchase the units with an integral cable, we also end up with a terminal strip by the roborio DIO side, to feed 12v power to the sensors from the VRM, and the signal wire, (typically white or black) the the signal socket of the female pwm connector to get plugged into the roborio.

https://www.chiefdelphi.com/forums/s...d.php?t=133484
__________________
The sooner we get behind schedule, the more time we have to catch up.


Last edited by tr6scott : Yesterday at 12:08.
Reply With Quote
  #9   Spotlight this post!  
Unread Yesterday, 19:48
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,542
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: Wiring the 2017 Sensors

Quote:
Originally Posted by Bkeeneykid View Post
For the ultrasonic sensor, you only need to use three out of the four wires. The wiring diagram can be found here: http://www.ab.com/en/epub/catalogs/1...-Diagrams.html

The Brown wire connects to your positive voltage, the Blue to your negative. You might be able to get away with plugging it into the +5v of the RIO, but you'll probably want to get the +12v off of the VRM for it to be stable. Then the black wire is your analog signal wire to be used in the analog input on the RIO. Oddly enough, I can't find a data sheet or instruction sheet anywhere, But the white cable is your remote teach cable. I would try and put things at different distances while pressing this button to try and see it. You results may vary.
Make sure to pay attention to this note on the data sheet
Quote:
Analog Voltage Models are 15...30V DC
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 00:59.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi