Go to Post FIRST games are complex and rely on design and intellectual capability much more than the average sport. - Chris is me [more]
Home
Go Back   Chief Delphi > Technical > Technical Discussion
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 05-01-2003, 01:33
Team852 Team852 is offline
Registered User
AKA: Daniel
#0852 (ARC)
 
Join Date: Jan 2003
Location: Diablo
Posts: 9
Team852 is an unknown quantity at this point
Send a message via AIM to Team852
Fun with sensors

Hi, I was wondering if anyone knew where the explanation is of how to connect the sensors to the robot controller. If you know where that documentation is, or you can tell me that would be greatly appreciated.

Thank you,
Daniel (Team 852)
  #2   Spotlight this post!  
Unread 05-01-2003, 01:35
rbayer's Avatar Unsung FIRST Hero
rbayer rbayer is offline
Blood, Sweat, and Code
no team (Teamless Orphan)
 
Join Date: Mar 2002
Rookie Year: 2001
Location: Minnetonka, MN
Posts: 1,087
rbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of light
Send a message via AIM to rbayer
All documentation for the control system is here:

http://www.innovationfirst.com/FIRST...umentation.htm

You want to the "Full-Size Robot Controller Reference Guide" for wiring, etc.
__________________
New C-based RoboEmu2 (code simulator) available at: http://www.robbayer.com/software.php
  #3   Spotlight this post!  
Unread 05-01-2003, 01:42
Team852 Team852 is offline
Registered User
AKA: Daniel
#0852 (ARC)
 
Join Date: Jan 2003
Location: Diablo
Posts: 9
Team852 is an unknown quantity at this point
Send a message via AIM to Team852
Yeah, tahkn you, but does it also explain how to plug in the ir sensors into the rc. Because there are 4 wires, and for normal analouge sensors, you only need two. Will it explain certain things like ir sensors, or will it even tell you the way to plug in a 4 wire sensor.
Thanks again,
Daniel (852)
  #4   Spotlight this post!  
Unread 05-01-2003, 01:59
FotoPlasma FotoPlasma is offline
\: |
no team
 
Join Date: Jul 2001
Rookie Year: 2001
Location: San Jose
Posts: 1,900
FotoPlasma has a reputation beyond reputeFotoPlasma has a reputation beyond reputeFotoPlasma has a reputation beyond reputeFotoPlasma has a reputation beyond reputeFotoPlasma has a reputation beyond reputeFotoPlasma has a reputation beyond reputeFotoPlasma has a reputation beyond reputeFotoPlasma has a reputation beyond reputeFotoPlasma has a reputation beyond reputeFotoPlasma has a reputation beyond reputeFotoPlasma has a reputation beyond repute
Send a message via AIM to FotoPlasma
The pinout is on the side of the sensor.

http://www.chiefdelphi.com/forums/sh...tical+ sensor
__________________
I played hacky sack with Andy Baker.

2001-2004: Team 258, The Sea Dawgs
2005: Team 1693, The Robo Lobos
  #5   Spotlight this post!  
Unread 05-01-2003, 02:04
rbayer's Avatar Unsung FIRST Hero
rbayer rbayer is offline
Blood, Sweat, and Code
no team (Teamless Orphan)
 
Join Date: Mar 2002
Rookie Year: 2001
Location: Minnetonka, MN
Posts: 1,087
rbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of light
Send a message via AIM to rbayer
Ah, I see your problem. Only three of the wires are actually used, but you have to decide which three. Here's a quick run-down of all four wires:

Brown --> +12V (from main electrical system)
Blue --> Ground on RC switch inputs
Black --> Switch input
White --> Switch input

Now, you're probably wondering why both Black and White go to sensor input, and justly so. Pick one or the other, and only use that one. But be consistent--if you decide to use the white wire, use the white on ALL optical sensors.

The thing is, the black and white wires carry the same data, just inverted. For example, if the sensor "sees" the target, the white wire will read "1" in the software, but the Black will read "0". If the target disappears, white will read "0" and black will read "1". It may be the other way around, but it really doesn't matter as long as you are consistent.

One possible use for using both: safety. If you use both wires, the corresponding values in PBASIC should ALWAYS be opposite. If for some reason they aren't, you know an error occurred with the sensor. This also you to distinguish between a sensor that has come unplugged and one that just doesn't see anything.

--Rob

P.S. Check out page 13 of the Robot manual. It's got all the info you need for sensor pinouts.
__________________
New C-based RoboEmu2 (code simulator) available at: http://www.robbayer.com/software.php
  #6   Spotlight this post!  
Unread 05-01-2003, 12:32
seanwitte seanwitte is offline
Registered User
None #0116
Team Role: Engineer
 
Join Date: Nov 2002
Location: Herndon, VA
Posts: 378
seanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant future
Send a message via AIM to seanwitte
binary inputs

the responses explained very well how they work, just make sure you use BINARY inputs. Those are the equivalent of a switch, not an analog input.
  #7   Spotlight this post!  
Unread 06-01-2003, 00:01
Dave Flowerday Dave Flowerday is offline
Software Engineer
VRC #0111 (Wildstang)
Team Role: Engineer
 
Join Date: Feb 2002
Rookie Year: 1995
Location: North Barrington, IL
Posts: 1,366
Dave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond repute
Quote:
Originally posted by rbayer
One possible use for using both: safety. If you use both wires, the corresponding values in PBASIC should ALWAYS be opposite. If for some reason they aren't, you know an error occurred with the sensor. This also you to distinguish between a sensor that has come unplugged and one that just doesn't see anything.
Unfortunately this isn't necessarily true. We just verified earlier this week that all digital inputs are not sampled by the RC at the same time, so if you connect the sensor up like this it is possible that you will read both 1s or both 0s.

What we did to check this is to wire 8 digital inputs together to a momentary switch. We then modified our 2002 software to output the values of the switches using debug. Just manually flicking the switch by hand rapidly will result in one sample every few seconds that isn't 0xFF or 0x00, but is a random bit pattern.
  #8   Spotlight this post!  
Unread 06-01-2003, 00:07
rbayer's Avatar Unsung FIRST Hero
rbayer rbayer is offline
Blood, Sweat, and Code
no team (Teamless Orphan)
 
Join Date: Mar 2002
Rookie Year: 2001
Location: Minnetonka, MN
Posts: 1,087
rbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of light
Send a message via AIM to rbayer
Quote:
Originally posted by Dave Flowerday
Unfortunately this isn't necessarily true. We just verified earlier this week that all digital inputs are not sampled by the RC at the same time, so if you connect the sensor up like this it is possible that you will read both 1s or both 0s.

What we did to check this is to wire 8 digital inputs together to a momentary switch. We then modified our 2002 software to output the values of the switches using debug. Just manually flicking the switch by hand rapidly will result in one sample every few seconds that isn't 0xFF or 0x00, but is a random bit pattern.
Interesting. I guess this means there is no point to using both. Oh well, that just means more available digital inputs!
__________________
New C-based RoboEmu2 (code simulator) available at: http://www.robbayer.com/software.php
Closed Thread


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Robotics Tournament at Sensors Expo & Conference Kyle Fenton Off-Season Events 4 04-05-2003 12:15
Are you still having fun? Madison General Forum 29 15-02-2003 22:24
anything else fun to do in FL? archiver 2001 14 24-06-2002 02:08
Just for fun. archiver 2000 7 24-06-2002 00:16
fun fun fun.... Brian Savitt Regional Competitions 0 31-05-2001 20:59


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

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