Go to Post You do know that totes are supposed to go through the chute right? Not humans? - themccannman [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 26-01-2009, 22:07
Digmaster Digmaster is offline
Registered User
AKA: Thomas Luppi
FRC #2827 (Srown City Robotics)
Team Role: Leadership
 
Join Date: Jan 2009
Rookie Year: 2008
Location: Coronado
Posts: 5
Digmaster is an unknown quantity at this point
Reading battery power on Driver station.

Anyone mind telling me how to change the v00.00 to the actual battery voltage?
  #2   Spotlight this post!  
Unread 26-01-2009, 22:16
MattD's Avatar
MattD MattD is offline
Registered User
AKA: Matthew Douglas
FRC #0228 (GUS Robotics)
Team Role: Alumni
 
Join Date: Feb 2006
Rookie Year: 2005
Location: Indianapolis, IN
Posts: 185
MattD is a splendid one to beholdMattD is a splendid one to beholdMattD is a splendid one to beholdMattD is a splendid one to beholdMattD is a splendid one to beholdMattD is a splendid one to beholdMattD is a splendid one to behold
Send a message via AIM to MattD
Re: Reading battery power on Driver station.

Do you have the Analog Breakout hooked up on slot 1? The battery voltage is measured on channel 8.
__________________
GUS Robotics Team 228

2010 WPI Engineering Inspiration Award
2010 WPI Regional Champions (Thanks 230 & 20!)
2010 CT VEX Champions
2010 CT VEX Innovate Award
2009 QCC VEX Champions
2009 CT Motorola Quality Award
2007 CT J&J Sportsmanship Award
2006 CT Best Website Award
  #3   Spotlight this post!  
Unread 26-01-2009, 22:20
Digmaster Digmaster is offline
Registered User
AKA: Thomas Luppi
FRC #2827 (Srown City Robotics)
Team Role: Leadership
 
Join Date: Jan 2009
Rookie Year: 2008
Location: Coronado
Posts: 5
Digmaster is an unknown quantity at this point
Re: Reading battery power on Driver station.

Is that the object in the cRIO that says analog in?

If so, please give us exactly what to do. We're a new team, and everyone is gone but the programmers. I'm the only electrical left, and I feel like doing something to show others tomorrow.
  #4   Spotlight this post!  
Unread 26-01-2009, 22:36
Digmaster Digmaster is offline
Registered User
AKA: Thomas Luppi
FRC #2827 (Srown City Robotics)
Team Role: Leadership
 
Join Date: Jan 2009
Rookie Year: 2008
Location: Coronado
Posts: 5
Digmaster is an unknown quantity at this point
Re: Reading battery power on Driver station.

I placed a jumper on the thing that says Analog In in slot 8 and restarted. The driver station now says no code. The programmers are too busy changing the code's comments and stuff so it looks like a drunk guy wrote it, so should it say anything other then no code?
  #5   Spotlight this post!  
Unread 26-01-2009, 22:46
MattD's Avatar
MattD MattD is offline
Registered User
AKA: Matthew Douglas
FRC #0228 (GUS Robotics)
Team Role: Alumni
 
Join Date: Feb 2006
Rookie Year: 2005
Location: Indianapolis, IN
Posts: 185
MattD is a splendid one to beholdMattD is a splendid one to beholdMattD is a splendid one to beholdMattD is a splendid one to beholdMattD is a splendid one to beholdMattD is a splendid one to beholdMattD is a splendid one to behold
Send a message via AIM to MattD
Re: Reading battery power on Driver station.

The first slot on the cRIO should have an NI 9201 Analog Input module plugged in. The Kit of Parts includes two Analog Breakouts, as described in section 3.4 of the FRC Control System Component Data Sheets. That section should contain all of the information you need to install the Analog Breakout and get things working.

Make sure to note this detail:

Quote:
How do I measure the battery voltage using the Analog Breakout?
• Use a shunt (jumper) to connect the outer two pins of the “AI8 Select” connector
• Battery voltage is reduced to ~40% of its actual value by a 680/1k voltage divider and
filtered by a 0.1uF capacitor.
Edit:

No Code seems to indicate that there is no user program running on the cRIO. There's probably nothing deployed, so your program isn't running on startup. In WindRiver you can deploy your program using the FIRST->Deploy menu, but I'm not sure how to do this in LabView.

If you run/debug your program in RAM, you should see the battery voltage on the Driver Station, provided everything is set up correctly.
__________________
GUS Robotics Team 228

2010 WPI Engineering Inspiration Award
2010 WPI Regional Champions (Thanks 230 & 20!)
2010 CT VEX Champions
2010 CT VEX Innovate Award
2009 QCC VEX Champions
2009 CT Motorola Quality Award
2007 CT J&J Sportsmanship Award
2006 CT Best Website Award

Last edited by MattD : 26-01-2009 at 22:49.
  #6   Spotlight this post!  
Unread 27-01-2009, 07:53
Unsung FIRST Hero
Al Skierkiewicz Al Skierkiewicz is offline
Broadcast Eng/Chief Robot Inspector
AKA: Big Al WFFA 2005
FRC #0111 (WildStang)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1996
Location: Wheeling, IL
Posts: 10,770
Al Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond repute
Re: Reading battery power on Driver station.

Dig,
The Crio and drivers station must have compatible code running. If you (or the software team) updated the Crio and did not update the DS you will have problems. Please be aware there is a specific method for updating code especially on the DS. Do not interupt the operation when flashing the DS See p6 of the control system manual. This operation will also change your team ID so that will need to be reset after each software upgrade.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
  #7   Spotlight this post!  
Unread 31-01-2009, 13:20
BrandonD-1528's Avatar
BrandonD-1528 BrandonD-1528 is offline
Mentor
AKA: Brandon Dusseau
FRC #1528 (Monroe Trojan Robotics)
Team Role: Mentor
 
Join Date: Jan 2009
Rookie Year: 2008
Location: Ann Arbor, MI
Posts: 118
BrandonD-1528 is a jewel in the roughBrandonD-1528 is a jewel in the roughBrandonD-1528 is a jewel in the roughBrandonD-1528 is a jewel in the rough
Re: Reading battery power on Driver station.

The jumper goes on channel 8 but which two prongs. Sig and + or + and - ?
__________________
Brandon Dusseau (website)
Monroe Trojan Robotics mentor
Software Engineer
Michigan Tech alumnus
  #8   Spotlight this post!  
Unread 31-01-2009, 19:59
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Reading battery power on Driver station.

Quote:
Originally Posted by BrandonD-1528 View Post
The jumper goes on channel 8 but which two prongs. Sig and + or + and - ?
Quote:
Originally Posted by <R64>
A National Instruments 9201 module must be installed in slot 1 of the cRIO Mobile Device Controller. An analog breakout must be connected to this module. A jumper must be installed on the “Battery Voltage” and “Power” pins on the analog breakout. The analog breakout must be powered from the Power Distribution Panel. Please refer to Section 3.4 of the “FRC Control System Component Data Sheets” for information on these connections.
Chapter 3 Control System Data Sheets can be found at http://www.usfirst.org/frccontrolsystem, under the Control System Manual heading.
  #9   Spotlight this post!  
Unread 31-01-2009, 20:09
EricVanWyk EricVanWyk is offline
Registered User
no team
 
Join Date: Jan 2007
Rookie Year: 2000
Location: Boston
Posts: 1,597
EricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond repute
Send a message via AIM to EricVanWyk
Re: Reading battery power on Driver station.

Quote:
Originally Posted by BrandonD-1528 View Post
The jumper goes on channel 8 but which two prongs. Sig and + or + and - ?
Please read the manual. You are at risk of damaging components.
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
Dead Driver Station? tdeprince FRC Control System 3 12-02-2009 12:14
Driver Station Update ExarKun666 FRC Control System 8 15-01-2009 10:39
Driver Station Login Mr-Shutter FRC Control System 2 12-01-2009 23:36
2nd Driver Station bcharbonneau General Forum 2 09-01-2009 14:19
Reading battery voltage in software RbtGal1351 Programming 17 21-10-2007 13:07


All times are GMT -5. The time now is 10:45.

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