OCCRA
Go to Post They knew that the number of gracious, professional, make-your-grandmother-so-proud-she-will-puke moments of exemplary behavior by the teams would far outshine any minor mistakes or incidents of less-than-perfect decorum. - dlavery [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Events   CD-Media   CD-Spy   FRC-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 01-19-2004, 02:56 PM
cheezewiz cheezewiz is offline
Registered User
#0360
 
Join Date: Jan 2004
Location: Tacoma, WA
Posts: 1
cheezewiz is an unknown quantity at this point
A few questions

Hey,

So far we have been able to program and upload code for our test robot. But we are still a little confused dealing with the IR. First off we heard that the schematic for the IR emmiter circuit was wrong, so we followed the new schematic and it just overheated and diddnt do anything. Was the origional schematic really wrong, or did we just wire the new circuit wrong? Then asuming that the emitter circuit is working, and we have the infrared reciever hooked up to digital input 1, what variable should we be useing to get input from the censor (as in rc_dig01)? Also when the robot sees the censor what value should the variable show? From our testing we it looks as if when it sees IR the variable is set to 0 and when it doesnt see IR it shows some # in the 3000's. Any help here would be greatly appriciated.

Thank You
  #2   Spotlight this post!  
Unread 01-19-2004, 10:39 PM
Adam Shapiro's Avatar
Adam Shapiro Adam Shapiro is offline
Registered User
FRC #0555 (Montclair Robotics)
Team Role: Alumni
 
Join Date: Jan 2002
Rookie Year: 2001
Location: Montclair, NJ
Posts: 401
Adam Shapiro has much to be proud ofAdam Shapiro has much to be proud ofAdam Shapiro has much to be proud ofAdam Shapiro has much to be proud ofAdam Shapiro has much to be proud ofAdam Shapiro has much to be proud ofAdam Shapiro has much to be proud ofAdam Shapiro has much to be proud ofAdam Shapiro has much to be proud of
Send a message via AIM to Adam Shapiro
Re: A few questions

I can't really tell you about the IR reading values (yet) but wiring-wise, the new beacon schematics are correct. The wiring on the schematic that came with the kit had pins 2 and 3 reversed on the FET. If your circuit is overheating, you might want to check it over more carefully for shorts. There is a good chance there is a short in your soldering. Also check that you don't have the FET reversed and that you correctly made the changes to the wiring.
__________________
Mentor to Teams 555, 1929, and 2070!
Currently working in hardware design at Cisco.
Cornell University DARPA Urban Challenge - http://www.cornellracing.com
Co-Captain Team 555 - 2003,2004,2005
Trust, Love, and Magic
  #3   Spotlight this post!  
Unread 01-20-2004, 10:07 AM
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Itinerant Programmer
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: 7,256
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: A few questions

Quote:
Originally Posted by cheezewiz
Hey,

So far we have been able to program and upload code for our test robot. But we are still a little confused dealing with the IR. First off we heard that the schematic for the IR emmiter circuit was wrong, so we followed the new schematic and it just overheated and diddnt do anything. Was the origional schematic really wrong, or did we just wire the new circuit wrong? Then asuming that the emitter circuit is working, and we have the infrared reciever hooked up to digital input 1, what variable should we be useing to get input from the censor (as in rc_dig01)? Also when the robot sees the censor what value should the variable show? From our testing we it looks as if when it sees IR the variable is set to 0 and when it doesnt see IR it shows some # in the 3000's. Any help here would be greatly appriciated.

Thank You
The values returned by the IR sensor are 0=sees IR, or 1=does not see IR.
Are you running the sensor from the EDU controller? If so pins 1 & 2 are setup as analog inputs. Use pin 6 instead which the default code sets up as a digital input. Make sure you get the IR sensor pins wired correctly. The center pin is the Blk or common.

[edit]
BTW you can also check to see if your beacon is emitting by pointing a digital video or still camera at it. Digital cameras can "see" the IR frequency used.
[/edit]
__________________
Deduction is limited by knowledge, and knowledge is limited by preconceptions

Last edited by Mark McLeod : 01-20-2004 at 03:29 PM.
  #4   Spotlight this post!  
Unread 01-28-2004, 10:22 AM
David Bryan David Bryan is offline
Registered User
#0818 (Steel Armadillo)
 
Join Date: Jan 2002
Location: Warren Consolidated Schools
Posts: 8
David Bryan is an unknown quantity at this point
Unhappy Re: A few questions

Quote:
Originally Posted by Mark McLeod
The values returned by the IR sensor are 0=sees IR, or 1=does not see IR.
Are you running the sensor from the EDU controller? If so pins 1 & 2 are setup as analog inputs. Use pin 6 instead which the default code sets up as a digital input. Make sure you get the IR sensor pins wired correctly. The center pin is the Blk or common.

[edit]
BTW you can also check to see if your beacon is emitting by pointing a digital video or still camera at it. Digital cameras can "see" the IR frequency used.
[/edit]
Hello,
Thanks for this information. We have another problem.
1) Is there any electrical information on the pinouts of the new joysticks?
2) Is the Operator interface controller the same pinout for inputs as last year?

Thanks,
David Bryan 818
  #5   Spotlight this post!  
Unread 01-28-2004, 11:15 AM
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,331
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: A few questions

Quote:
Originally Posted by cheezewiz
First off we heard that the schematic for the IR emmiter circuit was wrong, so we followed the new schematic and it just overheated and diddnt do anything. Was the origional schematic really wrong, or did we just wire the new circuit wrong?
The diagram in the kit and subsequent update on 1-16-04 had a flaw. The directions dated 1-27-04 are correct.


Quote:
Originally Posted by cheezewiz
Then asuming that the emitter circuit is working, and we have the infrared reciever hooked up to digital input 1, what variable should we be useing to get input from the censor (as in rc_dig01)? Also when the robot sees the censor what value should the variable show?
The variable to check is Sensor_Stats[x].Beacon_Quality[y], where x indicates the sensor number (use 0 for sensor 1, 1 for sensor 2,..., 3 for sensor 4) and y indicates which beacon you want data for (use 0 for type-0, 1 for type-1). If the beacon indicated by y isn't in view of the sensor, this value will be 0. If the beacon indicated by y is in view, this value will be >0 (usually 2 or 3). When the receiver.c code is running, this variable is updated around 38 times a second. More information can be found on the infrared beacon and tracking frequently-asked-questions page. BTW, digital input 1 isn't one of the choices. Please attach the sensors according to the information in receiver.c. Let us know if you have any problems.

-Kevin
__________________
Kevin Watson
Engineer at Virgin Galactic
http://kevin.org
  #6   Spotlight this post!  
Unread 01-29-2004, 07:19 AM
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Itinerant Programmer
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: 7,256
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: A few questions

Quote:
Originally Posted by David Bryan
Hello,
Thanks for this information. We have another problem.
1) Is there any electrical information on the pinouts of the new joysticks?
2) Is the Operator interface controller the same pinout for inputs as last year?

Thanks,
David Bryan 818

The pinouts on the OI are the same as last year. It's a standard joystick configuration.
You can see the pinouts in the attached diagram. The diagram was released by FIRST to give teams a method of attaching two joysticks to a single OI port if they wanted, but the pinout descriptions on the chart are what you are looking for.
__________________
Deduction is limited by knowledge, and knowledge is limited by preconceptions
  #7   Spotlight this post!  
Unread 01-29-2004, 09:02 AM
David Bryan David Bryan is offline
Registered User
#0818 (Steel Armadillo)
 
Join Date: Jan 2002
Location: Warren Consolidated Schools
Posts: 8
David Bryan is an unknown quantity at this point
Question Re: A few questions

Quote:
Originally Posted by David Bryan
Hello,
Thanks for this information. We have another problem.
1) Is there any electrical information on the pinouts of the new joysticks?
2) Is the Operator interface controller the same pinout for inputs as last year?

Thanks,
David Bryan 818
--------------------------------


1/29/04 I got some answers:
The OI interface they tell me has the same input pin assignments.

__________________________
I have the following feedbacks but I do not yet have the new Joystick schematics. I would like to have the New Joystick schematics. Thanks to the Team members below for offering the following to me which I am now passing on to all Ch delphi Inet Team members.

(from innnovation first)
1) Do not know, you would have to contact FIRST.

2) The pinout info is in the OI Reference Guide located on our web site.
You should be able to used the Dashboard view and see which switch or pot on
the joystick activates which item on the Dashboard. Then use the OI Guide
to map the switch or pot name back to a pin number on the port.



If you have any questions, please feel free to call or email.

Ricky
Innovation First, Inc.
9701 Wesley St, Suite 203
Greenville TX 75402
903-454-1978 EXT 205

---------------------------------------------------------
Hi David,

The pinouts on the OI are the same as last year. It's a standard joystick
configuration.
You can see the pinouts in the attached diagram. The diagram was actually
released by FIRST to give teams a method of attaching two joysticks to a
single OI port if they wanted, but the pinouts on the chart are what you are
actually looking for..

<<y_cable.pdf>>
Mark

Mark L. McLeod

-----------------------------------------------------------
Thanks also to Nate Smith for his drawing also attached.
------------------------------------------------------------

AS STATED BEFORE WE WOULD REALLY LIKE A SCHEMATIC FOR THE NEW JOYSTICK. ALSO WHERE CAN WE BUY ONE AS A SPARE?
Attached Files
File Type: pdf y_cableJoyStick.pdf (17.5 KB, 45 views)
File Type: pdf oibreakoutdiagramNateSmith.pdf (53.6 KB, 36 views)
  #8   Spotlight this post!  
Unread 01-30-2004, 11:02 PM
Damian Manda's Avatar
Damian Manda Damian Manda is offline
The Damian
no team
Team Role: Mentor
 
Join Date: Jan 2003
Rookie Year: 2003
Location: Fort Collins, CO
Posts: 154
Damian Manda has much to be proud ofDamian Manda has much to be proud ofDamian Manda has much to be proud ofDamian Manda has much to be proud ofDamian Manda has much to be proud ofDamian Manda has much to be proud ofDamian Manda has much to be proud ofDamian Manda has much to be proud ofDamian Manda has much to be proud of
Send a message via AIM to Damian Manda
Re: A few questions

Quote:
Originally Posted by Mark McLeod
BTW you can also check to see if your beacon is emitting by pointing a digital video or still camera at it. Digital cameras can "see" the IR frequency used.
Be careful with this method though, some cameras, especially new ones may not be able to see IR at all or as well as older digital cameras. They are now adding filtering that blocks some IR light from the CCD, so that it will not be displayed on the camera. I know that my older digital (HP850) sees IR much more strongly than my newer one (HP945). Also, any webcam should work fine, being cheap, it is not cost effective to add the filtering.

--Damian Manda
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
3 Questions!!! (1/5/04) Andy Grady General Forum 8 01-05-2004 03:01 PM
$3500 limit - Who does not have questions Raul Rules/Strategy 5 01-12-2003 10:31 AM
Update 7 - Behind Schedule (or out of questions)? archiver 2000 2 06-23-2002 09:58 PM
rules questions... archiver 2001 5 06-23-2002 09:40 PM
2 questions Martin Rules/Strategy 5 01-12-2002 01:31 AM


All times are GMT -5. The time now is 08:53 PM.

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


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