Sending GPS to cloud and Android after an accelerometer sensor is triggered.

Hello! I was wondering if this idea is feasible. Basically, I want to send the GPS location after the accelerometer reaches a certain threshold. It will send the GPS coordinates to the cloud, and then an android app will be notified and it will show a google map of the location.

I would be using Arduino UNO or Arduino Lilypad, and GPS module. Not sure yet how to communicate to cloud, maybe GSM module or some other things. Im in the process of figuring it out and insights or suggestions would be appreciated.

*edit, An example application would be for speeding vehicles.

Do you know what an accelerometer measures? A bump in the road might cause an accelerometer to "exceed a threshold". Is your plan to map potholes?

One can accelerate slowly well past the speed limit, so if your plan is to stop speeding, you have a lot of work to do.

I assume you are making a "shock indicator", not setting a speed limit. This is very feasible.

For parsing the GPS information, take a look at my NeoGPS library. It is smaller, faster, more reliable and more accurate than all other libraries, and the examples are properly structured. NeoGPS is available from the Arduino IDE Library Manager, under the menu Sketch -> Include Library -> Manage Libraries.

Even if you don't use it, there is lots of information on the Installation and Troubleshooting pages. Be sure the read the section about choosing a serial port.

I suggest you get the GPS location on a continuous basis so you will have it when you need it.

Paul

PaulS:
Do you know what an accelerometer measures? A bump in the road might cause an accelerometer to "exceed a threshold". Is your plan to map potholes?

Ah, as -dev said, I'm planning on recording sudden shocks, possibly from accidents. And I haven't fully grasped the concept of accelerometers yet. But I do know they measure accelerations from gravity or continuous sources and the like.

-dev:
I assume you are making a "shock indicator", not setting a speed limit. This is very feasible.

Even if you don't use it, there is lots of information on the Installation and Troubleshooting pages. Be sure the read the section about choosing a serial port.

Thanks for the tips!

Paul_KD7HB:
I suggest you get the GPS location on a continuous basis so you will have it when you need it.

Paul

Yes that seems to be the most appropriate way to tackle it.

Now my concern is how to connect my Arduino to the cloud to send data. More specifically, it needs an internet connection while in a mobile location with no wifi like a car. So far, I've researched bluetooth and a smartphone with internet connectivity. I wouldn't want to go this route as I need a standalone microcontroller circuit.

There is also something like a USB GPRS/GSM modem. Not sure how it really works though. I think it works like smartphones with 3G or higher connectivity.

I've also researched on IoT devices, but also haven't fully grasped the concept of Arduino and IoT. I've read that you can create an IoT device that sends data like forest fires using fire sensors to the cloud. Just to let you guys know and I appreciate everything!

I'll go into further research on the method I mentioned at my topic title.