|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
CMUcam2 code for EDU-RC?
Will the CMUcam2 work on the EDU-RC controller?
If so, is it the same code? and Do I use the TTL port (I just want to make sure its the same and I don't burn anything out) on the EDU controller? Last edited by Calvin : 19-01-2006 at 02:12. |
|
#2
|
||||
|
||||
|
Re: CMUcam2 code for EDU-RC?
yes, yes, and (checks own edu controller) yes.
as kevin said, the cam code was designed witht the edu controller in mind. |
|
#3
|
||||
|
||||
|
Re: CMUcam2 code for EDU-RC?
I haven't seen our EDU controller in a while, does the TTL port have 3 pins or 4 pins? I wanna say 3 and if so do we need all 4? I assume not since only 3 go to the camera, but the TTL adapter still has four pins, so which 3 do we have to align?
|
|
#4
|
|||||
|
|||||
|
Re: CMUcam2 code for EDU-RC?
Quote:
Obviously, the +5V pin on the full-size RC is not needed. Last edited by Eldarion : 19-01-2006 at 14:57. |
|
#5
|
||||
|
||||
|
Re: CMUcam2 code for EDU-RC?
Quote:
|
|
#6
|
|||
|
|||
|
Re: CMUcam2 code for EDU-RC?
Quote:
|
|
#7
|
||||
|
||||
|
Re: CMUcam2 code for EDU-RC?
Quote:
-Kevin |
|
#8
|
||||
|
||||
|
Re: CMUcam2 code for EDU-RC?
Quote:
Jon Mittelman |
|
#9
|
||||
|
||||
|
AHH! I'm getting lost, someone has to fill me in!
Quote:
. What do you mean by "hack a cable" and how would this cable look/work? do you need to "hack a cable" for the edu bot and the frc bot? or just one. do you use a pwm cable to go from ttl to ttl port? I could not find anywhere what cables you use where? When do you use the ttl chip that came with it? Is that only for testing? One person said "obviously you don't need the +5v" and the other said to "hack a cable" so I am very confused. I have been tring to get the camera to work for a few days. The only led that comes on is green, and I think it is the power one. I have gotten the camera to center itself, that's it. grrr, I feel like everyone has figured this out but me. I know this might be a lot to ask but could someone make a quick schematic on paint of all the conections you need to get the camera to work? I have not found any good solid and simple info or diagrams in any documentation, so I think that would be REALLY HELPFUL to alot of people! I know that is alot of questions so thanks for all your help in advance! I should probably create a new thread for this but I know people don't like that. -David Mazza -Team 564 -564.first@gmail.com |
|
#10
|
|||||
|
|||||
|
Re: AHH! I'm getting lost, someone has to fill me in!
Quote:
This thread is for "hacking" the CMUCam to run on the EDU controller. |
|
#11
|
||||
|
||||
|
Re: AHH! I'm getting lost, someone has to fill me in!
Quote:
|
|
#12
|
|||
|
|||
|
Re: AHH! I'm getting lost, someone has to fill me in!
Quote:
1) Connect a PWM cable from the TTL port on the mini-RC to the inputs on the TTL converter board so that the black lead matches B on the board. 2) Connect your hacked cable with the power pin to a PWM output or digital/analog input. The red pin will pull +5V from the port. 3) Connect the pin on the red cable to TTL converter board. It will be the open slot opposite the one marked B. 4) Connect a PWM cable from the TTL converter to the camera's RS232 input. |
|
#13
|
||||
|
||||
|
Re: AHH! I'm getting lost, someone has to fill me in!
Quote:
Thanks! That's exactly what I needed to know. Now I can pass that on to my electronics guy! |
|
#14
|
||||
|
||||
|
Re: CMUcam2 code for EDU-RC?
Quote:
One issue I didn't see in this forum involves using the Labview application with the CMUCam2. Bear with me while I describe the problem before replying, because in general it DOES work. After a few (more than 2, less than 10) frame grabs, the application shows the progress bar going from 0 to 100%, pausing momentarily at 100%, not displaying the frame that was grabbed in the window, then after some amount of time (more than 30 seconds, less than 5 minutes) it re-tries getting the image and the progress bar goes from 0 to 100% as before. Once the application is in this state, the only solution is to close LabView, open the project and run it again. This typically fixes it, and we can grab a few more frames before it crops up again. As one could guess, this makes camera calibration/focusing a very trying task. Relevant information: EduRC from 2005 Freshly charged backup battery providing prime power for EduRC and cam Laptop with REAL serial port (none of that USB nonsense) Original CMUCam2 code (not the EduRC version, we started this before seeing it was available) with minor mods to build cleanly for EduRC2005 instead of FRC2006. At this point, we only need to do some minor tweaking of camera values to consider it fully 'calibrated' so it's quickly becoming a moot point, but I'm hoping this info might help to make the Labview app more stable. It's certainly a grand improvement over the original Java version from last year. Cheers, -Eric |
|
#15
|
|||
|
|||
|
Re: CMUcam2 code for EDU-RC?
Quote:
And thank you everyone for the quick response! |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| 2006 CMUcam2 Code | Kevin Watson | Programming | 81 | 10-02-2007 20:17 |
| CMUCam2 code (FRC and EDU?) | Amber | Programming | 0 | 15-02-2005 22:23 |
| Team THRUST - Kevin's Code and Camera Code Combine | Chris_Elston | Programming | 3 | 31-01-2005 22:28 |
| CMUCam2 Camera Code - Are important parts commented out? | Mr. Lim | Programming | 4 | 14-01-2005 12:11 |
| heres the code. y this not working | omega | Programming | 16 | 31-03-2004 15:18 |