Connect the camera directly to the PC via serial cable.
Connect the camera power only to an RC PWM, analog or digital pin.
Do not connect the camera to the RC TTL port.
The RC and OI must be powered up and communicating.
The camera must be switched on
You can have either Labview or the RC controlling the camera but not both at the same time. Trying to only confuses the camera since it doesn’t know who to listen to.
The Camera Servos are connected to the RC. If i wanted to control those servos would I have to connect Camera or the RC?
In order to read the Camera output, would i have to combine the FRC code and the Camera code or upload the FRC code to RC and Camera code to camera?
We only download our code to the RC not to the camera. That code in the RC handles setting up the camera.
We can send commands directly to the camera through Labview or a terminal emulation program on your PC to play around, but in competition we’ll only be working through the RC code.
Labview cannot be used to test drive the camera servos with this year’s model of the camera. It can play with the other camera controls, and help you focus the camera lens.
Ok, wait. We had the camera working with LabVIEW. We’re supposed to connect the camera to the TTL, the RC to the comp’, pass the MPLab camera program to the RC and then take out the TTL, connect the CMU to the comp’ and then use LabVIEW to calibrate?
If so, how?(and please don’t send me to even more manuals, I try to read them but evantually I barely understand what they tell me to do:( ).
Once you load the program to the RC leave the TLL connected to the camera so the RC knows what the camera is seeing. You only need to have the camera connected to the computer to calibrate it. Hope that helps a little.
We loaded the program, it worked once(found the light), but the servos didn’t move. Then we realized that we put the camera power and the Servo PWM cables to the Digital IO :eek: . We fixed it, put them all in the PWM output, didn’t work. Put the power in the Digital IO. Didn’t work.
What now???
I also recommend using the Digital or Analog outputs to power the camera. To make the servo’s move make sure you have your backup battery charged. You can check to see if the OI is reporting low backup battery.
I’m with Kevin on this. Why would you recommend that, and why would you do so more than once? Please, take a look at the specs. They recommend 7.2V. At worst, it will operate at 5.2V. The 5V that comes off of the analog/digital I/O pins is NOT ENOUGH to run the camera. If somehow, miraculously, you’re getting your camera to turn on at 5V, it’s certainly not going to be operating at its best. The camera is supposed to run on 7.2V, and the only place you can legally find this on the RC is the PWM ports. Please don’t spread misinformation when you don’t actually know the answer… it causes a lot of headaches for teams who follow bad advice, and will cause people to have to come back here and ask why their camera doesn’t work, even though someone said it should.