Football Fans: Download the 2012 Schedule App from Google Play!


Go Back   Android Forums > Android Discussion > Android Applications

Android Applications All the information you could ever want about Android Applications. Learn about apps and get help with them... all here! New apps can be found and announced in the Applications Announcements forum linked below.



Reply
 
LinkBack Thread Tools
Old October 17th, 2010, 01:38 PM   #1 (permalink)
New Member
 
Join Date: Oct 2010
Posts: 1
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Cool possible to build a speedometer using only the accelerometer?

I'm tinkering around with trying to build a speedometer using only the accelerometer for use when I go snowboarding. I can read values from the accelerometer but I'm not sure how I would derive the velocity.

I was thinking of taking the square root of (X^2 + Y^2 + Z^2) where X, Y, and Z are the values reported by the accelerometer in each axis but that only would only give me the amplitude of acceleration at any given instant. I could multiple that by the sampling frequency to get my instantaneous velocity but this approach fails when I'm moving at a constant speed. Any ideas?

GizmoDuck is offline  
Reply With Quote
Sponsors
Old October 17th, 2010, 02:02 PM   #2 (permalink)
Junior Member
 
Join Date: Aug 2010
Posts: 23
 
Device(s):
Thanks: 11
Thanked 3 Times in 2 Posts
Default

maybe when the acceleration drops to 0 use the last known velocity as the current speed until the acceleration changes again. can the accelometer read negative acceleration or tell when you are slowing down? maybe you can also reference the gps and use both as a test for speed?
firechicken is offline  
Reply With Quote
Old October 17th, 2010, 05:32 PM   #3 (permalink)
Senior Member
 
Hrethgir's Avatar
 
Join Date: Feb 2010
Location: Salem, OR
Posts: 1,471
 
Device(s): Motorola Droid X (retired) Apple iPhone 3Gs B&N Nook Tablet
Thanks: 90
Thanked 174 Times in 144 Posts
Default

Rate of acceleration over time should give you speed. That's how the old G-Tech meters worked for knowing when you hit 60 MPH or your trap speed at the end of the 1/4 mile. All it used was internal accelerometers, so you should be be able to do something similar with your phone. May not be the best for watching to know your speed, but should be OK for logging speeds, I would think. Might not be as accurate as GPS, but should work OK.
__________________
Apple -> Android convert
Hrethgir is online now  
Reply With Quote
Old February 24th, 2011, 11:33 AM   #4 (permalink)
New Member
 
Join Date: Feb 2011
Posts: 5
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default

There is an application, speedometer based on built in accelerometer AcMeter - https://market.android.com/details?id=com.a10 It calculates speed just on the basis of sensor data.
completefailur is offline  
Reply With Quote
Reply

Bookmarks

Tags
accelerometer, gps


Go Back   Android Forums > Android Discussion > Android Applications User CP
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
rooting x10 mini pro with eclair build number Build number 2.0.2.A.0.24 rastariva X10 Mini Pro - All Things Root 2 January 6th, 2011 08:47 AM
speedometer widget (not app) requested dorri732 Application Requests 9 September 14th, 2010 09:00 AM
Speedometer in Nav/Google Maps? svensett Droid X - Support and Troubleshooting 4 July 22nd, 2010 05:12 PM
Looking for a speedometer Firehawkws7 Application Requests 0 October 28th, 2008 11:15 AM



All times are GMT -5. The time now is 04:45 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Custom vBulletin Skins by: Relivo