![]() |
So what happend with our camera?
So as an electrical guy, I'm trying to pin down some issue with our camera after the end of our season. I cant seem to figure out what was going on, and the programming team wasn't to sure either. So hopefully someone can give me a nugget of info about what happened.
The setup: Camera at the top of our turret. Wiring run was 5 feet, About a foot from the end there is a DB25 connector where the 2 servo runs, 1 TTL run, and 2 limit switches run though for quick disconnect. 2 runs of cable: 1 was TTL and both servos, the second was power. Each run was heatshrinked with clear heatshirnk ran though the alum frame of our turret. All wires had continuity and were solid runs with unmeasurable resistance. The problems: 1. Intermittent connection, sometimes the camera would work, sometimes it wouldn't. Wiring seemed fine, TTL chip was hot glued to RC, and the Power and data cables were hot glued into the case our camera was at and worked fine for a few matches then mysteriously stopped working. I couldn't track down the issue, but the programming team swore their code was fine, and when it did work, it worked fine. 2. During disable, the camera would want to go to 0, 0 rather than 127,127, it would jitter there, however during normal operation, camera would recenter to 127,127 fine. 3. during programming, the camera would jitter like above. 4. This happened on both a 2006 RC and a 2004 RC, on the 2006 RC, it seemed that when the camera worked and tracked, it would not jitter, but when it was not going to work, it would jitter. on the 2004 RC the jitter seemed almost random. So what do you guys think? Is it a wiring issue? Code? or something else? Ill try to provide whatever answers and data i can if asked. Thanks for your help! |
Re: So what happend with our camera?
Quote:
Quote:
Quote:
Quote:
|
Re: So what happend with our camera?
sorry for not being clear! :ahh:
When i say "Camera not working" I mean no data being recived according to our programming teams code and what it displayed in terminal. The programming team was able to force the tracking code to attempt to search without data so we knew our servos were physically and eletrically fine. I did check every connection every chance i got, but to no avail. I even went so far as to slightly bending the pins of the TTL port to give us a secure and good conducting connection. Internal break is possible, but im not positive, ill probably end up running my DMM on each wire again and see what i can find next time i get up to the school. According to the documentation i read, setting disable sets all the pwm outputs to 127 (Nutral to the victors). But i could be mistaken, has anyone tried running a Servo with just +5v and ground connected? I was thinking it might be interferance but now im curious, I think i have some spair pinheaders around here and some servos, so ill give that a go tommrow. Im curious about your single servo movment. What was the other servo doing? Do you happen to know what PWM you had them connected to? This sounds very similar to what was going on with ours, i think 1 servo was acting how you described during programming, and both servos were acting that way during disabled. |
Re: So what happend with our camera?
Quote:
Quote:
A few other people have reported a similar problems. Some sound like our problem and others sound like an intermittent problem where the camera just stops working. If you look at the 8.2 Battery Voltage Bug thread in the programming forum people reported they changed their code to check if the camera stopped sending packets, and if so to reinitialize the camera. Quote:
Quote:
|
Re: So what happend with our camera?
Quote:
If he meant that a single servo would move (and continue to move) then something was not right. The servos are suppose to be disabled (127'd) when the robot is disabled. |
Re: So what happend with our camera?
Quote:
Quote:
|
Re: So what happend with our camera?
Quote:
Today we replaced the last bit of cable to the serial input of the camera in an attempt to track down an intermittent communication problem. It fixed the problem, and it also seems to have stopped the servo jittering at zero during disable. |
Re: So what happend with our camera?
Quote:
|
Re: So what happend with our camera?
Well, i thought it might have been crosstalk, but i a fresh pwm wire (2 connected together to make the length) and it still didnet get data. The servos signals wrapped around the ground would cut the crosstalk correct?
|
Re: So what happend with our camera?
Quote:
|
Re: So what happend with our camera?
Our CMUCam has an annoying tendancy to freeze up and stop tracking/communicating with the RC. The whole unit is freezing, since the 'tracking' status LED on the camera locks itself on or off and no longer responds to the green light.
We still aren't sure exactly what is causing it, but I think we're going to re-initialize the camera if it stops talking to us. I'm not sure if that will fix it, since it seems like it loses communication. It's quite frustrating, overall. |
Re: So what happend with our camera?
Quote:
|
Re: So what happend with our camera?
Quote:
Thanks for the help everyone, Unfortunitally i havent had a chance to run by the school and go over eveything with a fine tooth comb. When i do ill report back with my findings |
| All times are GMT -5. The time now is 03:16. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi