Go to Post Your cat-bell skills are most impressive. - Andy Baker [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 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)

  #6   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

  #7   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).
  #8   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
  #9   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
  #10   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?
  #11   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
  #12   Spotlight this post!  
Unread 21-01-2005, 13:30
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
Re: CMUcam setup

ok, my computer, which is an amd +2800, I guarantee you it is fast enough, is the only thing hooked the the camera, I am feeding it 12 volts which is in the specifications of the camera.

I get the response but I can not send anything to the camera, I am totally ignorant on using a terminal emulator.
  #13   Spotlight this post!  
Unread 21-01-2005, 16:48
Capt. Slash's Avatar
Capt. Slash Capt. Slash is offline
Animation Captain
AKA: Kyle Budd
FRC #0935 (RaileRobotics)
Team Role: Animator
 
Join Date: Jan 2005
Rookie Year: 2004
Location: Newton, KS
Posts: 13
Capt. Slash is an unknown quantity at this point
Re: CMUcam setup

We have our camera up and running but if we don't have enough lighting and turn on a light we get a funny feed from the camera. The only way we have found to fix this problem is to close the program and relaunch it.

Does anyone know of a different way to fix this and if so what did you do?
__________________
Finalist- St. Louis Regional- 2005
Winner- Denver Regional- 2005
Winner- Denver Regional- 2006
Motorola Quality Award- Denver Regional- 2006
Autodesk Visualization Award- Kansas City Regional- 2007
Motorola Quality Award- Kansas City Regional- 2007
Winner- Kansas City Regional- 2007
  #14   Spotlight this post!  
Unread 22-01-2005, 13:12
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
Re: CMUcam setup

I found the problem, it was the serial cable I was using. thankyou for all the advice though. I also figured out how to configure Hyper Terminal so I can see what i am typing.
  #15   Spotlight this post!  
Unread 21-01-2005, 13:35
RIgnazio RIgnazio is offline
Registered User
no team
Team Role: Webmaster
 
Join Date: Jan 2005
Rookie Year: 2004
Location: .
Posts: 45
RIgnazio will become famous soon enough
Re: CMUcam setup

OK. Here is the best thing to do:
Use an EDU controller, or if you do not have that then use the FRC controller. Use a PWM cable to get the power from the controller to the cam. You do not need to set pwmXX = 254 to do this; it is already putting out power. What makes it work is the SIG pin, which in this case you don't need anyway. So camera is hooked up to any PWM_out you want it to be...Power on the controller and Camera. (Be sure to have the serial cable plugged in as well). Now, turn it on and you will see the LED's come to life. Now run the GUI, making sure you are setting it to the correct COM number, by the way, Serial is typically COM1 but it varies by computer. Try that out, and PM me if you still need help.
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:55.

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