View Single Post
  #1   Spotlight this post!  
Unread 09-02-2014, 01:31
Zmarken Zmarken is offline
Registered User
FRC #1716 (Redbird Robotics)
Team Role: Engineer
 
Join Date: Dec 2013
Rookie Year: 2012
Location: De Pere
Posts: 30
Zmarken is an unknown quantity at this point
Re: First Programming - Victor/PWM help

Quote:
Originally Posted by popnbrown View Post
So for a while our issue was that when the PWMs were set to 1,2,3,4 only PWM Channel 3 would work. So I switched the left motors (PWM 1 and PWM 3) and the right front victor (originally PWM 3) worked. However, I was unable to replicate this working with both PWM 1 and PWM 3.

I couldn't get that victor working on PWM 3 or PWM 1 again, so I flipped the PWMs for the right and left side. Then, PWM 3 (which was now on the front right motor) now started to work.

So I changed the PWMs to use 3,4,5,6 to see if it was a PWM Channel issue, but then none of them worked (and they still don't).
In my experience, if only one port is working or if you're having port issues, it's got something to do with the Digital Sidecar. My team had a similar issue, and it turned out to be that the DSC wasn't getting enough power.

So, basic troubleshooting for that would be remove the ribbon cable that connects the Digital Sidecar to the Digital Breakout, and check if all 3 lights are lit (BAT 5V 6V) if they're still lit, then that means you've got good power. If one of them isn't lit, make sure that your DSC is connected correctly to the Power Distribution board as seen here.

That's what I'd start with. Hope it helps
Reply With Quote