Go to Post I believe in the rookie teams. - Arefin Bari [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 25-01-2007, 20:21
efoote868 efoote868 is online now
foote stepped in
AKA: E. Foote
FRC #0868
Team Role: Mentor
 
Join Date: Mar 2006
Rookie Year: 2005
Location: Noblesville, IN
Posts: 1,377
efoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond repute
CMUcam 131 error, probable cause?

This year our mentor assigned a couple of freshmen to learn everything about the camera, to configure it correctly, know the code, etc.

They pretty much fried the one from this year's KOP, and they broke the one from last year (only getting Initialization Error 131). I don't think its a software problem, because when we got the old camera out, it was very much functional, and after being in their hands for a day, it isn't. (And I have absolutely no idea what they've been doing )

Since my freshmen friends made mistakes twice, and this is the last camera we've got (until we get another from IFI), I would like to know any tips to prevent these errors / stop the camera from breaking. (I know the importance of hooking everything up correctly, along with a fully charged backup battery)

Well, lets hear them, and thanks in advance!
__________________
Be Healthy. Never Stop Learning. Say It Like It Is. Own It.

Like our values? Flexware Innovation is looking for Automation Engineers. Check us out!
  #2   Spotlight this post!  
Unread 25-01-2007, 21:55
Kevin Sevcik's Avatar
Kevin Sevcik Kevin Sevcik is offline
(Insert witty comment here)
FRC #0057 (The Leopards)
Team Role: Mentor
 
Join Date: Jun 2001
Rookie Year: 1998
Location: Houston, Texas
Posts: 3,599
Kevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond repute
Send a message via AIM to Kevin Sevcik Send a message via Yahoo to Kevin Sevcik
Re: CMUcam 131 error, probable cause?

FYI, error 131 means the camera code failed at initialization state 3. 131=128+3. What this means to you is that your camera just isn't talking to the RC. This is the first state in the camera initialization routine that actually waits for a reply from the camera, and it's failed here, so you're just not getting a reply from the camera.

The possibilities are:
A. Your camera isn't getting power. You say the battery is charged, so not that.
B. The serial cable is unplugged, plugged in backwards, or th TTL adapter has come loose.
C. The cable from your TTL adapter is too long.

Those are about the only options I can think of. I'd really triple check all the connections, especially the TTL adapter, and try hooking up with a short PWM cable. Second bit of trouble shooting you can try is hooking directly to the the serial port with your computer, opening up Hyperterminal, and trying to talk to the camera directly.
__________________
The difficult we do today; the impossible we do tomorrow. Miracles by appointment only.

Lone Star Regional Troubleshooter
  #3   Spotlight this post!  
Unread 26-01-2007, 11:11
efoote868 efoote868 is online now
foote stepped in
AKA: E. Foote
FRC #0868
Team Role: Mentor
 
Join Date: Mar 2006
Rookie Year: 2005
Location: Noblesville, IN
Posts: 1,377
efoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond repute
Re: CMUcam 131 error, probable cause?

How easy is it to fry the camera, which would then cause the error (camera wouldn't send anything back, anyway)?
__________________
Be Healthy. Never Stop Learning. Say It Like It Is. Own It.

Like our values? Flexware Innovation is looking for Automation Engineers. Check us out!
  #4   Spotlight this post!  
Unread 26-01-2007, 11:26
Kevin Sevcik's Avatar
Kevin Sevcik Kevin Sevcik is offline
(Insert witty comment here)
FRC #0057 (The Leopards)
Team Role: Mentor
 
Join Date: Jun 2001
Rookie Year: 1998
Location: Houston, Texas
Posts: 3,599
Kevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond repute
Send a message via AIM to Kevin Sevcik Send a message via Yahoo to Kevin Sevcik
Re: CMUcam 131 error, probable cause?

If the power LED lights up properly and everything, I'm willing to bet you haven't fried it, but I could be wrong. The easiest way would probably be to reverse the power polarity, since I don't think it has protection for that. I have managed to inadvertently short 5V to ground through the camera before and it was no worse for it. I have also had students pretty seriously mistreat it and it's come out ok. I'm not saying it's impossible to kill the poor little thing, but I think you should exhaust all of your troubleshooting options before you give up on it.
__________________
The difficult we do today; the impossible we do tomorrow. Miracles by appointment only.

Lone Star Regional Troubleshooter
  #5   Spotlight this post!  
Unread 26-01-2007, 22:03
DanDon's Avatar
DanDon DanDon is offline
ohhh MY god
AKA: Dan Hoizner
FRC #0375 (The Robotic Plague)
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2004
Location: Staten Island, NY
Posts: 1,432
DanDon has a reputation beyond reputeDanDon has a reputation beyond reputeDanDon has a reputation beyond reputeDanDon has a reputation beyond reputeDanDon has a reputation beyond reputeDanDon has a reputation beyond reputeDanDon has a reputation beyond reputeDanDon has a reputation beyond reputeDanDon has a reputation beyond reputeDanDon has a reputation beyond reputeDanDon has a reputation beyond repute
Send a message via ICQ to DanDon Send a message via AIM to DanDon Send a message via MSN to DanDon
Re: CMUcam 131 error, probable cause?

You might want to try this piece of code: http://kevin.org/frc/frc_serial_port_diagnostics.zip

It's available at Kevin's site, and the description is:

Quote:
Serial port diagnostic software that can be used to verify the proper operation of your robot controller's serial ports, CMUcam2, TTL to RS232 conversion board, and cables.
__________________
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
Limit Switches + camera = Error 131 cdennisxlx2 Programming 7 09-11-2006 15:42
Fix for CMU cam initalization code 131 error. Alan T Programming 6 06-04-2006 02:59
CMU cam error 131. All serial tests passed. Validius Programming 9 05-02-2006 11:32
stupid Array error: Error [1300] stack frame too l Validius Programming 7 27-01-2006 10:53
pic: C.H.A.O.S. 131 CD47-Bot Robot Showcase 8 01-03-2004 07:46


All times are GMT -5. The time now is 10:43.

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