Go to Post "This is the year that everyone on CD is going to learn to spell." "This is the year that everyone on CD will make a serious effort to write grammatically correct sentences." "This is the year that everyone on CD will think BEFORE they post." ... nah. - dlavery [more]
Home
Go Back   Chief Delphi > Technical > Programming
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 03-02-2009, 17:54
3DWolf's Avatar
3DWolf 3DWolf is offline
Boots - Head Programmer / 3D
AKA: Jake
FRC #1502 (Technical Difficulties)
Team Role: Programmer
 
Join Date: Dec 2006
Rookie Year: 2005
Location: Chelsea Michigan
Posts: 97
3DWolf is on a distinguished road
Send a message via AIM to 3DWolf Send a message via MSN to 3DWolf
System Battery Voltage is wrong

On both the DS and the dashboard, our battery voltage is reading nothing but 5.08v - we checked our FRESH off the charger batteries with our volt meter and they were reading a solid 12.78v. Is there something wrong with the system? We're all ready confused on why it's reading less than half of the actual charge.
__________________
You can call it the programming teams fault, but we'll just force your arguments nil.

There are 10 kinds of people in the world -> Those who understand binary and those who don't.

WYSIWYG - In FIRST: Greatness
  #2   Spotlight this post!  
Unread 03-02-2009, 17:58
Unsung FIRST Hero
Mike Betts Mike Betts is offline
Electrical Engineer
no team
Team Role: Engineer
 
Join Date: Dec 2001
Rookie Year: 1995
Location: Homosassa, FL
Posts: 1,442
Mike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond repute
Re: System Battery Voltage is wrong

Quote:
Originally Posted by 3DWolf View Post
On both the DS and the dashboard, our battery voltage is reading nothing but 5.08v - we checked our FRESH off the charger batteries with our volt meter and they were reading a solid 12.78v. Is there something wrong with the system? We're all ready confused on why it's reading less than half of the actual charge.
Jake,

I would start by insuring that the jumper on the analog module is properly set.

Second, I would make sure that the power to the analog module is correct.

Mike
__________________
Mike Betts

Alumnus, Team 3518, Panthrobots, 2011
Alumnus, Team 177, Bobcat Robotics, 1995 - 2010
LRI, Connecticut Regional, 2007-2010
LRI, WPI Regional, 2009 - 2010
RI, South Florida Regional, 2012 - 2013

As easy as 355/113...
  #3   Spotlight this post!  
Unread 03-02-2009, 18:05
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: System Battery Voltage is wrong

Sounds like you jumpered into the analog breakout's 5V supply instead of into the battery voltage.
  #4   Spotlight this post!  
Unread 03-02-2009, 18:08
The Lucas's Avatar
The Lucas The Lucas is offline
CaMOElot, it is a silly place
AKA: My First Name is really "The" (or Brian)
FRC #0365 (The Miracle Workerz); FRC#1495 (AGR); FRC#4342 (Demon)
Team Role: Mentor
 
Join Date: Mar 2002
Rookie Year: 2001
Location: Dela-Where?
Posts: 1,564
The Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond repute
Send a message via AIM to The Lucas
Re: System Battery Voltage is wrong

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.
From Control system COMPONENT DATASHEETS Page 24

Sounds like you are displaying 40% of your battery voltage (the actual voltage at the divider on Analog in 8). You program might not be converting this value back up (I have never checked where it does this). Try running a default program.
__________________
Electrical & Programming Mentor ---Team #365 "The Miracle Workerz"
Programming Mentor ---Team #4342 "Demon Robotics"
Founding Mentor --- Team #1495 Avon Grove High School
2007 CMP Chairman's Award - Thanks to all MOE members (and others) past and present who made it a reality.
Robot Inspector
"I don't think I'm ever more ''aware'' than I am right after I burn my thumb with a soldering iron"

Last edited by The Lucas : 03-02-2009 at 18:14.
  #5   Spotlight this post!  
Unread 03-02-2009, 18:13
3DWolf's Avatar
3DWolf 3DWolf is offline
Boots - Head Programmer / 3D
AKA: Jake
FRC #1502 (Technical Difficulties)
Team Role: Programmer
 
Join Date: Dec 2006
Rookie Year: 2005
Location: Chelsea Michigan
Posts: 97
3DWolf is on a distinguished road
Send a message via AIM to 3DWolf Send a message via MSN to 3DWolf
Re: System Battery Voltage is wrong

The only thing I changed between now and from when it was working correctly was I swapped out the wires to extend them because we had to change our electronics board setup.
The jumper is set on the outside two pins, and the two 9201 cards are wired in series for power.
__________________
You can call it the programming teams fault, but we'll just force your arguments nil.

There are 10 kinds of people in the world -> Those who understand binary and those who don't.

WYSIWYG - In FIRST: Greatness
  #6   Spotlight this post!  
Unread 03-02-2009, 18:25
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: System Battery Voltage is wrong

Quote:
Originally Posted by 3DWolf View Post
The jumper is set on the outside two pins, and the two 9201 cards are wired in series for power.
Did you mean parallel?
  #7   Spotlight this post!  
Unread 03-02-2009, 18:29
3DWolf's Avatar
3DWolf 3DWolf is offline
Boots - Head Programmer / 3D
AKA: Jake
FRC #1502 (Technical Difficulties)
Team Role: Programmer
 
Join Date: Dec 2006
Rookie Year: 2005
Location: Chelsea Michigan
Posts: 97
3DWolf is on a distinguished road
Send a message via AIM to 3DWolf Send a message via MSN to 3DWolf
Re: System Battery Voltage is wrong

Am I getting my terminology wrong again?
I have power going from the PD-Block to the first port Analog Module(9201) which then goes from the same plug/port/thing to the 2nd Analog Module(9201)
__________________
You can call it the programming teams fault, but we'll just force your arguments nil.

There are 10 kinds of people in the world -> Those who understand binary and those who don't.

WYSIWYG - In FIRST: Greatness
  #8   Spotlight this post!  
Unread 03-02-2009, 19:11
Russ Beavis Russ Beavis is offline
Registered User
no team
 
Join Date: Nov 2005
Location: Manchester, NH - DEKA R&D Corp.
Posts: 341
Russ Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond repute
Re: System Battery Voltage is wrong

Please take or draw a picture of your setup and post it. We need to see every wire and how it's connected (and the jumper on the Analog Breakout module).

What happens if you unplug the power cable to your second Analog Breakout module?

Russ
  #9   Spotlight this post!  
Unread 03-02-2009, 19:14
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: System Battery Voltage is wrong

The series vs parallel wiring thing is a (hopefully) a terminology question.

You want parallel: One wire comes out of the PD, is split in two and feeds either breakout independently. The return path is wired similarly.

In series, one wire comes out of the PD and goes to the first breakout. The return line of this then goes to the power line of the next breakout. The return line of the second breakout then goes back to the return on the PD.

In parallel, the modules see the same voltage and different currents.

In series, the modules see the same current and different voltages.



The Lucas - since he is seeing this on the Driver Station, I don't think this is the case. If he was seeing this on an analog channel I'd agree completely.
  #10   Spotlight this post!  
Unread 03-02-2009, 20:03
3DWolf's Avatar
3DWolf 3DWolf is offline
Boots - Head Programmer / 3D
AKA: Jake
FRC #1502 (Technical Difficulties)
Team Role: Programmer
 
Join Date: Dec 2006
Rookie Year: 2005
Location: Chelsea Michigan
Posts: 97
3DWolf is on a distinguished road
Send a message via AIM to 3DWolf Send a message via MSN to 3DWolf
Re: System Battery Voltage is wrong

This is a rough sketch of how stuff's set up
Attached Thumbnails
Click image for larger version

Name:	electronics board diagram.JPG
Views:	59
Size:	19.9 KB
ID:	7306  
__________________
You can call it the programming teams fault, but we'll just force your arguments nil.

There are 10 kinds of people in the world -> Those who understand binary and those who don't.

WYSIWYG - In FIRST: Greatness
  #11   Spotlight this post!  
Unread 03-02-2009, 20:14
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,587
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: System Battery Voltage is wrong

Quote:
Originally Posted by 3DWolf View Post
This is a rough sketch of how stuff's set up
Are you using the camera's 5v power supply instead of 12v from one of the Wago connectors on the power supply?
  #12   Spotlight this post!  
Unread 03-02-2009, 20:24
3DWolf's Avatar
3DWolf 3DWolf is offline
Boots - Head Programmer / 3D
AKA: Jake
FRC #1502 (Technical Difficulties)
Team Role: Programmer
 
Join Date: Dec 2006
Rookie Year: 2005
Location: Chelsea Michigan
Posts: 97
3DWolf is on a distinguished road
Send a message via AIM to 3DWolf Send a message via MSN to 3DWolf
Re: System Battery Voltage is wrong

Quote:
Originally Posted by Joe Ross View Post
Are you using the camera's 5v power supply instead of 12v from one of the Wago connectors on the power supply?
*facepalm* A DUH! I just looked at the power diagram and noticed that is in fact what I did... That's what I get for not doing things in the correct order >.<

Thank you.
__________________
You can call it the programming teams fault, but we'll just force your arguments nil.

There are 10 kinds of people in the world -> Those who understand binary and those who don't.

WYSIWYG - In FIRST: Greatness
  #13   Spotlight this post!  
Unread 03-02-2009, 20:31
intellec7's Avatar
intellec7 intellec7 is offline
108 programmer
AKA: Gustavo
FRC #0108 (SigmaC@ts)
Team Role: Programmer
 
Join Date: Sep 2005
Rookie Year: 2006
Location: Hollywood, Florida
Posts: 65
intellec7 is on a distinguished road
Send a message via AIM to intellec7 Send a message via MSN to intellec7
Re: System Battery Voltage is wrong

For the record, your analog bumper power inputs were connected in parallel.
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
The 8.2 (or 8.3) Battery Voltage Bug eugenebrooks Programming 167 21-02-2008 20:05
Reading battery voltage in software RbtGal1351 Programming 17 21-10-2007 13:07
battery voltage compensation Rickertsen2 Programming 5 17-10-2005 22:12
Battery voltage Josh Siegel Programming 5 22-12-2003 10:15
Battery Voltage Neal Probert Programming 3 09-01-2003 10:18


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

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