Go to Post In the end, we were successful, but the tale is one of such stupidity that it should be engraved in drool upon a failed math test. - AmLameBro [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 17-01-2006, 23:53
scottmso scottmso is offline
Registered User
FRC #1561 (RoboDucks)
Team Role: Programmer
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Oklahoma City, OK
Posts: 26
scottmso is an unknown quantity at this point
Send a message via AIM to scottmso
Question Major CMUcam issues - very low-quality picture among other issues

I recently got our CMUcam hooked up to a PC and I am having major problems with it. First of all, I was initially having trouble getting LabView to recognize it. I figured out it wasn't exactly a connection problem, since connecting to the camera via HyperTerminal worked just fine. Then I learned that I had to install VISA. I did so and it still didn't work. So I downloaded the latest version of the LabView test files for the CMUcam and it still doesn't work. When I try to download a picture from the camera, it goes to 100% and back to 0% over and over again without doing anything.

So I downloaded the CMUcam Java app directly from CMU. It seems that I am able to get a very crappy picture out of it now. If I turn on all 3 color signals (red green and blue) it shows about a third of the picture. If I turn on one of the 3 the whole picture shows up. Either way, it is extremely blurry, has lots of dots (from what I have read these dots are because of florescent lighting, am I right?) and for the most part I can only make out whether or not there is or isn't light. I can't get any pictures right now but I'll try to get some on Thursday (when I can next work with it) if I can't get this problem solved by then.

I've tried everything - playing with serial port settings, trying different serial cables, using fresh batteries.... Does anyone have an idea as to why my camera is acting this way? Or maybe there is a chance I am just doing things wrong (like the florescent lighting perhaps?) I just hope it isn't defective. Any advice appreciated - thanks!

Could a mod move this back to the CMUcam forum? I don't understand why it got moved to the LabView forum because it's mostly a CMUcam question. Thanks!

Last edited by scottmso : 18-01-2006 at 07:55.
  #2   Spotlight this post!  
Unread 18-01-2006, 07:29
skimoose's Avatar
skimoose skimoose is offline
Parent/Mentor/Engineer
AKA: Arthur Dutra
FRC #0228 (GUS)
Team Role: Electrical
 
Join Date: Jan 2005
Rookie Year: 2003
Location: Meriden, Connecticut
Posts: 568
skimoose has a reputation beyond reputeskimoose has a reputation beyond reputeskimoose has a reputation beyond reputeskimoose has a reputation beyond reputeskimoose has a reputation beyond reputeskimoose has a reputation beyond reputeskimoose has a reputation beyond reputeskimoose has a reputation beyond reputeskimoose has a reputation beyond reputeskimoose has a reputation beyond reputeskimoose has a reputation beyond repute
Re: Major CMUcam issues - LabView app won't work, very low-quality picture

The blurry picture / poor quality is because you haven't focused the camera. The lens is threaded and must be adjusted by turning until you get a clear picture.
__________________

2009 CT Regional Motorola Quality Award
2010 VRC Connecticut Championship Winners & Amaze Award
2010 VRC Championship Divisional Energy Award
2010 WPI Regional Winner
2010 WPI Regional Engineering Inspiration Award
2011 WPI Regional Chairman's Award
2012 WPI Regional Finalists
  #3   Spotlight this post!  
Unread 18-01-2006, 12:37
Danny Diaz's Avatar
Danny Diaz Danny Diaz is offline
Smooth Operator
AKA: FrankenMentor
None #0418
Team Role: Alumni
 
Join Date: Apr 2005
Rookie Year: 2003
Location: Manchester, NH
Posts: 545
Danny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond repute
Send a message via AIM to Danny Diaz
Re: Major CMUcam issues - very low-quality picture among other issues

Quote:
Originally Posted by scottmso
When I try to download a picture from the camera, it goes to 100% and back to 0% over and over again without doing anything.
Same exact thing happened to me. Problem? Low backup battery power.

-Danny
__________________
Danny Diaz
Former Lead Technical Mentor, FRC 418
  #4   Spotlight this post!  
Unread 18-01-2006, 19:40
scottmso scottmso is offline
Registered User
FRC #1561 (RoboDucks)
Team Role: Programmer
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Oklahoma City, OK
Posts: 26
scottmso is an unknown quantity at this point
Send a message via AIM to scottmso
Re: Major CMUcam issues - very low-quality picture among other issues

Quote:
Originally Posted by Danny Diaz
Same exact thing happened to me. Problem? Low backup battery power.

-Danny
We've been powering the camera via the backup battery directly - should be enough (according to 2 different manuals/spec sheets I've seen, 7.2V should be within spec for the camera.). We've tried 2 different batteries (one new, one from last season.) Whenever one fully charges (LED on charger turns green - does that indicate full charge?), we just switch them out. Am I doing things right?

Last edited by scottmso : 18-01-2006 at 19:42.
  #5   Spotlight this post!  
Unread 18-01-2006, 19:59
skimoose's Avatar
skimoose skimoose is offline
Parent/Mentor/Engineer
AKA: Arthur Dutra
FRC #0228 (GUS)
Team Role: Electrical
 
Join Date: Jan 2005
Rookie Year: 2003
Location: Meriden, Connecticut
Posts: 568
skimoose has a reputation beyond reputeskimoose has a reputation beyond reputeskimoose has a reputation beyond reputeskimoose has a reputation beyond reputeskimoose has a reputation beyond reputeskimoose has a reputation beyond reputeskimoose has a reputation beyond reputeskimoose has a reputation beyond reputeskimoose has a reputation beyond reputeskimoose has a reputation beyond reputeskimoose has a reputation beyond repute
Re: Major CMUcam issues - LabView app won't work, very low-quality picture

Quote:
We've been powering the camera via the backup battery directly - should be enough (according to 2 different manuals/spec sheets I've seen, 7.2V should be within spec for the camera.). We've tried 2 different batteries (one new, one from last season.) Whenever one fully charges (LED on charger turns green - does that indicate full charge?), we just switch them out. Am I doing things right?
Yes, you're charging correctly and the backup battery will work. However, when we were testing the camera last year on the backup battery, with the servos for tracking, the usable battery time was not that long. I don't remember exactly how long, but it was short enough for me to note that we'd be changing backup batteries after every match to play it safe.
__________________

2009 CT Regional Motorola Quality Award
2010 VRC Connecticut Championship Winners & Amaze Award
2010 VRC Championship Divisional Energy Award
2010 WPI Regional Winner
2010 WPI Regional Engineering Inspiration Award
2011 WPI Regional Chairman's Award
2012 WPI Regional Finalists
  #6   Spotlight this post!  
Unread 19-01-2006, 17:51
scottmso scottmso is offline
Registered User
FRC #1561 (RoboDucks)
Team Role: Programmer
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Oklahoma City, OK
Posts: 26
scottmso is an unknown quantity at this point
Send a message via AIM to scottmso
Re: Major CMUcam issues - LabView app won't work, very low-quality picture

Update: I plugged it in today, for whatever reason the thing works great now! It was blurry at first, but we had to adjust the focus. I then realized I put the lens on at a wrong angle (thank god I didn't strip tle threads.) It works great now!
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
National Instruments LabVIEW and Data Acquisition Forum Danny Diaz National Instruments LabVIEW and Data Acquisition 1 16-01-2006 13:20


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

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