Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Accelerometer Suggestions (http://www.chiefdelphi.com/forums/showthread.php?t=50877)

Donut 05-01-2007 10:22

Re: Accelerometer Suggestions
 
Quote:

Originally Posted by 6600gt (Post 548131)
He did have an accelerometer code made in 2005, I think. You might want to check it out(probably similar to yours); it's somewhat similar to the gyro.

Our team was lucky enough to receive a LabView data acquisition module and software($2700) to play around with. It has a 14bit A/D converters to acquire data that can be shown graphs. I want to try and use this to speed up our development.

I've seen his '05 accelerometer code; it had the ADC built into it (rather than seperate like he did with the gyro in '06), so it wouldn't work with other sensors using analog ports at the same time. It does acceleration similar to mine, I just went a step further and tried to calculate velocity and position as well.

14 bits is alot better resolution than you'll get on the robot controller; keep that in mind, as there is a huge difference in what you can measure between these. A 14 bit A/D will make each number in the output practically 1 millig for the kit accelerometer, while the A/D on the FRC controller has about 16 milligs for each number on the output.

6600gt 05-01-2007 17:23

Re: Accelerometer Suggestions
 
Quote:

Originally Posted by Donut (Post 548266)
I've seen his '05 accelerometer code; it had the ADC built into it (rather than seperate like he did with the gyro in '06), so it wouldn't work with other sensors using analog ports at the same time. It does acceleration similar to mine, I just went a step further and tried to calculate velocity and position as well.

14 bits is alot better resolution than you'll get on the robot controller; keep that in mind, as there is a huge difference in what you can measure between these. A 14 bit A/D will make each number in the output practically 1 millig for the kit accelerometer, while the A/D on the FRC controller has about 16 milligs for each number on the output.

Well that s why I am working on trying to get an external PIC on board to do the extra crunching. I will certainly using the oversampling feature to attain the max res possible. External PIC might should be able to output 13bit easily and maybe 14bit with some optimizing.(It also has to do the gyro and the trig calculations)

You should be able to do 12 bit on the RC. In fact, that is the initial setup of the Kevin's ADC code.


All times are GMT -5. The time now is 17:38.

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