Go to Post Look at FIRST 7 years ago. Look at FIRST now. Thanks Bill. - Steven Donow [more]
Home
Go Back   Chief Delphi > Technical > Electrical
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 28-01-2010, 20:32
10uhingp 10uhingp is offline
Registered User
FRC #2202
 
Join Date: Nov 2007
Location: Brookfield, WI
Posts: 4
10uhingp is an unknown quantity at this point
Relay Ports on the Digital sidecar have no Power

I have the Digital sidecar wired through the wago connections to the power distribution board and the say the 5v, 6v, battery power lights are lit. The programmers have been having trouble getting the relay to work so I checked the power supply to the relay ports on the sidecar and found that there was no power to the relay. How do you fix this?
  #2   Spotlight this post!  
Unread 28-01-2010, 21:07
DonRotolo's Avatar
DonRotolo DonRotolo is offline
Back to humble
FRC #0832
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Atlanta GA
Posts: 6,998
DonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond repute
Re: Relay Ports on the Digital sidecar have no Power

How are you measuring 'power'? The pin closest to the edge of the sidecar is ground, the middle pin is "reverse" and the inner pin is "forward". measure between the ground pin and the other pins (one at a time) on DC Volts. Of course, the software must be commanding that relay output "on" for there to be any voltage.

Note that these outputs are expected to drive Spike relays, not a mechanical relay.

How exactly are the programmers telling a relay output to do whatever it's supposed to do? be specific for the best help.
__________________

I am N2IRZ - What's your callsign?
  #3   Spotlight this post!  
Unread 28-01-2010, 21:19
10uhingp 10uhingp is offline
Registered User
FRC #2202
 
Join Date: Nov 2007
Location: Brookfield, WI
Posts: 4
10uhingp is an unknown quantity at this point
Re: Relay Ports on the Digital sidecar have no Power

I am doing that and it reads 0.00 volts. I checked the sidecar on our robot from last year and it has the same issue. we didn't realize it last year since we didn't use any spike relays.

Last edited by 10uhingp : 28-01-2010 at 21:58.
  #4   Spotlight this post!  
Unread 28-01-2010, 23:01
Vikesrock's Avatar
Vikesrock Vikesrock is offline
Team 2175 Founder
AKA: Kevin O'Connor
no team
Team Role: Engineer
 
Join Date: Mar 2006
Rookie Year: 2007
Location: Manchester, NH
Posts: 3,305
Vikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond repute
Send a message via AIM to Vikesrock Send a message via MSN to Vikesrock Send a message via Yahoo to Vikesrock
Re: Relay Ports on the Digital sidecar have no Power

If you didn't use any relays last year then last year's Sidecar will read 0 volts on all of the relay connections.

The relay red wire is not +5V like the PWM connectors. The relay pins are ground, reverse and forward as Don detailed in his post.

You will only read a voltage between either Forward and Ground or Reverse and Ground if the cRIO is properly commanding the relay on that port in that direction.
__________________


2007 Wisconsin Regional Highest Rookie Seed & Regional Finalists (Thanks 930 & 2039)
2008 MN Regional Semifinalists (Thanks 2472 & 1756)
2009 Northstar Regional Semifinalists (Thanks 171 & 525)

Last edited by Vikesrock : 28-01-2010 at 23:03.
  #5   Spotlight this post!  
Unread 28-01-2010, 23:01
JBotAlan's Avatar
JBotAlan JBotAlan is offline
Forever chasing the 'bot around
AKA: Jacob Rau
FRC #5263
Team Role: Mentor
 
Join Date: Sep 2004
Rookie Year: 2004
Location: Riverview, MI
Posts: 723
JBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond repute
Send a message via AIM to JBotAlan Send a message via Yahoo to JBotAlan
Re: Relay Ports on the Digital sidecar have no Power

Just a bit of troubleshooting:

When you connect a Jaguar or Victor (both power, and signal to PWM output), do you see flashing lights on the Jag/Victor, or do you see a solid light? If flashing, nothing is working. That could indicate a few things; some things to check:

What does the Drivers Station tell you? You need to have the communications up, stop button connected but not activated, robot code running, and robot enabled (you initiate this through the drivers station; you need to turn on teleop). If everything is go on the Drivers Station side, then you need to start looking at other things:

Is the sidecar connected firmly? Try reseating (unplugging and plugging back in) the card in the cRIO, the cable going from the cRIO to the sidecar, and the breakout board on the cRIO.

I hope this helps. Let us know what happens.

EDIT: Also, as others in this thread have mentioned, the code must be commanding the specific relay to turn on. We can delve into how to do that; just let us know and we will help.
__________________
Aren't signatures a bit outdated?

Last edited by JBotAlan : 28-01-2010 at 23:03.
  #6   Spotlight this post!  
Unread 29-01-2010, 17:32
10uhingp 10uhingp is offline
Registered User
FRC #2202
 
Join Date: Nov 2007
Location: Brookfield, WI
Posts: 4
10uhingp is an unknown quantity at this point
Re: Relay Ports on the Digital sidecar have no Power

The relays now reading 0.00 volts makes perfect sense. Thank you for the help. Now can you tell me where to find out the c++ coding on Windriver for the relays.
  #7   Spotlight this post!  
Unread 30-01-2010, 14:00
JBotAlan's Avatar
JBotAlan JBotAlan is offline
Forever chasing the 'bot around
AKA: Jacob Rau
FRC #5263
Team Role: Mentor
 
Join Date: Sep 2004
Rookie Year: 2004
Location: Riverview, MI
Posts: 723
JBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond repute
Send a message via AIM to JBotAlan Send a message via Yahoo to JBotAlan
Re: Relay Ports on the Digital sidecar have no Power

From page 39 of the WPI Robotics Library Users' Guide, available here (this page should be the apple of your programmer's eye for the next several weeks):
Code:
Relay m_relay(1);
m_relay.SetDirection(Relay::kReverseOnly);
m_relay.Set(Relay::kOn);
(trimmed for my purposes here; see the original document for the entire example)

This code commands a relay on port 1 to drive in reverse. To turn it off, you'd do a
Code:
m_relay.Set(Relay::kOff);
Does that work out for you?

EDIT: You'll really want to read page 38 of that manual. It does a much better job of detailing how to command a relay than I just did.
__________________
Aren't signatures a bit outdated?

Last edited by JBotAlan : 30-01-2010 at 14:02.
Closed Thread


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Wiring Digital Sidecar rsegrest Electrical 7 25-01-2010 11:25
Attaching a standard car relay to the Digital sidecar KillerGardevoir Electrical 4 02-08-2009 21:26
Digital Sidecar Ports are dropping out. Tom Line Electrical 19 10-04-2009 00:55
Digital Sidecar problem Jon Stratis Electrical 4 27-02-2009 09:12
LED's on Relay Ports? Kingofl337 Control System 5 18-01-2008 14:39


All times are GMT -5. The time now is 12:35.

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