|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Getting the Camera and Default Code to Work
I know my team spent alot of time on this and basicly it was electrical that screwed us up but just incase your having a problem ill clarify things here. First of all the servos have to be connected directly to the pwm ports on the controller, NOT THE CAMERA!!! Connecting your servos to the camera will let you move them with software that interacts with your computer(like cmucam2gui_fe.jar) but not any code thats actually on the controller. The camera power must come from the digital in/out port on the controller, I have no idea why it says in the manual to use a pwm port from the controller but the camera will get no power from a pwm port and will thus not work. This is were our electrical team really screwed up, remember to first have the TTL-232 Converter plugged in and you do need both batteries on the controller plugged in for it to work. Electrical on our team said we didn't need the backup battery and the servos would not work, once it was in everything worked fine.
I hope this helps you from team 1676. |
|
#2
|
|||||
|
|||||
|
Re: Getting the Camera and Default Code to Work
Quote:
|
|
#3
|
|||
|
|||
|
Re: Getting the Camera and Default Code to Work
Interesting... we hooked it up directly to a 7.2 volt battery and the image came in all screwed up. Today ill have to try that.
|
|
#4
|
||||
|
||||
|
Re: Getting the Camera and Default Code to Work
Quote:
This was using LABView connected to the serial port on the camera over a USB to Serial cable, and just the RC, with a fully charged backup battery, and a full charged 12V as the power source. Seems to work fine for us, at the moment as we are learning and exploring the abilites of the camera. Last edited by Phalanx : 17-01-2006 at 23:21. |
|
#5
|
|||
|
|||
|
Re: Getting the Camera and Default Code to Work
Well today I plugged the camera's power into the PWM port and the servos into the camera and while the camera does now get power the servos did not move. I put the servos and slot one and two and the camera's power into slow three and everything worked fine. I guess the servos have to be in port one and two but it dosnt matter where the camera's power is plugged into?
|
|
#6
|
||||
|
||||
|
Re: Getting the Camera and Default Code to Work
I'm no expert on this subject since a I myself am learning about this technology just like the rest of you.
As I recall reading from the specs, if you are using the default camera code loaded on the RC, then the servos for pan and tilt, do need to be connected to PWM 1,2 on the RC for it to work and power for the camera can come from any available PWM. Connecting pan and tilt to the camera board itself only works when using Labview on a PC connected to the serial interface on the camera. I'll now have to revisit connecting the camera to a PWM port instead of a digitial port for power. We are using last years RC with whatever code we used last year (No camera code) so we may not have power on some of the PWM ports based on the code, I'll try a few different ones and see. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Out of the Box Camera Code | russell | Programming | 9 | 21-10-2009 05:28 |
| For anyone who doesn't get the camera code..... | Jake M | Programming | 8 | 16-01-2006 18:56 |
| Default Camera Code Flowchart | cprogrammer | Programming | 1 | 27-02-2005 11:04 |
| Trying to import Camera code into program without. | Kingofl337 | Programming | 1 | 18-02-2005 00:43 |
| Team THRUST - Kevin's Code and Camera Code Combine | Chris_Elston | Programming | 3 | 31-01-2005 22:28 |