![]() |
Half Sidecar PWM Ports Working
This is team 4474, posting during our second FRC season. It seems that the first 4 PWM ports in our sidecar don't respond correctly. Ports 1 and 2 output "forward" to out motor controllers while ports 3 and 4 output "reverse" at all times. Ports 5 through 10 work just fine. We've tried two different sidecars, several different serial cables, and two different cRIOs with the exact same results. The battery voltage was near full when we tested it as well. Help would be greatly appreciated!
|
Is the sidecar wired to and recieving 12volts from the PDB and are all three voltage lights on it fully illuminated with the DB37 cable disconnected? ( Cable that attaches to the crio)
|
Re: Half Sidecar PWM Ports Working
Quote:
How are you determining that they are outputting reverse/forward all the time? How are your motors wired? How did you determine ports 5-10 are working properly? What speed controllers are you using and are they wired properly? |
Re: Half Sidecar PWM Ports Working
Quote:
Quote:
|
Re: Half Sidecar PWM Ports Working
Quote:
Thanks for reminding us of this, we will be sure to check it tomorrow since our meeting is now over. Thank you! We will let you how how it goes. |
Re: Half Sidecar PWM Ports Working
Quote:
|
Re: Half Sidecar PWM Ports Working
As previously stated I would check to see if the 12 volts is going into the sidecar.
|
Re: Half Sidecar PWM Ports Working
Quote:
Second, by "serial cable" I meant the db37 cable used to connect the digital sidecar to the digital io module in the crio. Sorry I used wrong name. Any other ideas? Thanks. |
Re: Half Sidecar PWM Ports Working
Quote:
|
Re: Half Sidecar PWM Ports Working
We had a similar failure but do not expect this to be your exact issue. We started to lose PWM outputs one after another until half the board had no output. We replaced the DSC and checked the bad one only to find a crack. The way the board is laid out, the crack cut the lines to one of the output devices but not the others.
|
Re: Half Sidecar PWM Ports Working
Check to see if they really are getting a forward or reverse signal. Green on the Jags is forward, red is reverse.
Why do I ask? I'm guessing you're using ports 1, 2, 3 and 4 for your drive motors. 3 and 4 are on one side, correct? If so, then everything is working as it "should", just not what you are expecting. (Since on a normal FRC drivetrain, the left side is a mirror image of the right side, and the motors are rotated 180 degrees...) You'll need to change your code to drive motors 3 and 4 inverted, or on the OUTPUT side of the corresponding Jags (The side with M+ and M-), make the motor's red go to M- and the motor's black go to M+. If that isn't what you're doing... then something very strange is going on indeed. EDIT: I guess I didn't understand your problem correctly. You're saying that the problem isn't inversion but lack of control? |
Re: Half Sidecar PWM Ports Working
Quote:
any other ideas? thanks. |
Re: Half Sidecar PWM Ports Working
Quote:
|
Re: Half Sidecar PWM Ports Working
Quote:
|
Re: Half Sidecar PWM Ports Working
afclsn, Can you take a picture of your side car and electronics layout for us?
Thanks. |
Re: Half Sidecar PWM Ports Working
Try making some code that allows you to directly control each output (As a Jaguar... like jag[1].Set(joystick.GetAxis(1)) ). See if the problem is really hardware or just your code not doing what you think it does.
|
Re: Half Sidecar PWM Ports Working
Quote:
|
Re: Half Sidecar PWM Ports Working
Quote:
|
Re: Half Sidecar PWM Ports Working
Quote:
|
Re: Half Sidecar PWM Ports Working
Quote:
We connect the black motor wire to the M- port, and the red motor wire to the M+ port. |
Re: Half Sidecar PWM Ports Working
Quote:
|
Re: Half Sidecar PWM Ports Working
Quote:
I case the photos don't work http://imgur.com/5nqNRqG http://imgur.com/1Ta5JIg |
Re: Half Sidecar PWM Ports Working
I noticed you are using the ribbon cable. Could you have a backwards ribbon cable? I know those were floating around and its also easy to make backwards if you not careful. I am not sure of the symptoms of a backwards we have never had one backwards, but I know other teams have. Does anyone know if this could be the symptom they are seeing?
|
Re: Half Sidecar PWM Ports Working
Quote:
Thanks. |
Re: Half Sidecar PWM Ports Working
So thanks for all the suggestion. Last Friday the sidecar started working again, and it was set up exactly as it was Wednesday and Thursday. This is good because the sidecar now works, but is also bad, because we don't know what went wrong. If you any other ideas as to what went wrong pleas let us know so that in the case it happens again we and other teams have a reference to go off of.
Thank you, Team 4474 |
Re: Half Sidecar PWM Ports Working
Bet the multipin connector was not fully seated at one or both ends.
|
Re: Half Sidecar PWM Ports Working
I was going to mention that driving your mecanums for a half hour might be just about the limit for a battery to handle. I know it is tempting to keep the testing going, but you really have to watch the power level during testing and driver training runs.
|
Re: Half Sidecar PWM Ports Working
Quote:
|
| All times are GMT -5. The time now is 04:58. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi