Go to Post Where's the easy button on this thing... - Akash Rastogi [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 19-01-2004, 18:34
Matthew_H's Avatar
Matthew_H Matthew_H is offline
Ubergeek
#1028 (Ubergeeks)
Team Role: Mentor
 
Join Date: Feb 2003
Rookie Year: 2001
Location: Huntsville,AL
Posts: 105
Matthew_H will become famous soon enough
Send a message via AIM to Matthew_H Send a message via MSN to Matthew_H
How do we Test our Beacon and Sensor

We have completed the beacon and the sensor but I am not sure how to test and see if the two are correctly talking. We have uploaded the code into both the Edu controller and the ifi controller. What should the results be?


Matthew

Ubergeeks
  #2   Spotlight this post!  
Unread 19-01-2004, 19:23
Kevin Watson's Avatar
Kevin Watson Kevin Watson is offline
La Caņada High School
FRC #2429
Team Role: Mentor
 
Join Date: Jan 2002
Rookie Year: 2001
Location: La Caņada, California
Posts: 1,335
Kevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond repute
Re: How do we Test our Beacon and Sensor

Quote:
Originally Posted by Matthew_H
We have completed the beacon and the sensor but I am not sure how to test and see if the two are correctly talking. We have uploaded the code into both the Edu controller and the ifi controller. What should the results be?


Matthew

Ubergeeks
Try uploading the file in this .zip file to your robot controller. Once it's running, you should see a bunch of data dumped to the console window every second or so. This is the raw data in the sensor_stats arrays that you'll find documented in receiver.c/.h. As I haven't had a chance to test this code, please let me know whether it works or not. It would be most helpful if someone with a known good beacon and sensor(s) could try it out and report back.

-Kevin
__________________
Kevin Watson
Engineer at stealth-mode startup
http://kevin.org
  #3   Spotlight this post!  
Unread 19-01-2004, 19:58
Matthew_H's Avatar
Matthew_H Matthew_H is offline
Ubergeek
#1028 (Ubergeeks)
Team Role: Mentor
 
Join Date: Feb 2003
Rookie Year: 2001
Location: Huntsville,AL
Posts: 105
Matthew_H will become famous soon enough
Send a message via AIM to Matthew_H Send a message via MSN to Matthew_H
Re: How do we Test our Beacon and Sensor

Quote:
Originally Posted by Kevin Watson
Try uploading the file in this .zip file to your robot controller. Once it's running, you should see a bunch of data dumped to the console window every second or so. This is the raw data in the sensor_stats arrays that you'll find documented in receiver.c/.h. As I haven't had a chance to test this code, please let me know whether it works or not. It would be most helpful if someone with a known good beacon and sensor(s) could try it out and report back.

-Kevin

Thanks, I will try this tommorrow when I get back in the shop.


Matthew
  #4   Spotlight this post!  
Unread 24-01-2004, 20:37
Lead Tyrannosau Lead Tyrannosau is offline
Lead Tyrannosaurus Trainer
#1272 (Tyrannikal Mechanikal)
Team Role: Coach
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Bloomington, IN
Posts: 4
Lead Tyrannosau is an unknown quantity at this point
Re: How do we Test our Beacon and Sensor

You can test your IR beacon by looking at it through the viewing screen of a digital camera. The beacon will show up as white light. You may have to block or turn off the visible light to see it.
  #5   Spotlight this post!  
Unread 07-02-2004, 12:58
starfyter2 starfyter2 is offline
Registered User
#1348
 
Join Date: Feb 2004
Location: Denver - JFK HS
Posts: 2
starfyter2 is an unknown quantity at this point
Question Re: How do we Test our Beacon and Sensor

We are also having problems testing our beacons. I also had the idea to try using a camcorder on night vision mode and a night vision monocular to see the IR light emitted from the beacon, but no luck. Our team was a bit confused from the earlier discussion about how the wiring diagram may have had a bad pinout for the FET. Our IR beacons are wired like shown in the wiring diagram in this document http://kevin.org/frc/Infrared_System_rev012704.pdf.

We tried to power these for testing with a power supply in the lab. We put ground to black (GND) and white (-) pins on the 3-pin connector, and aprox. 6 volts to the red (+) pin. Does this sound like it should work to anyone else? It looks as though we should eventually be connecting the beacons to the EDU RC pwm outputs? Is this true?
  #6   Spotlight this post!  
Unread 07-02-2004, 13:10
Kevin Watson's Avatar
Kevin Watson Kevin Watson is offline
La Caņada High School
FRC #2429
Team Role: Mentor
 
Join Date: Jan 2002
Rookie Year: 2001
Location: La Caņada, California
Posts: 1,335
Kevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond repute
Re: How do we Test our Beacon and Sensor

Quote:
Originally Posted by starfyter2
We are also having problems testing our beacons. I also had the idea to try using a camcorder on night vision mode and a night vision monocular to see the IR light emitted from the beacon, but no luck. Our team was a bit confused from the earlier discussion about how the wiring diagram may have had a bad pinout for the FET. Our IR beacons are wired like shown in the wiring diagram in this document http://kevin.org/frc/Infrared_System_rev012704.pdf.

We tried to power these for testing with a power supply in the lab. We put ground to black (GND) and white (-) pins on the 3-pin connector, and aprox. 6 volts to the red (+) pin. Does this sound like it should work to anyone else? It looks as though we should eventually be connecting the beacons to the EDU RC pwm outputs? Is this true?
Tie the white lead to the red (not black) lead and try it. This should be done with a +5 volt supply. Also, why aren't you just using the EDU-RC for this?

-Kevin
__________________
Kevin Watson
Engineer at stealth-mode startup
http://kevin.org
  #7   Spotlight this post!  
Unread 07-02-2004, 15:23
starfyter2 starfyter2 is offline
Registered User
#1348
 
Join Date: Feb 2004
Location: Denver - JFK HS
Posts: 2
starfyter2 is an unknown quantity at this point
Question Re: How do we Test our Beacon and Sensor

Quote:
Originally Posted by Kevin Watson
Tie the white lead to the red (not black) lead and try it. This should be done with a +5 volt supply. Also, why aren't you just using the EDU-RC for this?

-Kevin
Thanks Kevin. So if I tie +5V to White and Red and ground to Black then the board should work? Do you have a suggestion on how test that our IR Beacons are working? Unfortunately, our EDU-RC is locked away in a room for the weekend - so we had to get creative in order to continue working.
  #8   Spotlight this post!  
Unread 07-02-2004, 15:42
Kevin Watson's Avatar
Kevin Watson Kevin Watson is offline
La Caņada High School
FRC #2429
Team Role: Mentor
 
Join Date: Jan 2002
Rookie Year: 2001
Location: La Caņada, California
Posts: 1,335
Kevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond repute
Re: How do we Test our Beacon and Sensor

Quote:
Originally Posted by starfyter2
Thanks Kevin. So if I tie +5V to White and Red and ground to Black then the board should work? Do you have a suggestion on how test that our IR Beacons are working? Unfortunately, our EDU-RC is locked away in a room for the weekend - so we had to get creative in order to continue working.
Yes, this should turn all four LEDs on. While on, you can then use your digital camera to see the LEDs. You'll need to hook it up to the EDU-RC to generate the beacon waveforms.

-Kevin
__________________
Kevin Watson
Engineer at stealth-mode startup
http://kevin.org
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
Official Beacon Tracking Code Posted Kevin Watson Programming 41 18-02-2004 21:04
IR sensor question Daniel Brim Programming 1 18-01-2004 14:35
Resolution of IR sensors Paul Marshall Technical Discussion 2 16-01-2004 14:03
An Example IR Beacon Tracking Assembly... Kevin Watson Electrical 0 14-01-2004 12:30


All times are GMT -5. The time now is 09:47.

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