Go to Post But that is not all-FIRST is about teaching mentors what kids are like all over again. It's about closing the generation gap, creating bonds, life time friends, and skills that will last everyone involved a lifetime. - Team0 [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 12-01-2006, 18: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
Connecting 7.2V (directly) to camera

I'm trying to set up our CMUcam to connect directly to the PC (via serial.) However, I can't find a cable to connect the 7.2V battery to the camera unit. Is there a pre-made cable to do this or am I expected to do this myself? (I was thinking about cutting one of the battery to RC cables to fit since it's a female connector) Any advice appreciated - thanks
  #2   Spotlight this post!  
Unread 12-01-2006, 19:03
devicenull devicenull is offline
Robot? We need a robot?
no team
 
Join Date: Sep 2004
Rookie Year: 1234
Location: n/a
Posts: 359
devicenull is just really nicedevicenull is just really nicedevicenull is just really nicedevicenull is just really nicedevicenull is just really nice
Re: Connecting 7.2V (directly) to camera

The easiest way to get power to the camera is a PWM cable from one of the RC's PWM ports to the power in port on the camera. The manual really isn't written that clearly, but powering the camera off the RC is the easiest option.
  #3   Spotlight this post!  
Unread 12-01-2006, 19:37
Mike AA's Avatar
Mike AA Mike AA is offline
Programmer and Mentor
AKA: Mike Aalderink
FRC #3458 (Code Blue)
Team Role: Programmer
 
Join Date: Jan 2003
Rookie Year: 1999
Location: Holland, Mi
Posts: 698
Mike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to behold
Send a message via MSN to Mike AA
Re: Connecting 7.2V (directly) to camera

When I tested ours about an hour ago I had to run the camera directly off the RC ( Robot controller). You do this with the PWM cables. Connect the PWM cable to port J2, on the "bottom" of the camera board. Located next to the tiny switch. Connect the other end of the cable to a PWM port on the RC, doesn't matter which one as it only uses the port for power. Next connect the backup batter (blue package about 3x2) to the RC, using the 5 inch long adapter cable. then connect power via the 12 volt battery to the RC, please run through the breaker/fuse box. Your camera should zero out and there should be one or two lights on the camera.

-Mike
  #4   Spotlight this post!  
Unread 12-01-2006, 22:32
tml240's Avatar
tml240 tml240 is offline
bahh
no team
Team Role: Alumni
 
Join Date: Jan 2004
Rookie Year: 2003
Location: Ann Arbor, MI
Posts: 63
tml240 is on a distinguished road
Re: Connecting 7.2V (directly) to camera

Hello,

I got my camera working today through last year's controller (w/ PWM and such) and played around with Labview and it worked fine..

and I want to keep the topic in here since I had the same question..

Is there anyway to put NiCad pack directly to the power port on the Control Board? I want to work with the camera at home and the workbook doesn't specify how to hook it up with out going through RC. (other groups aside from the camera crew could be using it so..)
__________________

OHL 2004- ultimate NHL 2004 MOD
  #5   Spotlight this post!  
Unread 12-01-2006, 23:00
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: Connecting 7.2V (directly) to camera

It looks like we're going to try to splice together a PWM cable and a backup battery cable now. Would this cause any major problems? I'm hoping not. I guess I'll see and I'll come back with the results in a day or two...
  #6   Spotlight this post!  
Unread 12-01-2006, 23:05
tml240's Avatar
tml240 tml240 is offline
bahh
no team
Team Role: Alumni
 
Join Date: Jan 2004
Rookie Year: 2003
Location: Ann Arbor, MI
Posts: 63
tml240 is on a distinguished road
Re: Connecting 7.2V (directly) to camera

Quote:
Originally Posted by scottmso
It looks like we're going to try to splice together a PWM cable and a backup battery cable now. Would this cause any major problems? I'm hoping not. I guess I'll see and I'll come back with the results in a day or two...
*hoping for a good update..

i stripped the PWM cables and was about to hook it up to the battery pack, but i wasnt sure with a few things:
- Aside from pwr lines (red and black) what do i do with white one in the middle?
- Frying the battery? (i can probly put together to make my own but..)
- Frying the $200.00+ Camera board?

__________________

OHL 2004- ultimate NHL 2004 MOD
  #7   Spotlight this post!  
Unread 12-01-2006, 23:10
DonRotolo's Avatar
DonRotolo DonRotolo is offline
Back to humble
FRC #0832
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Atlanta GA
Posts: 7,007
DonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond repute
Re: Connecting 7.2V (directly) to camera

Quote:
Originally Posted by tml240
*hoping for a good update..

i stripped the PWM cables and was about to hook it up to the battery pack, but i wasnt sure with a few things:
- Aside from pwr lines (red and black) what do i do with white one in the middle?
- Frying the battery? (i can probly put together to make my own but..)
- Frying the $200.00+ Camera board?

the RED wire is +7.2 volts DC
The BLACK wire is Ground
The white wire is unused

Be ABSOLUTELY SURE you have the Polarity of both ends (the battery AND the plug onto the camera right - there is NO reverse polarity protection on the camera board and it WILL fry. Triple check, then check again. really.

Anyway, you can power the camera board from most any source of 6 ro 15 volts DC that can supply 200 mAmps. the 7.2 volt backup battery - or an R/C battery - is just fine.

Don
__________________

I am N2IRZ - What's your callsign?
  #8   Spotlight this post!  
Unread 13-01-2006, 08:47
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: Connecting 7.2V (directly) to camera

Quote:
Originally Posted by Don Rotolo
the RED wire is +7.2 volts DC
The BLACK wire is Ground
The white wire is unused

Be ABSOLUTELY SURE you have the Polarity of both ends (the battery AND the plug onto the camera right - there is NO reverse polarity protection on the camera board and it WILL fry. Triple check, then check again. really.

Anyway, you can power the camera board from most any source of 6 ro 15 volts DC that can supply 200 mAmps. the 7.2 volt backup battery - or an R/C battery - is just fine.

Don
I know to be very careful - I think we're going to have the NiCad battery one one end and a regular 3-pin PWM connector on the other. I'm guessing it means that if we plug it in backwards nothing will really happen because the 3rd pin (where the +7.2V is going to) is disconnected.

I found this: http://www.cs.cmu.edu/~cmucam2/CMUcam2_manual.pdf which says the same thing, that any input 6-15 volts can be used. By the looks of it, these CMUCam2 boards are a lot different than the FIRST ones. However, are they (for the most part) electrically identical?

Thanks
  #9   Spotlight this post!  
Unread 13-01-2006, 08:56
Drok00 Drok00 is offline
Guy With Fluffy Hair
AKA: Jason Petrilla
FRC #0698 (Grizzly Bots)
Team Role: College Student
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Chandler/Tempe, Arizona
Posts: 16
Drok00 is on a distinguished road
Send a message via AIM to Drok00
Re: Connecting 7.2V (directly) to camera

we actually just did the exact same thing you are talking about yesterday and ended up frying the nice new $200 camera board... we hooked the pwm cable up to the 7.2 volt battery and plugged it into the camera itself, we then plugged the serial cable into the computer and im not entirely sure what happened ( our programmer was playing around with it but i saw the setup and talked to him afterwards) he said he jsut turned it on, and then i saw this giant cloud of magic smoke... ( and he reacted rather slowly... so the smoke continued to pour out) i would not suggest not running it through the RC!! set it up through the RC for power if you can.. unless he did somehting wrong when setting it up ( i dont think he did) frying it could be a real possibility!
  #10   Spotlight this post!  
Unread 13-01-2006, 19:49
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: Connecting 7.2V (directly) to camera

Quote:
Originally Posted by Drok00
we actually just did the exact same thing you are talking about yesterday and ended up frying the nice new $200 camera board... we hooked the pwm cable up to the 7.2 volt battery and plugged it into the camera itself, we then plugged the serial cable into the computer and im not entirely sure what happened ( our programmer was playing around with it but i saw the setup and talked to him afterwards) he said he jsut turned it on, and then i saw this giant cloud of magic smoke... ( and he reacted rather slowly... so the smoke continued to pour out) i would not suggest not running it through the RC!! set it up through the RC for power if you can.. unless he did somehting wrong when setting it up ( i dont think he did) frying it could be a real possibility!
Ouch...

I wonder if he wired it backwards?

And does anyone know how much voltage the PWM connectors we're supposed to connect the CMUcam put out? thanks
  #11   Spotlight this post!  
Unread 14-01-2006, 13:47
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: Connecting 7.2V (directly) to camera

We plugged it in via the 7.2V with an adapter we threw together, and it hasn't let the smoke out yet, and both LEDs come on. We're going to try it with LabView, will keep you updated...

Last edited by scottmso : 14-01-2006 at 13:50.
  #12   Spotlight this post!  
Unread 14-01-2006, 20:06
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: Connecting 7.2V (directly) to camera

Alright, we're having some problems. I can't get LabView to see the camera (I get an error message when I try to run it.) I can get an output from the CMUcam in HyperTerminal, but all I get is the message that says CMUcam and the version, and sometimes an "ACK". Sometimes the letters in HyperTerminal are off. (like !CK rather than ACK) Any ideas on how I can get this working? I've tried two different serial cables, and I've made sure the baud settings in Windows/HyperTerminal are set to what they should be (according to the manual). Any advice greatly appreciated - thanks!
  #13   Spotlight this post!  
Unread 14-01-2006, 21:03
devicenull devicenull is offline
Robot? We need a robot?
no team
 
Join Date: Sep 2004
Rookie Year: 1234
Location: n/a
Posts: 359
devicenull is just really nicedevicenull is just really nicedevicenull is just really nicedevicenull is just really nicedevicenull is just really nice
Re: Connecting 7.2V (directly) to camera

Quote:
Originally Posted by scottmso
Alright, we're having some problems. I can't get LabView to see the camera (I get an error message when I try to run it.) I can get an output from the CMUcam in HyperTerminal, but all I get is the message that says CMUcam and the version, and sometimes an "ACK". Sometimes the letters in HyperTerminal are off. (like !CK rather than ACK) Any ideas on how I can get this working? I've tried two different serial cables, and I've made sure the baud settings in Windows/HyperTerminal are set to what they should be (according to the manual). Any advice greatly appreciated - thanks!
Did you install the VISA app on the labview driver CD? The camera gui seems to need it to work, did you change the com port it was using too? (Box in top left corner)
  #14   Spotlight this post!  
Unread 14-01-2006, 21:31
mechanicalbrain's Avatar
mechanicalbrain mechanicalbrain is offline
The red haired Dremel gnome!
FRC #0623 (Ohm robotics)
Team Role: Electrical
 
Join Date: Apr 2005
Rookie Year: 2004
Location: Virginia
Posts: 1,221
mechanicalbrain has a reputation beyond reputemechanicalbrain has a reputation beyond reputemechanicalbrain has a reputation beyond reputemechanicalbrain has a reputation beyond reputemechanicalbrain has a reputation beyond reputemechanicalbrain has a reputation beyond reputemechanicalbrain has a reputation beyond reputemechanicalbrain has a reputation beyond reputemechanicalbrain has a reputation beyond reputemechanicalbrain has a reputation beyond reputemechanicalbrain has a reputation beyond repute
Send a message via AIM to mechanicalbrain Send a message via Yahoo to mechanicalbrain
Re: Connecting 7.2V (directly) to camera

Just curious, I'm remembering our accelerometers from last year and wondering if red = power and white = signal or reversed. Has anyone tried to plug the camera into the RC, pull out their handy dandy multimeter, and get some readings? Also pwm (Im assuming the camera works on the same voltage) output 5 volts 7.2 may be too much. If I were to power it directly, and I'm still not sure why I you need to or are willing to risk expensive hardware to do it, I would use a reliable power source like my handy dandy (I like that term) PC power supply as apposed to a chemical battery.
__________________
"Oh my God! There's an axe in my head."
623's 2006 home page
random mechanicalbrain slogans

  #15   Spotlight this post!  
Unread 14-01-2006, 22:37
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: Connecting 7.2V (directly) to camera

Not sure if we installed the VISA app on there - someone else installed LabView. And I didn't change the serial port. It was on COM1 the whole time which is my only serial port.

And I'm not sure whether or not plugging in the 7.2V hurts the camera or not. I noticed one of the chips (the relatively large square one on the left-bottom corner of the board) was getting a little hot. Is this normal? I was thinking that the hot chip may be a symptom of feeding it too much voltage, or maybe it just gets hot.
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
How To Use the Google Camera generalbrando Kit & Additional Hardware 2 07-02-2006 16:00
Scripting Setup and the Camera + Serial Port Drivers CJO Programming 22 11-01-2006 17:42
Unresponsive camera neilsonster Programming 9 17-02-2005 08:51
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


All times are GMT -5. The time now is 14: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