Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   FRC Control System (http://www.chiefdelphi.com/forums/forumdisplay.php?f=176)
-   -   Digital Sidecar not giving PWM signal to the speed controllers (http://www.chiefdelphi.com/forums/showthread.php?t=113419)

hello world! 13-02-2013 13:40

Digital Sidecar not giving PWM signal to the speed controllers
 
The basic problem that i have is that when I deploy the code to the cRIO, the victor speed controllers (along with spike relays and pretty much anything else hooked up to the digital sidecar) keep giving me the flashing light, like they are waiting for a signal.

Some details about the digital side car is when the code is not deployed and everything is disconnected,(except for power of course) only the BAT light is on. When I plug the ribbon cable into the digital sidecar, the 5V light comes on. When I deploy the code the 5V light goes off unless the ribbon cable is at a weird angle, then the 5V light comes on and the victor speed controls work ... sometimes. Sometimes they still give me a blinking light and sometimes they get a mind of their own and go at whatever speed they deem necessary.

Things i have tried

1) Try going with the default code to see if that was the problem (It wasn't)
2) Tried unwiring the power and rewiring it
3) Tired rewiring the ribbon cable to see if it was wired backwards

Is the 6V light supposed to be on, and when is it supposed to be on?
What would be the problem?
Anything else i can try before deeming the sidecar broken?
(edited)

ehochstein 13-02-2013 13:50

Re: Digital Sidecar not giving PWM signal to the speed controllers
 
All voltage lights should be lit on the digital sidecar. Can you post a picture(s) of your electronics set-up?

Thanks,
Evan

ebarker 13-02-2013 14:09

Re: Digital Sidecar not giving PWM signal to the speed controllers
 
you have a piece of junk ribbon cable. I wish they had not shipped them this year.

get one of these: http://www.andymark.com/product-p/am-0500.htm

also make sure the DIO module is in the cRio in slot # 2.

hello world! 13-02-2013 14:09

Re: Digital Sidecar not giving PWM signal to the speed controllers
 
https://mail.google.com/mail/ca/?ui=....1&disp=thd&zw

https://mail.google.com/mail/ca/?ui=....2&disp=thd&zw

https://mail.google.com/mail/ca/?ui=....3&disp=thd&zw

they aren't big images, is there a better way to show you these (edit)

RyanN 13-02-2013 14:19

Re: Digital Sidecar not giving PWM signal to the speed controllers
 
2 Attachment(s)
Quote:

Originally Posted by hello world! (Post 1232793)

We cannot view the images. When replying to a post, scroll down and click on Manage Attachments. There, you can upload the pictures so we can view them.

Attachment 13972

Next, at the top of the the message window, there is an Attachments drop down. Your attachment should be there. Just click and it will place the attachment at your current cursor point.

Attachment 13973

hello world! 13-02-2013 14:29

Re: Digital Sidecar not giving PWM signal to the speed controllers
 
3 Attachment(s)
[ATTACH][ATTACH]Attachment 13977[/ATTACH][/ATTACH]

RyanN 13-02-2013 14:35

Re: Digital Sidecar not giving PWM signal to the speed controllers
 
The 6V light should be lit on the digital side car. However, that should only impact servos, not normal PWM outputs.

There should be a Robot Signal Light (RSL) output with an LED next to it on the DSC as well. Can you tell us what it's doing? Does it flash?

Also, on your Power Distribution board, what do you have plugged into the 5V output? The only thing that should be plugged into that port is a camera.

Mark McLeod 13-02-2013 14:38

Re: Digital Sidecar not giving PWM signal to the speed controllers
 
It looks like you have the Solenoid power and the Digital Sidecar power swapped.

The Solenoid Breakout gets 24v power.
The Digital sidecar gets 12v power.

ebarker 13-02-2013 14:39

Re: Digital Sidecar not giving PWM signal to the speed controllers
 
After looking at the pictures my issue is still with the ribbon cable. There was a batch of bad cables last year and the rework instructions on just not viable. It takes a proper crimp tool to make ribbon cable and an proper cable tester to make sure it is done correctly.

You can continue to chase other theories and fiddle with the ribbon cable while you wait on a new one to arrive but I would definitely get a new cable asap.


Statistically the most likely failures on the control chain is the software followed by the ribbon cable, followed by reversed PWM cables, IMHO.

RyanN 13-02-2013 14:41

Re: Digital Sidecar not giving PWM signal to the speed controllers
 
Quote:

Originally Posted by Mark McLeod (Post 1232813)
It looks like you have the Solenoid power and the Digital Sidecar power swapped.

The Solenoid Breakout gets 24v power.
The Digital sidecar gets 12v power.

Look again. The only thing that is getting 24V is the cRIO. The Solenoid Breakout can either take 12V or 24V.

To me it looks like they have the 5V output from the PD board connected to the digital side car. That would cause an issue. Even though the LEDs are lit (minus the 6V one), they wouldn't have enough voltage to drive the various chips on board to enable the PWM output.

I also agree with the ribbon cable posts. Those things are trouble.

Mark McLeod 13-02-2013 14:45

Re: Digital Sidecar not giving PWM signal to the speed controllers
 
Quote:

Originally Posted by RyanN (Post 1232816)
Look again. The only thing that is getting 24V is the cRIO. The Solenoid Breakout can either take 12V or 24V.

To me it looks like they have the 5V output from the PD board connected to the digital side car. That would cause an issue. Even though the LEDs are lit (minus the 6V one), they wouldn't have enough voltage to drive the various chips on board to enable the PWM output.

I also agree with the ribbon cable posts. Those things are trouble.

Yea, the Digital Sidecar power is obviously miswired, but the resolution of my eyes and the photo aren't up to snuff.

hello world! 13-02-2013 15:44

Re: Digital Sidecar not giving PWM signal to the speed controllers
 
okay, i realized that the ribbon cable is in fact the problem

However, fixing that problem makes it so that the victor speed controllers have signal again, but the 6V light is still not on. Is it because i don't have a servo hooked up to it? or should it be on regardless?

RyanN 13-02-2013 16:00

Re: Digital Sidecar not giving PWM signal to the speed controllers
 
It should be on regardless.

You should have 12V power from the Power Distribution board hooked directly into the Digital Side Car.

From what I can tell, you have the 5V output from the PD board hooked into the Digital Side Car.

Ether 13-02-2013 16:06

Re: Digital Sidecar not giving PWM signal to the speed controllers
 
Quote:

Originally Posted by hello world! (Post 1232807)
...

off topic, but...

You're driving 2 CIM motors with each Victor:

http://www.chiefdelphi.com/forums/at...6&d=1360783712

That's a non-no.



hello world! 13-02-2013 16:09

Re: Digital Sidecar not giving PWM signal to the speed controllers
 
that was the problem.
Thanks! The first wiring diagram we saw told us to use the five volt.


All times are GMT -5. The time now is 19:14.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi