Go to Post "Trying to teach a nerd to be sensitive to girls is like trying to teach a dog Jamacian, and expect it to talk back" - Hansen302 [more]
Home
Go Back   Chief Delphi > Technical > Control System > FRC Control System
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 13-02-2013, 13:40
hello world! hello world! is offline
Registered User
FRC #4643
 
Join Date: Feb 2013
Location: oroville
Posts: 8
hello world! is an unknown quantity at this point
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)

Last edited by hello world! : 13-02-2013 at 13:43.
Reply With Quote
  #2   Spotlight this post!  
Unread 13-02-2013, 13:50
ehochstein's Avatar
ehochstein ehochstein is offline
Coach, Volunteer & Mentor
AKA: Evan Hochstein
FTC #5943 (ESGM)
Team Role: Coach
 
Join Date: Jan 2009
Rookie Year: 2007
Location: Bloomington, Minnesota
Posts: 930
ehochstein has a brilliant futureehochstein has a brilliant futureehochstein has a brilliant futureehochstein has a brilliant futureehochstein has a brilliant futureehochstein has a brilliant futureehochstein has a brilliant futureehochstein has a brilliant futureehochstein has a brilliant futureehochstein has a brilliant futureehochstein has a brilliant future
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
__________________
Minnesota FIRST Senior Mentor | 2013-?

Stratasys Applications Engineering Technician | 2016-?

2009 Regional Win – 2470 @ 10k Lakes (Thanks 2826 and 1714)
2013 WFFA Recipient – 2470 @ 10K Lakes
2016 Ri3D: 'Snow Problem Reveal

The opinions expressed above are the personal opinions of the author and do not necessarily represent the views and opinions of any organization the author is affiliated with.
Reply With Quote
  #3   Spotlight this post!  
Unread 13-02-2013, 14:09
ebarker's Avatar
ebarker ebarker is offline
Registered User
AKA: Ed Barker
FRC #1311 (Kell Robotics)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Kennesaw GA
Posts: 1,437
ebarker has a reputation beyond reputeebarker has a reputation beyond reputeebarker has a reputation beyond reputeebarker has a reputation beyond reputeebarker has a reputation beyond reputeebarker has a reputation beyond reputeebarker has a reputation beyond reputeebarker has a reputation beyond reputeebarker has a reputation beyond reputeebarker has a reputation beyond reputeebarker has a reputation beyond repute
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.
__________________
Ed Barker
Reply With Quote
  #4   Spotlight this post!  
Unread 13-02-2013, 14:09
hello world! hello world! is offline
Registered User
FRC #4643
 
Join Date: Feb 2013
Location: oroville
Posts: 8
hello world! is an unknown quantity at this point
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)
Reply With Quote
  #5   Spotlight this post!  
Unread 13-02-2013, 14:19
RyanN's Avatar
RyanN RyanN is offline
RyanN
AKA: Ryan Nazaretian
FRC #4901 (Garnet Squadron)
Team Role: Mentor
 
Join Date: Jun 2006
Rookie Year: 2005
Location: Columbia, SC
Posts: 1,126
RyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond repute
Re: Digital Sidecar not giving PWM signal to the speed controllers

Quote:
Originally Posted by hello world! View Post
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.

Click image for larger version

Name:	Capture.PNG
Views:	22
Size:	97.9 KB
ID:	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.

Click image for larger version

Name:	Untitled.png
Views:	10
Size:	58.9 KB
ID:	13973
__________________
Garnet Squadron
FRC 4901
Controls Mentor
@rnazaretian

Previous mentor and student from Team Fusion, FRC 364
Reply With Quote
  #6   Spotlight this post!  
Unread 13-02-2013, 14:29
hello world! hello world! is offline
Registered User
FRC #4643
 
Join Date: Feb 2013
Location: oroville
Posts: 8
hello world! is an unknown quantity at this point
Re: Digital Sidecar not giving PWM signal to the speed controllers

[ATTACH][ATTACH]Click image for larger version

Name:	WP_20130213_003.jpg
Views:	33
Size:	340.5 KB
ID:	13977[/ATTACH][/ATTACH]
Attached Thumbnails
Click image for larger version

Name:	WP_20130213_002.jpg
Views:	38
Size:	346.4 KB
ID:	13975  Click image for larger version

Name:	WP_20130213_001.jpg
Views:	47
Size:	467.9 KB
ID:	13976  
Reply With Quote
  #7   Spotlight this post!  
Unread 13-02-2013, 14:35
RyanN's Avatar
RyanN RyanN is offline
RyanN
AKA: Ryan Nazaretian
FRC #4901 (Garnet Squadron)
Team Role: Mentor
 
Join Date: Jun 2006
Rookie Year: 2005
Location: Columbia, SC
Posts: 1,126
RyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond repute
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.
__________________
Garnet Squadron
FRC 4901
Controls Mentor
@rnazaretian

Previous mentor and student from Team Fusion, FRC 364

Last edited by RyanN : 13-02-2013 at 14:39.
Reply With Quote
  #8   Spotlight this post!  
Unread 13-02-2013, 14:38
Mark McLeod's Avatar
Mark McLeod Mark McLeod is online now
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,695
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
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.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #9   Spotlight this post!  
Unread 13-02-2013, 14:39
ebarker's Avatar
ebarker ebarker is offline
Registered User
AKA: Ed Barker
FRC #1311 (Kell Robotics)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Kennesaw GA
Posts: 1,437
ebarker has a reputation beyond reputeebarker has a reputation beyond reputeebarker has a reputation beyond reputeebarker has a reputation beyond reputeebarker has a reputation beyond reputeebarker has a reputation beyond reputeebarker has a reputation beyond reputeebarker has a reputation beyond reputeebarker has a reputation beyond reputeebarker has a reputation beyond reputeebarker has a reputation beyond repute
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.
__________________
Ed Barker
Reply With Quote
  #10   Spotlight this post!  
Unread 13-02-2013, 14:41
RyanN's Avatar
RyanN RyanN is offline
RyanN
AKA: Ryan Nazaretian
FRC #4901 (Garnet Squadron)
Team Role: Mentor
 
Join Date: Jun 2006
Rookie Year: 2005
Location: Columbia, SC
Posts: 1,126
RyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond repute
Re: Digital Sidecar not giving PWM signal to the speed controllers

Quote:
Originally Posted by Mark McLeod View Post
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.
__________________
Garnet Squadron
FRC 4901
Controls Mentor
@rnazaretian

Previous mentor and student from Team Fusion, FRC 364
Reply With Quote
  #11   Spotlight this post!  
Unread 13-02-2013, 14:45
Mark McLeod's Avatar
Mark McLeod Mark McLeod is online now
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,695
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Digital Sidecar not giving PWM signal to the speed controllers

Quote:
Originally Posted by RyanN View Post
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.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 13-02-2013 at 14:53.
Reply With Quote
  #12   Spotlight this post!  
Unread 13-02-2013, 15:44
hello world! hello world! is offline
Registered User
FRC #4643
 
Join Date: Feb 2013
Location: oroville
Posts: 8
hello world! is an unknown quantity at this point
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?
Reply With Quote
  #13   Spotlight this post!  
Unread 13-02-2013, 16:00
RyanN's Avatar
RyanN RyanN is offline
RyanN
AKA: Ryan Nazaretian
FRC #4901 (Garnet Squadron)
Team Role: Mentor
 
Join Date: Jun 2006
Rookie Year: 2005
Location: Columbia, SC
Posts: 1,126
RyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond repute
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.
__________________
Garnet Squadron
FRC 4901
Controls Mentor
@rnazaretian

Previous mentor and student from Team Fusion, FRC 364
Reply With Quote
  #14   Spotlight this post!  
Unread 13-02-2013, 16:06
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 7,995
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Digital Sidecar not giving PWM signal to the speed controllers

Quote:
Originally Posted by hello world! View Post
...
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.


Reply With Quote
  #15   Spotlight this post!  
Unread 13-02-2013, 16:09
hello world! hello world! is offline
Registered User
FRC #4643
 
Join Date: Feb 2013
Location: oroville
Posts: 8
hello world! is an unknown quantity at this point
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.
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


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

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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