Go to Post We don't just build robots. We build people. - Koko Ed [more]
Home
Go Back   Chief Delphi > Technical > Programming
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-03-2004, 21:37
FadyS.'s Avatar
FadyS. FadyS. is offline
Registered User
AKA: Fady Samuel
#1246 (Agincourt Robotics)
Team Role: Programmer
 
Join Date: Sep 2003
Location: Toronto
Posts: 35
FadyS. is on a distinguished road
Getting Fancy with Sensors

Hi, we're a rookie team and we're not done autonomous mode, but since we have over 3 weeks until our regional, I'm taking the time to work on autonomous mode. Now, I don't want to go overboard with sensors for autonomous but I want to know what kind of stuff is available at a local Radioshack that may be useful to autonomous. I already picked up a few switches and a potentiometer. I may pick up another potentiometer though. Also, I might pick up a few infrared phototransistors. Are these analog or digial sensors? Any other neat gizmos to pick up? I've got to admit, I love playing around with all these sensors. Hehe, "Captain, sensors are picking up a spatial anomoly! We should shut down the warp drive!!!" lol.
  #2   Spotlight this post!  
Unread 06-03-2004, 00:15
ejthe4th ejthe4th is offline
Active User
AKA: EJ Meyer
#0240 (Mach Vee)
Team Role: Engineer
 
Join Date: Jan 2003
Location: Monroe, MI
Posts: 20
ejthe4th is on a distinguished road
Re: Getting Fancy with Sensors

our team is using a whole load of sensors for auton_mode =1. one of the first sensors we used is the banner light sensors. they came standard in the kit, they give off a digital signal.

their wiring schematic is on page 18 of section 5 "The Robot". the Blue wire goes to ground, Brown goes to +12V (from a 20Amp breaker on the fuse bus, it does not connect to the +5V on the robot controller). the black and white wires are the signal wires, one is NC (normally closed) and the other is NO (normally open) there is a schematic on the side of the sensor that helps explain it. you should only need to hook up one of the black or white wires, not both (it's your pick). these sensors can tell the difference between light and dark, it will either "see" a light or it won't, nothing between (good for line following to finding a line)

have you tried using the current sensors that are provided in the kit? we've had quite a bit of "fun" testing these...we wanted to know how many amps the motors could pull, so we put the 'bot agains the wall, i climbed on and we went "full speed ahead", the motors got really hot, the wheels slowly spun, burning 2 tread marks into our school's carpeting, and pulling 40 amps per motor...we only tested this once.

if you need any help with these i'll try and help, just e-mail me
__________________
Mach Vee Team 240
2004 GLR Semi-Finalist
Captian
Programmer
Electrician
Fabricator
Designer

Last edited by ejthe4th : 06-03-2004 at 00:17.
  #3   Spotlight this post!  
Unread 06-03-2004, 00:31
JamesWu JamesWu is offline
Registered User
#0957 (WATSON)
 
Join Date: Nov 2003
Location: Albany
Posts: 39
JamesWu has a little shameless behaviour in the past
Re: Getting Fancy with Sensors

hahaha... I wish I could have seen it. A Robotics dude climbing onto his poor robot and getting ready to hangon for a wild ride but instead recieving some burnout.
__________________
I want to start a revolution. Days and Nights were spent wrestling with the impossiblities of typing a word with only one finger. That word is lol, So....use laf.
  #4   Spotlight this post!  
Unread 06-03-2004, 10:19
KenWittlief KenWittlief is offline
.
no team
Team Role: Engineer
 
Join Date: Mar 2003
Location: Rochester, NY
Posts: 4,213
KenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond repute
Re: Getting Fancy with Sensors

Personally I think the most usefull one you can get is the gyro sensor, it will allowyou to measure if your bot is turning, or how much its turning, or how far its actully turned

I cant imagine doing auton mode without it - most bots, if you turn the motors on, they drift to one side or another, and when you turn its hard to dead recon to a new heading

the gyro resolves all those problems with excellent accuracy

only thing is, its not a simple device to use - but if you have 3 weeks you can get one and play with it on your EDU bot - the best source I found is Avent (electronics distributor) - they had them in stock last time I checked for $50

search on 'gyro' or 'yaw rate' here in CD and you will find several threads on the subject, and how to use them - I think the part number (top of my head) is ADRSX150EB- something like that - its in the other threads.
  #5   Spotlight this post!  
Unread 06-03-2004, 13:10
deltacoder1020's Avatar
deltacoder1020 deltacoder1020 is offline
Computer Guy
AKA: Dav
#1020 (The Indiana Prank Monkeys)
Team Role: Programmer
 
Join Date: Jan 2004
Location: Muncie, Indiana
Posts: 340
deltacoder1020 has a spectacular aura aboutdeltacoder1020 has a spectacular aura about
Send a message via AIM to deltacoder1020
Re: Getting Fancy with Sensors

a small note, apparently the banner sensors distributed in this year's KOP do not have the schematic on the side... last year's did.
__________________
Team 1020, the Indiana Prank Monkeys (www.team1020.org)
  #6   Spotlight this post!  
Unread 06-03-2004, 20:13
Astronouth7303's Avatar
Astronouth7303 Astronouth7303 is offline
Why did I come back?
AKA: Jamie Bliss
FRC #4967 (That ONE Team)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Grand Rapids, MI
Posts: 2,071
Astronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud of
Re: Getting Fancy with Sensors

Yes, And this year's aparently have a better range (Ask Biff).

You pulled only 40 amps? We manged to pull 140.
  #7   Spotlight this post!  
Unread 06-03-2004, 21:44
FadyS.'s Avatar
FadyS. FadyS. is offline
Registered User
AKA: Fady Samuel
#1246 (Agincourt Robotics)
Team Role: Programmer
 
Join Date: Sep 2003
Location: Toronto
Posts: 35
FadyS. is on a distinguished road
Re: Getting Fancy with Sensors

Quote:
Originally Posted by Astronouth7303
Yes, And this year's aparently have a better range (Ask Biff).

You pulled only 40 amps? We manged to pull 140.
Also, anyone know where we can get encoders? What kind of stores do we check at. Also, we do we get extra infrared sensors from? The infrared phototransistors have terrible range.
  #8   Spotlight this post!  
Unread 06-03-2004, 22:16
deltacoder1020's Avatar
deltacoder1020 deltacoder1020 is offline
Computer Guy
AKA: Dav
#1020 (The Indiana Prank Monkeys)
Team Role: Programmer
 
Join Date: Jan 2004
Location: Muncie, Indiana
Posts: 340
deltacoder1020 has a spectacular aura aboutdeltacoder1020 has a spectacular aura about
Send a message via AIM to deltacoder1020
Re: Getting Fancy with Sensors

Digi-Key sells encoders, you could check with them (chances are Radioshack doesn't have them in stock )
__________________
Team 1020, the Indiana Prank Monkeys (www.team1020.org)
  #9   Spotlight this post!  
Unread 07-03-2004, 00:44
jamapor jamapor is offline
Registered User
AKA: Jake
#0190 (Gompei and the Herd)
Team Role: Human Player
 
Join Date: Feb 2004
Location: Massachusetts
Posts: 47
jamapor is on a distinguished road
Send a message via AIM to jamapor
Re: Getting Fancy with Sensors

We are using an extreme amount of sensors. We have ultra-sonic sensors in the front bumper of our robot to detect distance to the stairs. Then, we have two gyro's to detect X motion as well as Z direction motion. Also, we have light sensor, wheel-encoders to count wheel rotations to sense distance traveled. We have numerous potentiometers and countless limit switches. (over 15). Sensors can be very usefull this year.
  #10   Spotlight this post!  
Unread 07-03-2004, 12:27
Ryan M. Ryan M. is offline
Programming User
FRC #1317 (Digital Fusion)
Team Role: Programmer
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Ohio
Posts: 1,508
Ryan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud of
Re: Getting Fancy with Sensors

Our robot is really fairly light on the sensor side. We have some to prevent damaging certain components, but the only other things that we have are two encoders on the wheels. I wish we had more...

I hope that next year they'll let me use the gyros. They'll be much more fun than counting ticks on a stupid encoder.
__________________

  #11   Spotlight this post!  
Unread 07-03-2004, 16:16
Astronouth7303's Avatar
Astronouth7303 Astronouth7303 is offline
Why did I come back?
AKA: Jamie Bliss
FRC #4967 (That ONE Team)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Grand Rapids, MI
Posts: 2,071
Astronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud of
Re: Getting Fancy with Sensors

ick up jaw: You have space left for anything? I'm not sure the RC has that many ports on it!
  #12   Spotlight this post!  
Unread 07-03-2004, 17:13
Random Dude Random Dude is offline
Oregon State Head FTA
AKA: Chris
no team (Oregon Robotics Tournament & Outreach Program)
 
Join Date: Aug 2002
Rookie Year: 1998
Location: Oregon
Posts: 142
Random Dude will become famous soon enoughRandom Dude will become famous soon enough
Re: Getting Fancy with Sensors

Quote:
Originally Posted by Astronouth7303
ick up jaw: You have space left for anything? I'm not sure the RC has that many ports on it!

Well, they could be using an external micro for the sensor IO. Thats how I'd do it atleast.. collect and process all the data externally, and just ship it back in a nice neat format to the RC.

That way you don't need to waste cycles on the RC integrating the gyros, and counting the encoders, etc...
  #13   Spotlight this post!  
Unread 07-03-2004, 17:21
KevinB's Avatar
KevinB KevinB is offline
Registered User
AKA: Alum
no team
Team Role: Alumni
 
Join Date: Dec 2002
Rookie Year: 2001
Location: AL
Posts: 188
KevinB will become famous soon enoughKevinB will become famous soon enough
Send a message via ICQ to KevinB
Re: Getting Fancy with Sensors

Quote:
Originally Posted by Texan
I hope that next year they'll let me use the gyros. They'll be much more fun than counting ticks on a stupid encoder.
We're having great success with "counting ticks on a stupid encoder".
  #14   Spotlight this post!  
Unread 07-03-2004, 17:25
jacob_dilles's Avatar
jacob_dilles jacob_dilles is offline
Registered User
AKA: theshadow
FRC #0620 (WarBots)
Team Role: Mentor
 
Join Date: Jan 2003
Rookie Year: 2003
Location: Vienna, VA
Posts: 245
jacob_dilles will become famous soon enough
Send a message via AIM to jacob_dilles
Re: Getting Fancy with Sensors

Quote:
Originally Posted by KevinB
We're having great success with "counting ticks on a stupid encoder".
not only did we have great sucess, but we can control turning, distance and speed down to 1/4", and its shorter, faster, and simpler then writing a gyrp algortiom. 2 intrupts, 2 banner sesors, 2 wheels, 2 variables. lol thats it.

Quote:
Originally Posted by Random Dude
Well, they could be using an external micro for the sensor IO. Thats how I'd do it atleast.. collect and process all the data externally, and just ship it back in a nice neat format to the RC.
That way you don't need to waste cycles on the RC integrating the gyros, and counting the encoders, etc...
for next year im working right now on a pic16F84 in basic (yea i know; shush up) to integrate the gyros (2x) 2 banner sensors (for the wheels) and a compass. it will output the data in rs232 format as (speed)-(direction) every time its polled, and a (time)-(distance) may get built it soon. i might might write a white paper on it if i can pass history

edit: once agein, my education is interfering with my schooling
__________________
--------------------------
"You're not a real programmer until all your sentences end with semicolons;"

Last edited by jacob_dilles : 07-03-2004 at 17:31.
  #15   Spotlight this post!  
Unread 07-03-2004, 21:21
Ryan M. Ryan M. is offline
Programming User
FRC #1317 (Digital Fusion)
Team Role: Programmer
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Ohio
Posts: 1,508
Ryan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud of
Re: Getting Fancy with Sensors

Yeah, it works fine, I just don't like them because of the relative unreliabilty of them. For instance, it's impossible for us to autonomously make it up onto the platform and turn toward the bar because we bounce some. At least with gyros, they don't mess up if a wheel slips or you get hit from the side or something like that.

Anyway, encoders do work.
__________________

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
Why not analog sensors?? gnormhurst Programming 16 07-03-2004 16:14
Interrupts and rotation sensors kor Programming 3 12-02-2004 11:05
wiring diagram for light sensors??? pagemauck Control System 1 21-01-2004 16:32
what type of sensors are good and convenient magical hands Programming 7 04-01-2004 23:04
Q&A Discuss: optical sensors CD47-Bot Extra Discussion 0 15-02-2003 22:58


All times are GMT -5. The time now is 21:52.

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