Go to Post While FIRST's goal is to inspire young people, it will be much easier to do that if we also inspire all the older people as well. - E. Wood [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

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Spotlight this post!  
Unread 03-01-2007, 15:13
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,306
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

I was looking at Sparkfun about Accelerometers, as they seem to be one of the best carriers for usable ones (boo BGA soldering, we bought a gyro directly from Analog accidently 2 years ago, and thankfully we knew someone who could solder it for us).

Chris, if you use that soon please tell me how it works, as the ADXL203 seems to be the best option available if we don't want to build a power converter for voltage. The only worry about that is if a 1.7g range will be enough.

Attached are the .c, .h, and readme files for the code. It's designed to work with Kevin's ADC code and is based largely off of his gyro code (so if it looks familiar, that's why).

So far it's accurate to about 3 inches for 1-1.5 seconds, and like 6-8 inches for 2 or 3 seconds. It's not as accurate in reverse as it is going forward. Based on those errors, I definitely need a more accurate sensor for a large bot.
Attached Files
File Type: c accelerometer.c (12.2 KB, 207 views)
File Type: h accelerometer.h (5.4 KB, 191 views)
File Type: txt accelerometer_readme.txt (10.5 KB, 181 views)
__________________
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
 


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 17:38.

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