|
|
|
| Glad I have more than six weeks with you. |
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools |
Rating:
|
Display Modes |
|
#1
|
|||
|
|||
|
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!
|
|
#2
|
||||
|
||||
|
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)
|
|
#3
|
|||||
|
|||||
|
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? |
|
#4
|
|||||
|
|||||
|
Re: Half Sidecar PWM Ports Working
Quote:
Quote:
|
|
#5
|
|||
|
|||
|
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. |
|
#6
|
|||
|
|||
|
Re: Half Sidecar PWM Ports Working
Quote:
Last edited by afclsn : 29-01-2014 at 10:12. Reason: Typing error |
|
#7
|
|||||
|
|||||
|
Re: Half Sidecar PWM Ports Working
As previously stated I would check to see if the 12 volts is going into the sidecar.
|
|
#8
|
|||
|
|||
|
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. Last edited by afclsn : 29-01-2014 at 00:08. Reason: Typing error |
|
#9
|
|||
|
|||
|
Re: Half Sidecar PWM Ports Working
We will definitely check this tomorrow, as this is a new assembly of the electronics and it very well could be the issue, I just didn't think to check it.
|
|
#10
|
|||||
|
|||||
|
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.
|
|
#11
|
|||||
|
|||||
|
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? Last edited by Toa Circuit : 29-01-2014 at 09:05. |
|
#12
|
|||
|
|||
|
Re: Half Sidecar PWM Ports Working
Quote:
any other ideas? thanks. Last edited by afclsn : 29-01-2014 at 10:23. Reason: forgot something |
|
#13
|
|||
|
|||
|
Re: Half Sidecar PWM Ports Working
Quote:
Last edited by afclsn : 29-01-2014 at 10:22. Reason: More information. |
|
#14
|
|||||
|
|||||
|
Re: Half Sidecar PWM Ports Working
Only of the "are you sure it's plugged in?" sort. For example, what revision of the cRIO image is installed?
|
|
#15
|
|||||
|
|||||
|
Re: Half Sidecar PWM Ports Working
afclsn, Can you take a picture of your side car and electronics layout for us?
Thanks. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|