Go to Post there's no time like week 5 to learn programming :D - dcarr [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
  #16   Spotlight this post!  
Unread 05-01-2007, 10:22
Donut Donut is offline
The Arizona Mentor
AKA: Andrew
FRC #2662 (RoboKrew)
Team Role: Engineer
 
Join Date: Mar 2005
Rookie Year: 2004
Location: Goodyear, AZ
Posts: 1,313
Donut has a reputation beyond reputeDonut has a reputation beyond reputeDonut has a reputation beyond reputeDonut has a reputation beyond reputeDonut has a reputation beyond reputeDonut has a reputation beyond reputeDonut has a reputation beyond reputeDonut has a reputation beyond reputeDonut has a reputation beyond reputeDonut has a reputation beyond reputeDonut has a reputation beyond repute
Re: Accelerometer Suggestions

Quote:
Originally Posted by 6600gt View Post
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.
__________________
FRC Team 498 (Peoria, AZ), Student: 2004 - 2007
FRC Team 498 (Peoria, AZ), Mentor: 2008 - 2011
FRC Team 167 (Iowa City, IA), Mentor: 2012 - 2014
FRC Team 2662 (Tolleson, AZ), Mentor: 2014 - Present
  #17   Spotlight this post!  
Unread 05-01-2007, 17:23
6600gt's Avatar
6600gt 6600gt is offline
Registered User
AKA: Lohit
FRC #0226 (Hammerhead)
Team Role: Alumni
 
Join Date: Jan 2006
Rookie Year: 2004
Location: Troy, MI
Posts: 221
6600gt is a jewel in the rough6600gt is a jewel in the rough6600gt is a jewel in the rough
Re: Accelerometer Suggestions

Quote:
Originally Posted by Donut View Post
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.
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
Accelerometer Readings hello1990ab Programming 5 04-04-2006 11:00
Accelerometer/Gyros? Idaman323 Programming 4 03-02-2006 23:20
Accelerometer railerobotics Programming 1 27-01-2006 02:59
Accelerometer Tom McCurdy Programming 5 30-01-2005 23:45
Accelerometer buss Electrical 1 09-01-2005 00:10


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

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