Go to Post FIRST things first. - Mike Ciance [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 27-02-2013, 20:29
sg999 sg999 is offline
Programming Lead, Co-Captain 2013
AKA: Bella
FRC #0999 (Mecharams)
Team Role: Alumni
 
Join Date: Apr 2012
Rookie Year: 2012
Location: Connecticut
Posts: 44
sg999 is a splendid one to beholdsg999 is a splendid one to beholdsg999 is a splendid one to beholdsg999 is a splendid one to beholdsg999 is a splendid one to beholdsg999 is a splendid one to behold
9201 module: battery level and potentiometers

The rules (R71) say that the jumper needs to be in the position to read the battery value on the analog breakout. However, this means we can't get readings from the potentiometers we have going into the analog breakout (right?). Therefore, we need to have 2 analog modules in the cRio, correct? Or is there some way to get both battery level and read from analog sensors from one analog breakout?
__________________
There is always time-whether or not you use it productively is up to you.

2012-WIWI 6th seed (Thanks for being awesome alliance partners, 1991 and 178)

2014-present College student at Caltech (math/CS)
  #2   Spotlight this post!  
Unread 27-02-2013, 20:33
MagiChau's Avatar
MagiChau MagiChau is offline
Registered User
AKA: Michael Chau
FRC #0085 (B.O.B. (Built on Brains))
Team Role: Alumni
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Zeeland, Michigan
Posts: 875
MagiChau is just really niceMagiChau is just really niceMagiChau is just really niceMagiChau is just really nice
Re: 9201 module: battery level and potentiometers

Quote:
Originally Posted by sg999 View Post
The rules (R71) say that the jumper needs to be in the position to read the battery value on the analog breakout. However, this means we can't get readings from the potentiometers we have going into the analog breakout (right?). Therefore, we need to have 2 analog modules in the cRio, correct? Or is there some way to get both battery level and read from analog sensors from one analog breakout?
there are three pins parallel to the board itself off to the side of where you plug in your sensorscloser to analog channel 8 as indicated on the blue guard. You use the jumper on the two pins closest to the outside edge of the breakout board to get battery voltage.

Last edited by MagiChau : 27-02-2013 at 20:36.
  #3   Spotlight this post!  
Unread 27-02-2013, 20:34
Kevin Sevcik's Avatar
Kevin Sevcik Kevin Sevcik is offline
(Insert witty comment here)
FRC #0057 (The Leopards)
Team Role: Mentor
 
Join Date: Jun 2001
Rookie Year: 1998
Location: Houston, Texas
Posts: 3,744
Kevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond repute
Send a message via AIM to Kevin Sevcik Send a message via Yahoo to Kevin Sevcik
Re: 9201 module: battery level and potentiometers

The jumper takes over the last analog input and routes the input pin to a divided battery voltage. So yes, you can't use the input 8 on your first analog input module. Do you actually have more than 7 pots or analog sensors that you need to read? If so, then yes, you can use a second 9201 in the 4th slot on the cRIO. I'm just doubting that you actually need it.
__________________
The difficult we do today; the impossible we do tomorrow. Miracles by appointment only.

Lone Star Regional Troubleshooter
  #4   Spotlight this post!  
Unread 27-02-2013, 20:46
sg999 sg999 is offline
Programming Lead, Co-Captain 2013
AKA: Bella
FRC #0999 (Mecharams)
Team Role: Alumni
 
Join Date: Apr 2012
Rookie Year: 2012
Location: Connecticut
Posts: 44
sg999 is a splendid one to beholdsg999 is a splendid one to beholdsg999 is a splendid one to beholdsg999 is a splendid one to beholdsg999 is a splendid one to beholdsg999 is a splendid one to behold
Re: 9201 module: battery level and potentiometers

Quote:
Originally Posted by Kevin Sevcik View Post
The jumper takes over the last analog input and routes the input pin to a divided battery voltage. So yes, you can't use the input 8 on your first analog input module. Do you actually have more than 7 pots or analog sensors that you need to read? If so, then yes, you can use a second 9201 in the 4th slot on the cRIO. I'm just doubting that you actually need it.
How do we read both battery level and pots from the same analog module? The white paper from FIRST for 2012 on the analog breakout made it seem like we couldn't do both from the same module.
__________________
There is always time-whether or not you use it productively is up to you.

2012-WIWI 6th seed (Thanks for being awesome alliance partners, 1991 and 178)

2014-present College student at Caltech (math/CS)
  #5   Spotlight this post!  
Unread 27-02-2013, 21:28
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: 9201 module: battery level and potentiometers

I don't understand what's confusing you. The battery voltage measurement is done on the eighth analog input, so that one isn't available for your own use. The other seven inputs, however, are there for you to read as you wish.

(The gyro support is slightly exceptional in that it only works on the first two analog inputs.)
  #6   Spotlight this post!  
Unread 27-02-2013, 21:33
Kevin Sevcik's Avatar
Kevin Sevcik Kevin Sevcik is offline
(Insert witty comment here)
FRC #0057 (The Leopards)
Team Role: Mentor
 
Join Date: Jun 2001
Rookie Year: 1998
Location: Houston, Texas
Posts: 3,744
Kevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond repute
Send a message via AIM to Kevin Sevcik Send a message via Yahoo to Kevin Sevcik
Re: 9201 module: battery level and potentiometers

You misread the whitepaper. Channel 8 is the only channel that you can't use if the bumper is set up to read battery voltage. Channels 1-7 work no matter what. Just plug your pots in starting at Channel 1 and read them as you'd expect to. You only have to worry if you have more than 7 pots.
__________________
The difficult we do today; the impossible we do tomorrow. Miracles by appointment only.

Lone Star Regional Troubleshooter
  #7   Spotlight this post!  
Unread 27-02-2013, 22:15
sg999 sg999 is offline
Programming Lead, Co-Captain 2013
AKA: Bella
FRC #0999 (Mecharams)
Team Role: Alumni
 
Join Date: Apr 2012
Rookie Year: 2012
Location: Connecticut
Posts: 44
sg999 is a splendid one to beholdsg999 is a splendid one to beholdsg999 is a splendid one to beholdsg999 is a splendid one to beholdsg999 is a splendid one to beholdsg999 is a splendid one to behold
Re: 9201 module: battery level and potentiometers

Quote:
Originally Posted by Kevin Sevcik View Post
You misread the whitepaper. Channel 8 is the only channel that you can't use if the bumper is set up to read battery voltage. Channels 1-7 work no matter what. Just plug your pots in starting at Channel 1 and read them as you'd expect to. You only have to worry if you have more than 7 pots.
Oh, okay, that makes sense. Thanks! Good to know that we don't need to go scrambling for funds for a new analog module.
__________________
There is always time-whether or not you use it productively is up to you.

2012-WIWI 6th seed (Thanks for being awesome alliance partners, 1991 and 178)

2014-present College student at Caltech (math/CS)
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


All times are GMT -5. The time now is 20:01.

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