Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Sensors (http://www.chiefdelphi.com/forums/forumdisplay.php?f=173)
-   -   2010 Accelerometer Documentation? (http://www.chiefdelphi.com/forums/showthread.php?t=79886)

JDM 10-01-2010 20:24

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?

EricVanWyk 10-01-2010 20:33

Re: 2010 Accelerometer Documentation?
 
It is documented in the 2010 Sensor Manual

http://usfirst.org/uploadedFiles/Com...r%20Manual.pdf

jhersh 10-01-2010 21:28

Re: 2010 Accelerometer Documentation?
 
Quote:

Originally Posted by EricVanWyk (Post 896063)
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?

EricVanWyk 10-01-2010 21:50

Re: 2010 Accelerometer Documentation?
 
I found it under section 8 of the manual's jump page: http://usfirst.org/roboticsprograms/...nt.aspx?id=452

jhersh 10-01-2010 22:33

Re: 2010 Accelerometer Documentation?
 
I wonder why the data sheet for the Gyro and the AS5030 are not also on that jump page.

DanDon 10-01-2010 22:55

Re: 2010 Accelerometer Documentation?
 
Quote:

Originally Posted by jhersh (Post 896200)
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

JDM 11-01-2010 10:23

Re: 2010 Accelerometer Documentation?
 
Quote:

Originally Posted by EricVanWyk (Post 896063)
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 :yikes:

Thanks alot!

altf2junkie 14-01-2010 19:34

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)

EricVanWyk 14-01-2010 19:51

Re: 2010 Accelerometer Documentation?
 
Quote:

Originally Posted by altf2junkie (Post 899254)
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.

Lafleur 14-01-2010 20:18

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??

altf2junkie 14-01-2010 20:27

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)

DanDon 14-01-2010 21:00

Re: 2010 Accelerometer Documentation?
 
Quote:

Originally Posted by EricVanWyk (Post 899268)
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 (Post 899293)
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.

jhersh 15-01-2010 00:18

Re: 2010 Accelerometer Documentation?
 
Quote:

Originally Posted by Lafleur (Post 899289)
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?

bcieslak 18-01-2010 12:42

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


All times are GMT -5. The time now is 07:57.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi