Pages: [1]   Go Down
Author Topic: Driving Strategist using Accelerometer and Arduino  (Read 7916 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Newbie
*
Karma: 0
Posts: 10
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Can anyone help or suggest about programming for our project.  We do not know how to start. Our project entitle driving strategist. The project will aid the driver. The project compose of our main input is the Accelerometer, Arduino controller, and the LED for display.

Red Led = slow down
Green Led = go

Thank you very much
Logged

0
Offline Offline
Jr. Member
**
Karma: 0
Posts: 92
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

You're pretty vague on what you want to do so its hard to help.  If you want to build something to keep you from speeding then you're out of luck with just an accelerometer, which only measures acceleration, not speed.

You could integrate acceleration to get speed but you'd also integrate the noise which would give you a speed estimate that drifts over time.
Logged

Central MN, USA
Offline Offline
Tesla Member
***
Karma: 72
Posts: 7171
Phi_prompt, phi_interfaces, phi-2 shields, phi-panels
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Use a gps module to measure speed instead of accelerometer. Here is a blog post I made on how to hook up a popular gps to arduino. You can download the code including the library that I used. Getting speed from the gps is very straightforward like gps.getSpeed() smiley

http://liudr.wordpress.com/2010/12/29/fully-functional-arduino-gps-logger/

If you really want to use accelerameter, you could stick it on the wheel and it will tell you speed smiley That is exactly what I do in one project  ;D
Logged


0
Offline Offline
Newbie
*
Karma: 0
Posts: 10
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

thank you for your help and reply. sorry i made wrong. our project is not measuring the speed. We use accelerometer to get acceleration and aside from that it detect tilts. Our project will aid the driver. The hardware will send signal to the driver and the signal will be LED DISPLAY. The driver will choose either he will follow the signal or not. Also our project will focus on fuel efficiency.

Example:

If the driver go left. Our hardware will act and create signal via LED.
Logged

Pages: [1]   Go Up
Jump to: