Go to Post Safety captains be watchful. - Al Skierkiewicz [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 15-01-2005, 22:33
Ryan Collings Ryan Collings is offline
Registered User
None #0313 (Bionic Zebras)
Team Role: College Student
 
Join Date: Feb 2003
Rookie Year: 2000
Location: Wayne-Westland MI
Posts: 18
Ryan Collings is an unknown quantity at this point
CMUcam setup

I can not get the CMUcam to do what the instructions say it can.

I got my CMUcam hooked to an AT powersupply for a steady supply of power. it turns on and when I use Hyperterminal I get the string from the camera that says "CMUcam2 v1.01 c7". my port settings are

Port: COM2
Bits per second: 115200
Data bits: 8
Parity: none
Stop bits: 1
Flow control: None

I do not know how to send the "gv" to the CMUcam. but I assume it works and I start the CMUcam2 program and it just says "Looking for Camera...". If I press any buttons on the GUI it freezes up. I appreciate any help anyone can give me. and I encourage other who have the same problem or something similar to post here with me, or if there is already a post on this, let me know, I did not find one in the search though.
  #2   Spotlight this post!  
Unread 16-01-2005, 01:01
emusteve's Avatar
emusteve emusteve is offline
Registered User
AKA: Steve Martin
#0470 (Alpha Omega)
 
Join Date: Jan 2004
Location: Ypsilanti
Posts: 66
emusteve is just really niceemusteve is just really niceemusteve is just really niceemusteve is just really nice
Smile Re: CMUcam setup

Quote:
Originally Posted by Ryan Collings
I can not get the CMUcam to do what the instructions say it can.

I got my CMUcam hooked to an AT powersupply for a steady supply of power. it turns on and when I use Hyperterminal I get the string from the camera that says "CMUcam2 v1.01 c7". my port settings are

Port: COM2
Bits per second: 115200
Data bits: 8
Parity: none
Stop bits: 1
Flow control: None

I do not know how to send the "gv" to the CMUcam. but I assume it works and I start the CMUcam2 program and it just says "Looking for Camera...". If I press any buttons on the GUI it freezes up. I appreciate any help anyone can give me. and I encourage other who have the same problem or something similar to post here with me, or if there is already a post on this, let me know, I did not find one in the search though.

What leg of the AT power supply are you using? If it's the +5 leg, then you don't have enough voltage to overcome the drop in the internal regulator. The specs say it wants at least 6V, but I've fond that to be marginal as well. It does work, however, when powered directly from one of the 7.2V backup batteries. Also, remember that most switchers like the AT supplies require a minimum load to work properly, so this could be tripping you up as well.

Now if I could get the GUI to run properly, we might be able to make a go of it. If you want to get together on this, I'm down the street at EMU. Give me a shout at smartin@emich.edu. Two heads are better than one, and we'll all benefit if we can make it work.

Steve

Last edited by emusteve : 16-01-2005 at 01:07.
  #3   Spotlight this post!  
Unread 16-01-2005, 02:20
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: CMUcam setup

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. Since you are getting feedback in Hyperterminal, but not in the GUI, it's safe to assume that your camera hardware is okay, and that the serial port is correctly configured. I don't know the specs of the computer you're working on, but try setting it 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

_
  #4   Spotlight this post!  
Unread 16-01-2005, 04:02
SpaceOsc's Avatar
SpaceOsc SpaceOsc is offline
16 Years of FIRST!
AKA: Oscar Vasquez
FRC #4501 (Humans)
Team Role: Coach
 
Join Date: Feb 2002
Rookie Year: 2001
Location: Culver City, CA
Posts: 441
SpaceOsc has a brilliant futureSpaceOsc has a brilliant futureSpaceOsc has a brilliant futureSpaceOsc has a brilliant futureSpaceOsc has a brilliant futureSpaceOsc has a brilliant futureSpaceOsc has a brilliant futureSpaceOsc has a brilliant futureSpaceOsc has a brilliant futureSpaceOsc has a brilliant futureSpaceOsc has a brilliant future
Send a message via AIM to SpaceOsc Send a message via Yahoo to SpaceOsc
Re: CMUcam setup

remeber that the ttl cable should not be conneced at the same time as the serial cable to the pc,we had that problem for viewng the cam

it still should get power from the pwm port tho.


i could be wrong about which cables goes out, i didnt do it but i did watch
__________________

2014-2017: Team 4501 Coach/Lead Mentor
2002-2011: Team 702, Mentor
2001-2002: Team 702 Captain

Last edited by SpaceOsc : 16-01-2005 at 04:27.
  #5   Spotlight this post!  
Unread 16-01-2005, 10:06
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
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: 8,830
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: CMUcam setup

All symptoms of an incorrect Serial Port setup or you have the two serial lines hooked up at once. You can only have either the serial line to your PC or the TTL port on the RC hooked up, not both at the same time.

We had trouble using HyperTerminal to set the serial port and making it stick, so we did it using the Device Manager.

Check the serial port settings from the Device Manager.
I get there under W2K by
right clicking Properties for My Computer or under Control Panels click System,
then Hardware tab,
then Device Manager
select Ports (COM ...
double-click Communications Port
then Port Settings
and you know the rest.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 16-01-2005 at 11:08.
  #6   Spotlight this post!  
Unread 16-01-2005, 11:51
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 setup

Hi all,

Sorry if this is a stupid question, but what is HyperTerminal, and what are its uses?

Sorry to bother you,

Dan
  #7   Spotlight this post!  
Unread 16-01-2005, 12:30
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
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: 8,830
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: CMUcam setup

Quote:
Originally Posted by dhoizner
Hi all,

Sorry if this is a stupid question, but what is HyperTerminal, and what are its uses?

Sorry to bother you,

Dan
Hyperterminal comes standard with Windows and can be found at:
Start -> Programs -> Accessories -> Communications

It can use the serial port on your PC and change the port settings. Typically, Hyperterminal is used as a substitute for the IFI_Loader terminal window for displaying debug output from the RC. It has several advantages, not the least of which is the capability to save debug output. There are some more notes here:
http://www.chiefdelphi.com/forums/sh...032#post279032

You can't usually have more than one program running that uses the same serial port, so you can't run the IFI_Loader terminal window while either the Hyperterminal or the CMU programs are running.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
  #8   Spotlight this post!  
Unread 16-01-2005, 20:59
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 setup

Quote:
Originally Posted by Mark McLeod
Hyperterminal comes standard with Windows and can be found at:
Start -> Programs -> Accessories -> Communications

It can use the serial port on your PC and change the port settings. Typically, Hyperterminal is used as a substitute for the IFI_Loader terminal window for displaying debug output from the RC. It has several advantages, not the least of which is the capability to save debug output. There are some more notes here:
http://www.chiefdelphi.com/forums/sh...032#post279032

You can't usually have more than one program running that uses the same serial port, so you can't run the IFI_Loader terminal window while either the Hyperterminal or the CMU programs are running.
Thanks for the help Mark, I will have to experiment. Something to do tomorrow. Yay!

Thanks again,

Dan
  #9   Spotlight this post!  
Unread 17-01-2005, 16:17
tckma's Avatar
tckma tckma is offline
Registered User
AKA: Tom C.
FRC #2199 (Robo-Lions)
Team Role: Mentor
 
Join Date: Nov 2004
Rookie Year: 2002
Location: Westminster, MD
Posts: 90
tckma has a spectacular aura abouttckma has a spectacular aura abouttckma has a spectacular aura about
Send a message via ICQ to tckma Send a message via AIM to tckma Send a message via Yahoo to tckma
Re: CMUcam setup

Quote:
Originally Posted by emusteve
Now if I could get the GUI to run properly, we might be able to make a go of it. If you want to get together on this, I'm down the street at EMU. Give me a shout at smartin@emich.edu. Two heads are better than one, and we'll all benefit if we can make it work.

Steve
What problems are you having with the GUI? I've seen it work with the latest version of the JRE installed. It seems to be very picky about lighting conditions for calibration, though.
__________________
Tom C.
Software and Controls Mentor
Team 2849
Prior team associations: 1418 ('08-'09), 1100 ('05-'08), 811 ('02, '04-'05), 246 ('03)

  #10   Spotlight this post!  
Unread 17-01-2005, 17:20
CJO's Avatar
CJO CJO is offline
Emeritus Pain in the $@#$@#$@#
AKA: Christopher J. O'Connell
None #1097 (Site 3 Engineering)
Team Role: Alumni
 
Join Date: Feb 2003
Location: Latrobe (over the rainbow), CA
Posts: 217
CJO will become famous soon enoughCJO will become famous soon enough
Re: CMUcam setup

I am not a big fan of hyperterminal. I once turned an iPaq into an unbootable brick while installing linux due to a hyperterminal crash. I reccomend something else. I personally use linux, but for windows, there is a program "puTTY?" which is reputed to be better than hyperterminal.
__________________
Team 1097 -- Site 3 Engineering
~~~~~~~~~~~~~~~~~~~~
2003 Sacramento Rookie All Star
2003 Silicon Valley Rookie All Star
2004 Sacramento Engineering Inspiration Award
2004 Sacramento Visualization Award
2004 Outstanding Volunteer Award (G. Glasser)
2004 Silicon Valley Sportsmanship Award
2004 National Visualization Runner Up
2004 Cal Games Finalist
2005 Sacramento Sportsmanship Award
2005 Sacramento #1 seed
2005 Sacramento Finalist

2005 Silicon Valley Sportsmanship Award
2005 Silicon Valley #1 Seed
2005 Silicon Valley Finalist

  #11   Spotlight this post!  
Unread 17-01-2005, 19:38
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: CMUcam setup

Quote:
Originally Posted by CJO
I am not a big fan of hyperterminal. I once turned an iPaq into an unbootable brick while installing linux due to a hyperterminal crash. I reccomend something else. I personally use linux, but for windows, there is a program "puTTY?" which is reputed to be better than hyperterminal.
PuTTY is generally used for SSH, SSL, RSH, and other remoting stuff. It can't be used on a serial port (to my knowledge).
  #12   Spotlight this post!  
Unread 17-01-2005, 22:33
sudeepr71 sudeepr71 is offline
Registered User
FRC #0503 (Frog Force)
Team Role: Leadership
 
Join Date: Mar 2004
Rookie Year: 2004
Location: Novi
Posts: 33
sudeepr71 is an unknown quantity at this point
Send a message via AIM to sudeepr71
Re: CMUcam setup

Hi
I am also having trouble with the camera. I have the camera connected to the TTL-232 adapter, and it pulged into a pwm01. Next we opened the GUI with our hopes high and waited awhile. All that happened was that the camera lights blinked. On the gui it said looking for camera...We have the back-up battery pluged in.

Sudeep
  #13   Spotlight this post!  
Unread 17-01-2005, 22:57
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: CMUcam setup

You cannot have the camera plugged into the robot controller via the TTL port at the same time as it is hooked to the computer via the RS-232 DB9 port. Unhook the robot controller connection and hook it up directly to the computer and see if this solves the problem.

If the GUI can still not access the camera connect to it with the listed settings in the manual:
• 115,200 Baud
• 8 Data bits
• 1 Stop bit
• No Parity
• No Flow Control (Not Xon/Xoff or Hardware)
through hyperterminal and type GV followed by enter. This should return a CMUcam2 version string. If this happens, you are connected and the GUI is the problem.
__________________
FRC Volunteer, FLL regional planning committee member for Colorado
Former Programmer, Web Designer, Communications Director of Alpine Robotics Team 159.
Add your team to the FIRST Teams Google Map

Last edited by Damian Manda : 17-01-2005 at 23:01. Reason: added settings
  #14   Spotlight this post!  
Unread 18-01-2005, 16:17
sudeepr71 sudeepr71 is offline
Registered User
FRC #0503 (Frog Force)
Team Role: Leadership
 
Join Date: Mar 2004
Rookie Year: 2004
Location: Novi
Posts: 33
sudeepr71 is an unknown quantity at this point
Send a message via AIM to sudeepr71
Re: CMUcam setup

One more thing, rumor has it that First removed the camera code becuase it wasn't working correctly. Have they put it back up and where can I get it from?
  #15   Spotlight this post!  
Unread 18-01-2005, 19:54
scifi3018 scifi3018 is offline
Registered User
#0804
 
Join Date: Feb 2004
Location: rock hill sc
Posts: 20
scifi3018 is an unknown quantity at this point
Re: CMUcam setup

Tonight we experimented with the cmu camers, and suprisinlgy got it wokring. we started with the robot, and hooked everything up par to the instructions. no luck. then i realized one of the foolish chassis people decided to unplug the backup battery instead of pressing the reset button

so battery hooked up, check. it worked, we had to change the port settings, but it didnt seem to make a difference. we were able to grab frames, but the servo control is still puzzling. once we get the project enclosure, and assemble it, we will try to calibrate it, then who knows what the result will be.

More later when we can get it fixed, and its time to wrap up for tonight
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
CMUCam for drivers patTeam241 Technical Discussion 22 16-01-2005 01:21
Dual monitor Display setup.... BrianJennings Inventor 6 12-01-2005 20:35
Problems with Autonomous due to motor setup xxlshortys Programming 10 16-03-2004 14:38
Competition IR Beacon - how does its physical setup compare to our beacons? DanL Electrical 2 25-01-2004 18:05
Official California Robot Games announcement! Ken Leung Off-Season Events 9 01-10-2003 03:37


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

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