Pages: [1]   Go Down
Author Topic: How can we interface an accelerometer and gps ?  (Read 147 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 1
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hello..I recently started programming on arduino and came up with a project which an actually working on now.! But now,. M struck up in writing the code for interfacing 3A accelerometer(MMA7660) with gps module(GPS mini ttl)..!  Im trying to write it like if a vibration is sensed then the location has to be detected by the gps..GPS is a continous running loop wherein sensor will be a if condition..! So , I would be glad if i get some clue or help!!
Logged

Oregon, USA
Offline Offline
Edison Member
*
Karma: 65
Posts: 2125
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

First, figure out how to read the GPS and output the coordinates.
Second, figure out how to read the accelerometer and detect a vibration. How you do that depends on your circumstances.
There are plenty of examples of both, on line, to get you started. Once you understand those two points, it is easy to combine them.
Logged

"It seems to run on some form of electricity"

Pages: [1]   Go Up
Jump to: