Go to Post Mob JVN for autographs - Jay Trzaskos [more]
Home
Go Back   Chief Delphi > Technical > Control System > Sensors
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 10-01-2010, 20:24
JDM JDM is offline
programming lead; team executive;..
FRC #2199 (Robo-Lions)
Team Role: Programmer
 
Join Date: Feb 2008
Rookie Year: 2008
Location: Eldersburg, Maryland
Posts: 34
JDM is on a distinguished road
2010 Accelerometer Documentation?

Does anyone have any information on the accelerometer that we were provided in the KoP this year?

The WPILib user's guide tells us that it's I2C based, but that's all the information I can find. The kit checklist just shows a picture, and there's no documentation on the FIRST site as there is for the gyro and encoder, not even a part number. I haven't had a chance to actually look at the board to search for anything that could help.

So, for now, we have no idea how to even hook it up, not even going on to actually reading it and using the data (hopefully WPI's "shortly after kickoff" will be soon), unless I've missed something. Is everyone else in the same situation?
Reply With Quote
  #2   Spotlight this post!  
Unread 10-01-2010, 20:33
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: 2010 Accelerometer Documentation?

It is documented in the 2010 Sensor Manual

http://usfirst.org/uploadedFiles/Com...r%20Manual.pdf
Reply With Quote
  #3   Spotlight this post!  
Unread 10-01-2010, 21:28
jhersh jhersh is offline
National Instruments
AKA: Joe Hershberger
FRC #2468 (Appreciate)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 1997
Location: Austin, TX
Posts: 1,006
jhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond repute
Re: 2010 Accelerometer Documentation?

Quote:
Originally Posted by EricVanWyk View Post
It is documented in the 2010 Sensor Manual

http://usfirst.org/uploadedFiles/Com...r%20Manual.pdf
It would be great if there were a page where you could find this link. Where did you come up with it, Eric?
Reply With Quote
  #4   Spotlight this post!  
Unread 10-01-2010, 21:50
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: 2010 Accelerometer Documentation?

I found it under section 8 of the manual's jump page: http://usfirst.org/roboticsprograms/...nt.aspx?id=452
Reply With Quote
  #5   Spotlight this post!  
Unread 10-01-2010, 22:33
jhersh jhersh is offline
National Instruments
AKA: Joe Hershberger
FRC #2468 (Appreciate)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 1997
Location: Austin, TX
Posts: 1,006
jhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond repute
Re: 2010 Accelerometer Documentation?

I wonder why the data sheet for the Gyro and the AS5030 are not also on that jump page.
Reply With Quote
  #6   Spotlight this post!  
Unread 10-01-2010, 22:55
DanDon's Avatar
DanDon DanDon is offline
ohhh MY god
AKA: Dan Hoizner
FRC #0375 (The Robotic Plague)
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2004
Location: Staten Island, NY
Posts: 1,432
DanDon has a reputation beyond reputeDanDon has a reputation beyond reputeDanDon has a reputation beyond reputeDanDon has a reputation beyond reputeDanDon has a reputation beyond reputeDanDon has a reputation beyond reputeDanDon has a reputation beyond reputeDanDon has a reputation beyond reputeDanDon has a reputation beyond reputeDanDon has a reputation beyond reputeDanDon has a reputation beyond repute
Send a message via ICQ to DanDon Send a message via AIM to DanDon Send a message via MSN to DanDon
Re: 2010 Accelerometer Documentation?

Quote:
Originally Posted by jhersh View Post
I wonder why the data sheet for the Gyro and the AS5030 are not also on that jump page.
They're under the Section 10 subgroup on here: http://usfirst.org/roboticsprograms/...nt.aspx?id=452
__________________
Reply With Quote
  #7   Spotlight this post!  
Unread 11-01-2010, 10:23
JDM JDM is offline
programming lead; team executive;..
FRC #2199 (Robo-Lions)
Team Role: Programmer
 
Join Date: Feb 2008
Rookie Year: 2008
Location: Eldersburg, Maryland
Posts: 34
JDM is on a distinguished road
Re: 2010 Accelerometer Documentation?

Quote:
Originally Posted by EricVanWyk View Post
It is documented in the 2010 Sensor Manual

http://usfirst.org/uploadedFiles/Com...r%20Manual.pdf
Wow, I can't believe that I didn't even think to look for that

Thanks alot!
Reply With Quote
  #8   Spotlight this post!  
Unread 14-01-2010, 19:34
altf2junkie's Avatar
altf2junkie altf2junkie is offline
FRC+FTC Teams 339, Kilroy + Vulcan!
AKA: Samuel Vladimir Pakington
FRC #0339 (Kilroy)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Stafford, VA
Posts: 3
altf2junkie is an unknown quantity at this point
Re: 2010 Accelerometer Documentation?

A question, not about the accelerometer but rather about the gyroscope:

We looked at the pin configuration on the documentation that FIRST sent us, and while the picture of the gyroscope looks exactly like the gyroscope we received, the pin configuration doesn't match the structure of the gyroscope at all.

For instance:

In the schematic, the Temperature and Voltage outputs are on opposite sides.

On the gyro, there are three Temperature and three Voltage outputs, and they lie next to each other in two rows.

Can someone help us? Is the documentation / gyroscope incorrect? Or are we just missing something?

And as a side note, if you do know, how would we wire the gyroscope using a PWM?

Regards, Team 339 Kilroy (FRC)
Reply With Quote
  #9   Spotlight this post!  
Unread 14-01-2010, 19:51
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: 2010 Accelerometer Documentation?

Quote:
Originally Posted by altf2junkie View Post
A question, not about the accelerometer but rather about the gyroscope:

We looked at the pin configuration on the documentation that FIRST sent us, and while the picture of the gyroscope looks exactly like the gyroscope we received, the pin configuration doesn't match the structure of the gyroscope at all.

For instance:

In the schematic, the Temperature and Voltage outputs are on opposite sides.

On the gyro, there are three Temperature and three Voltage outputs, and they lie next to each other in two rows.

Can someone help us? Is the documentation / gyroscope incorrect? Or are we just missing something?

And as a side note, if you do know, how would we wire the gyroscope using a PWM?

Regards, Team 339 Kilroy (FRC)
The pin structure is as follows:
Code:
Rate           Temperature
5 Volts        5 Volts
Ground        Ground
Wire your PWM cable such that the white signal line goes to either rate or temperature, the red power line goes to 5 Volts, and the black line goes to ground.

The signals are closest to the signal names: The ground is closest to the edge of the board.

I'll try to update the doc.
Reply With Quote
  #10   Spotlight this post!  
Unread 14-01-2010, 20:18
Lafleur Lafleur is offline
Registered User
AKA: Tom Lafleur
FRC #0812
Team Role: Engineer
 
Join Date: Dec 2007
Rookie Year: 2006
Location: San Diego
Posts: 34
Lafleur will become famous soon enoughLafleur will become famous soon enough
Re: 2010 Accelerometer Documentation?

Istheir a test VI to test the accelerometer using I2C in the cRIO code this year?? The one I found was only for testing last years unit using analog inputs??

thanks...

anyone have any test code??
Reply With Quote
  #11   Spotlight this post!  
Unread 14-01-2010, 20:27
altf2junkie's Avatar
altf2junkie altf2junkie is offline
FRC+FTC Teams 339, Kilroy + Vulcan!
AKA: Samuel Vladimir Pakington
FRC #0339 (Kilroy)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Stafford, VA
Posts: 3
altf2junkie is an unknown quantity at this point
Re: 2010 Accelerometer Documentation?

Thanks for the fast response.

Should have specified - we need to know which way to solder the PWM to the gyro, not the gyro to the digital board. Thanks for the additional information, though.

We have one PWM space for Rate and another for Temperature.

We figure that we won't need to use temperature, so all we need to know is which way to orient the PWM (white wire out, or black wire out?).

Regards, Team 339 Kilroy (FRC)
Reply With Quote
  #12   Spotlight this post!  
Unread 14-01-2010, 21:00
DanDon's Avatar
DanDon DanDon is offline
ohhh MY god
AKA: Dan Hoizner
FRC #0375 (The Robotic Plague)
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2004
Location: Staten Island, NY
Posts: 1,432
DanDon has a reputation beyond reputeDanDon has a reputation beyond reputeDanDon has a reputation beyond reputeDanDon has a reputation beyond reputeDanDon has a reputation beyond reputeDanDon has a reputation beyond reputeDanDon has a reputation beyond reputeDanDon has a reputation beyond reputeDanDon has a reputation beyond reputeDanDon has a reputation beyond reputeDanDon has a reputation beyond repute
Send a message via ICQ to DanDon Send a message via AIM to DanDon Send a message via MSN to DanDon
Re: 2010 Accelerometer Documentation?

Quote:
Originally Posted by EricVanWyk View Post
Wire your PWM cable such that the white signal line goes to either rate or temperature, the red power line goes to 5 Volts, and the black line goes to ground.

The signals are closest to the signal names: The ground is closest to the edge of the board.
Quote:
Originally Posted by altf2junkie View Post
Thanks for the fast response.

Should have specified - we need to know which way to solder the PWM to the gyro, not the gyro to the digital board. Thanks for the additional information, though.

We have one PWM space for Rate and another for Temperature.

We figure that we won't need to use temperature, so all we need to know is which way to orient the PWM (white wire out, or black wire out?).

Regards, Team 339 Kilroy (FRC)
Emphasis mine. Just read the post a bit more carefully.
__________________
Reply With Quote
  #13   Spotlight this post!  
Unread 15-01-2010, 00:18
jhersh jhersh is offline
National Instruments
AKA: Joe Hershberger
FRC #2468 (Appreciate)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 1997
Location: Austin, TX
Posts: 1,006
jhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond repute
Re: 2010 Accelerometer Documentation?

Quote:
Originally Posted by Lafleur View Post
Istheir a test VI to test the accelerometer using I2C in the cRIO code this year?? The one I found was only for testing last years unit using analog inputs??

thanks...

anyone have any test code??
Depends on your language of choice. I added 2 examples for using the ADXL345 one with I2C and the other with SPI, both for LabVIEW. I haven't seen any examples for C++ or Java yet. What language are you trying to use?
Reply With Quote
  #14   Spotlight this post!  
Unread 18-01-2010, 12:42
bcieslak
 
Posts: n/a
Re: 2010 Accelerometer Documentation?

Here's an interesting App Note if your trying to figure out what to do with your Accelerometer once you get it working.

http://www.analog.com/static/importe...es/AN-1023.pdf

Make sure to checkout the I2C threads on chief delphi too. There is some discussion of NI's implementation of I2c in the FpGa.

Bc
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
FRC Java 2010 Documentation alivemyst Java 11 07-09-2009 19:03
Documentation Blocker-9 Technical Discussion 1 26-01-2004 19:21
RC documentation rbayer Programming 2 24-12-2002 03:10
Documentation archiver 2000 2 23-06-2002 22:41
Documentation archiver 2000 1 23-06-2002 22:22


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

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