|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||||
|
|||||
|
USB - Serial cable
Hey guys,
i am trying to get a picture from the cmucam2 using mplab to my laptop, which doesnt have serail ports, only usbs (4 of them). i read somewhere that i need a driver of some sort... the usb cable im using is from the vex kit, i think, and its orange, if it helps you help me =] Thanks, im depsperate here! |
|
#2
|
|||||
|
|||||
|
Re: USB - Seiral cable
maybe this thread will help?
http://www.chiefdelphi.com/forums/sh...ad.php?t=46174 a real serial port does seem to work better, though. Don't you have any old computer around? (asks the guy with about 100 old computers at home) |
|
#3
|
|||||
|
|||||
|
Re: USB - Seiral cable
thanks, its ALIVE!
|
|
#4
|
|||||
|
|||||
|
Re: USB - Seiral cable
ANOTHER PROBLEM:
i've downloaded kevin's whistling code to the RC, connectede the camera as said (i think), and it isnt searching for the light at all... anyone knows what it might be? |
|
#5
|
|||||
|
|||||
|
Re: USB - Seiral cable
Quote:
It might be that you don't have camera power applied. It might be that you don't have the pan and tilt servos correctly connected. It might be that you don't have a fully-charged backup battery connected. It might be that you don't actually have the camera serial data connected properly. It might be that you don't have the Robot Controller enabled. It might be that you have a faulty camera board. What is it doing? You should be able to monitor the process with a terminal window while the computer is connected to the RC's program port. |
|
#6
|
|||||
|
|||||
|
Re: USB - Seiral cable
yup, having a few photos showing your setup, including all the wiring connections, and maybe some screen shots, would help others help you figure it out.
|
|
#7
|
|||||
|
|||||
|
Re: USB - Seiral cable
the camers is on, backup battery is good too...
it might be the wiring, though i dont thins so. pan is pwm1 tilit is pwm2, power is frome pwm16 and the ttl is connected, is that it? The window is supposed to say search, but it doesnt... any clue? |
|
#8
|
|||||
|
|||||
|
Re: USB - Seiral cable
What is the LED on the camera doing?
How about when you put the green light in front of the lens? Jacob |
|
#9
|
|||||
|
|||||
|
Re: USB - Seiral cable
Quote:
It sounds like the Robot Controller is not running the program. Are you running it tethered or via radio? What color are the status LEDs on the RC and OI? |
|
#10
|
|||||
|
|||||
|
Re: USB - Seiral cable
OK, now i've got her searching for the light, but once she finds it she doesnt stop searching, but keeps on going..
the red led doesnt turn on when she's "on" the target. Last edited by Tottanka : 29-10-2007 at 18:22. |
|
#11
|
|||||
|
|||||
|
Re: USB - Seiral cable
Quote:
You might find most of your concerns are addressed in Kevin Watson's CMUCam2 FAQ. |
|
#12
|
||||
|
||||
|
Re: USB - Seiral cable
If the red light doesnt come on the camera is not tracking it, even though its pointing at it. You might want to recalibrate your camera and get new color values.
|
|
#13
|
|||||
|
|||||
|
Re: USB - Serial cable
The camers if focused. I have calibrated her udins LabView, but it still doesnt work.
Any ideas? |
|
#14
|
|||||
|
|||||
|
Re: USB - Serial cable
Any ideas anyone?
|
|
#15
|
||||
|
||||
|
Re: USB - Serial cable
Download the CMUCam2 GUI and capture an image with the light in it. Next select the light and check to make sure that the values Y, Cr, and Cb are within the ranges you found when you calibrated the camera.
If the red light does not come on then the camera doesn't see the light, it must either be out of focus, calibrated wrong, or wired wrong. James |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| USB To Serial | Devo1098 | Programming | 3 | 30-06-2007 19:51 |
| Gameport to Usb cable vrs. Usb Chicklet | haywirerobotics | Control System | 4 | 25-01-2007 19:03 |
| usb to serial cable | karinka13 | Technical Discussion | 4 | 10-02-2006 17:30 |
| USB-Serial Cable + Terminal | Spencer E. | Programming | 3 | 22-01-2006 12:16 |
| Serial Cable | Andrew Rudolph | Technical Discussion | 9 | 15-08-2002 22:09 |