Go Down

Topic: How can we interface an accelerometer and gps ? (Read 458 times) previous topic - next topic


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!!


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.

Go Up