Go to Post I give props to your programmers and programming mentors. - Sgraff_SRHS06 [more]
Home
Go Back   Chief Delphi > Technical > Electrical
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 16-01-2005, 19:10
steven114 steven114 is offline
Programming Wizard and Team Captain
AKA: Steven Schlansker
FRC #0114 (Eaglestrike)
Team Role: Programmer
 
Join Date: Feb 2004
Location: Los Altos, CA
Posts: 335
steven114 is a jewel in the roughsteven114 is a jewel in the roughsteven114 is a jewel in the rough
Send a message via AIM to steven114
Camera fails to output anything on serial lines

I've wired up the camera - I'm using the 2002 mini RC for power, and I then hooked up the camera and serial lines. Upon powering up, all three status LEDs turn on and the servo twitches. Very quickly, the green status LED (the one to the left) turns off, leaving the green power LED and the red status LED on. Nothing appears on my terminal. I tried typing 'gv' as was suggested by the directions to no avail. The GUI fails on any command, often crashing in the process. I'm providing about 7V of power, more than the minimum 6. I have no clue where to go from here - how else can I go about debugging the camera? Thanks,
Steven
__________________
Shift to the left, shift to the right!
Pop up, push down, byte, byte, byte!
  #2   Spotlight this post!  
Unread 16-01-2005, 19:13
jgannon's Avatar
jgannon jgannon is offline
I ᐸ3 Robots
AKA: Joey Gannon
no team
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Pittsburgh, PA
Posts: 1,467
jgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond repute
Re: Camera fails to output anything on serial lines

Lots of people (myself included) have had trouble running the GUI on slower computers, as has been noted in other threads. I tried a number of the school's computers (1.0GHz Celeron, I think) with no success. I brought in my own 1.8GHz computer for our programming team, and it worked fine. Make sure that your serial port is configured properly first. If it is, try setting the camera up on a faster computer, and see if it works there.
__________________
Team 1743 - The Short Circuits
2010 Pittsburgh Excellence in Design & Team Spirit Awards
2009 Pittsburgh Regional Champions (thanks to 222 and 1218)
2007 Pittsburgh Website Award
2006 Pittsburgh Regional Champions (thanks to 395 and 1038)
2006 Pittsburgh Rookie Inspiration & Highest Rookie Seed

Team 1388 - Eagle Robotics
2005 Sacramento Engineering Inspiration
2004 Curie Division Champions (thanks to 1038 and 175)
2004 Sacramento Rookie All-Star

_
  #3   Spotlight this post!  
Unread 16-01-2005, 21:15
steven114 steven114 is offline
Programming Wizard and Team Captain
AKA: Steven Schlansker
FRC #0114 (Eaglestrike)
Team Role: Programmer
 
Join Date: Feb 2004
Location: Los Altos, CA
Posts: 335
steven114 is a jewel in the roughsteven114 is a jewel in the roughsteven114 is a jewel in the rough
Send a message via AIM to steven114
Re: Camera fails to output anything on serial lines

I saw those, and figured that it's not the problem because nothing at all appears on the serial port - the documentation says that the firmware should spit out a version string (and I'm fairly positive I have the settings right, although minicom isn't my favorite interface) and nothing appears (and even if it was the wrong speed or something, at least some sort of garbage would appear)
__________________
Shift to the left, shift to the right!
Pop up, push down, byte, byte, byte!
  #4   Spotlight this post!  
Unread 16-01-2005, 22:15
jgannon's Avatar
jgannon jgannon is offline
I ᐸ3 Robots
AKA: Joey Gannon
no team
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Pittsburgh, PA
Posts: 1,467
jgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond repute
Re: Camera fails to output anything on serial lines

On the school computers I was using, I couldn't even get the version string out of the camera. Try it on a faster computer; then you can see if that's the problem, or if your hardware is malfunctioning.
__________________
Team 1743 - The Short Circuits
2010 Pittsburgh Excellence in Design & Team Spirit Awards
2009 Pittsburgh Regional Champions (thanks to 222 and 1218)
2007 Pittsburgh Website Award
2006 Pittsburgh Regional Champions (thanks to 395 and 1038)
2006 Pittsburgh Rookie Inspiration & Highest Rookie Seed

Team 1388 - Eagle Robotics
2005 Sacramento Engineering Inspiration
2004 Curie Division Champions (thanks to 1038 and 175)
2004 Sacramento Rookie All-Star

_
  #5   Spotlight this post!  
Unread 17-01-2005, 01:19
steven114 steven114 is offline
Programming Wizard and Team Captain
AKA: Steven Schlansker
FRC #0114 (Eaglestrike)
Team Role: Programmer
 
Join Date: Feb 2004
Location: Los Altos, CA
Posts: 335
steven114 is a jewel in the roughsteven114 is a jewel in the roughsteven114 is a jewel in the rough
Send a message via AIM to steven114
Re: Camera fails to output anything on serial lines

That's very strange - why would a 366MHz computer be unable to read ten bytes off of a serial port? They existed long before such fast computers did...

I don't think I have a faster computer readily available. I'll check out the clockspeed tomorrow and look around, however...
__________________
Shift to the left, shift to the right!
Pop up, push down, byte, byte, byte!
  #6   Spotlight this post!  
Unread 17-01-2005, 01:44
steven114 steven114 is offline
Programming Wizard and Team Captain
AKA: Steven Schlansker
FRC #0114 (Eaglestrike)
Team Role: Programmer
 
Join Date: Feb 2004
Location: Los Altos, CA
Posts: 335
steven114 is a jewel in the roughsteven114 is a jewel in the roughsteven114 is a jewel in the rough
Send a message via AIM to steven114
Re: Camera fails to output anything on serial lines

I haven't changed the jumpers from the default settings (all open). Should any be closed for normal operation?
__________________
Shift to the left, shift to the right!
Pop up, push down, byte, byte, byte!
  #7   Spotlight this post!  
Unread 17-01-2005, 01:50
Omni L Omni L is offline
Registered User
AKA: Eric M.
FRC #0698 (Hamilton/Microchip Microbots)
Team Role: Leadership
 
Join Date: Aug 2004
Rookie Year: 2002
Location: Chandler, Arizona
Posts: 6
Omni L is an unknown quantity at this point
Send a message via ICQ to Omni L Send a message via MSN to Omni L Send a message via Yahoo to Omni L
Re: Camera fails to output anything on serial lines

Quote:
Originally Posted by steven114
I haven't changed the jumpers from the default settings (all open). Should any be closed for normal operation?
Honestly, I don't remember at the moment, I'll try and remember to check. (I think I closed the one that ships open, and opened the one that ships closed.. but I don't rememeber)
__________________
"its like bling bling for the brain" -Dr. Woodie Flowers

"Imagination is more important than knowledge" -Albert Einstein

"The secret to creativity is knowing how to hide your sources"
  #8   Spotlight this post!  
Unread 17-01-2005, 02:35
jgannon's Avatar
jgannon jgannon is offline
I ᐸ3 Robots
AKA: Joey Gannon
no team
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Pittsburgh, PA
Posts: 1,467
jgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond repute
Re: Camera fails to output anything on serial lines

Quote:
Originally Posted by steven114
That's very strange - why would a 366MHz computer be unable to read ten bytes off of a serial port?
Honestly, I have no idea. I don't know why the 1.0GHz computers at my school couldn't even do it. However, between you, me, and some of the other threads around here, it appears to be a fairly consistent problem. Peculiar indeed.
__________________
Team 1743 - The Short Circuits
2010 Pittsburgh Excellence in Design & Team Spirit Awards
2009 Pittsburgh Regional Champions (thanks to 222 and 1218)
2007 Pittsburgh Website Award
2006 Pittsburgh Regional Champions (thanks to 395 and 1038)
2006 Pittsburgh Rookie Inspiration & Highest Rookie Seed

Team 1388 - Eagle Robotics
2005 Sacramento Engineering Inspiration
2004 Curie Division Champions (thanks to 1038 and 175)
2004 Sacramento Rookie All-Star

_
  #9   Spotlight this post!  
Unread 17-01-2005, 20:41
Omni L Omni L is offline
Registered User
AKA: Eric M.
FRC #0698 (Hamilton/Microchip Microbots)
Team Role: Leadership
 
Join Date: Aug 2004
Rookie Year: 2002
Location: Chandler, Arizona
Posts: 6
Omni L is an unknown quantity at this point
Send a message via ICQ to Omni L Send a message via MSN to Omni L Send a message via Yahoo to Omni L
Re: Camera fails to output anything on serial lines

Quote:
Originally Posted by jgannon
Honestly, I have no idea. I don't know why the 1.0GHz computers at my school couldn't even do it. However, between you, me, and some of the other threads around here, it appears to be a fairly consistent problem. Peculiar indeed.
oh joy.. I can see it now, another drill motor repeat...

If anyone has gotten these cameras to work, please post computer specs and settings, along with any modification done to the camera.
__________________
"its like bling bling for the brain" -Dr. Woodie Flowers

"Imagination is more important than knowledge" -Albert Einstein

"The secret to creativity is knowing how to hide your sources"
  #10   Spotlight this post!  
Unread 17-01-2005, 21:19
Unsung FIRST Hero
Mike Betts Mike Betts is offline
Electrical Engineer
no team
Team Role: Engineer
 
Join Date: Dec 2001
Rookie Year: 1995
Location: Homosassa, FL
Posts: 1,442
Mike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond repute
Re: Camera fails to output anything on serial lines

Quote:
Originally Posted by Omni L
If anyone has gotten these cameras to work, please post computer specs and settings, along with any modification done to the camera.
PIII, 1.0 GHz, Bafo BF-810 USB-Serial adapter, comm settings as per documentation in "start here".
__________________
Mike Betts

Alumnus, Team 3518, Panthrobots, 2011
Alumnus, Team 177, Bobcat Robotics, 1995 - 2010
LRI, Connecticut Regional, 2007-2010
LRI, WPI Regional, 2009 - 2010
RI, South Florida Regional, 2012 - 2013

As easy as 355/113...
  #11   Spotlight this post!  
Unread 18-01-2005, 16:12
steven114 steven114 is offline
Programming Wizard and Team Captain
AKA: Steven Schlansker
FRC #0114 (Eaglestrike)
Team Role: Programmer
 
Join Date: Feb 2004
Location: Los Altos, CA
Posts: 335
steven114 is a jewel in the roughsteven114 is a jewel in the roughsteven114 is a jewel in the rough
Send a message via AIM to steven114
Re: Camera fails to output anything on serial lines

I just got it to work - apparently 1.6GHz is not enough but 1.8 is. This is very strange, and somewhat disappointing - I can see no reason why the system requirements would be that high and there is no way we'll be able to bring such a fast computer to our competitions, seriously affecting how well we'll be able to debug problems...
__________________
Shift to the left, shift to the right!
Pop up, push down, byte, byte, byte!
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
Scripting Setup and the Camera + Serial Port Drivers CJO Programming 22 11-01-2006 17:42
Kevin Watson's Kick-off Demo Code! Mr. Lim Programming 27 22-01-2005 03:38
CMUCam2 Camera Code - Are important parts commented out? Mr. Lim Programming 4 14-01-2005 12:11
New Serial Port Driver Kevin Watson Programming 16 09-01-2005 01:56


All times are GMT -5. The time now is 03:20.

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