Go Down

Topic: Read accelerometer data on the phone (Read 910 times) previous topic - next topic

faustin40

Hello ! Firstly sorry for my english I'm French. For a project of earthquake detection, I would to read data of my accelerometer,connected on my arduino UNO on  my phone. I know it's possible via bluetooth with app inventor but I don't know what is the programm on Arduino to connect them . Thanks for the help !

Robin2

I know it's possible via bluetooth with app inventor
I suspect that the website where you got that information also contained a suitable Arduino program.

...R
Two or three hours spent thinking and reading documentation solves most programming problems.

faustin40

the website make the same thing with a potentiometer so the programm is different

Robin2

the website make the same thing with a potentiometer so the programm is different
If that means that the website has an Arduino program to send potentiometer data to an AppInventor program then post the Arduino program. It is not likely to need much modification to send different data.

...R
Two or three hours spent thinking and reading documentation solves most programming problems.

Nick_Pyner

If you already have the accelerometer working, all you need is a serial.print command to get the data out via bluetooth. The rest is just procedure, not programming. As it is, and if you seriously mean to detect earthquakes, I submit bluetooth would be a pretty poor choice, as you could spend months hanging around waiting for something to happen, and praying the batteries don't go flat. GPRS would surely be a better choice.

Go Up