How do I get mobile cellular data to an App from an Arduino?
What modules do I need?
Does it have to be a module with a SIM card that sends voltage data to an App?
How do I get mobile cellular data to an App from an Arduino?
What modules do I need?
Does it have to be a module with a SIM card that sends voltage data to an App?
Are you looking to send some data from Arduino to a app running on a mobile phone?
You would need an Arduino Yun or an Arduino Leonardo that can connect to the internet. Then its a matter of using any of the web API to get the data over to the mobile app. (MQTT, REST, Tembo and so many other IOT platforms)
If you explain more on what you want to do, some one here can provide more input.
Thank you Mohan. My project deals with reading voltage from a 9v Battery into an Android App. As you can see i'm a novice. All I have heard is that the Arduino is the best solution for a novice getting into programmable electronics. Therefore, if anyone can actually help me with the parts I need, (and maybe some instructions) little by little, I will figure out how to make it work. Of course, with the resources available on element 14.
Again, thank you Mohan for responding.
Damion,
first of all, assuming the voltage you want to measure is DC (0-9 volt) then you need a voltage divider to reduce the input range to the Arduino to 0 - 5 volt assuming the Arduino is powered from 5 volt.
Once you have the Arduino coded to read the input voltage you need to connect to the internet, for that you need either a wired LAN connection or a WIFI module. The wired connection is probably the cheapest and easiest for a beginner.
Then you need an Android app on your phone, I suggest you have a look at NETIO, Google it and you'll get to the web page for this app (NETIO).
I would suggest you do this in stages. First get your Arduino sending the required data to the serial monitor on your PC. Secondly, if your are using an Ethernet board or shield look up the examples for the Ethernet applications on the Arduino website. Also on Element 14 look up Peter Oakes tutorials, Peter covers, in easy stages, getting data from your Arduino to a web page.
Finally when you have that working you have a good base to use NETIO to send data to your phone.
What you want to do is not trivial but can most certainly be done but it is best learnt in steps. The GPS device you referred is entirely unsuitable.
Bob
Also, is it possible to receive mobile data while moving, from an Arduino powered by a battery.
Thank you ver much for responding bobcroft. I will certainly heed your suggestions. What if I want the Arduino to be mobile and send data to my phone, is that a possibility at all? I look at how say a viper alarm system can relay information to your phone from its module in the car. How can I achieve something similar, by having the Arduino being mobile and sending me data wherever I am in the US?
Also, can a potentiometer act as the voltage divider here?
Damion,
yes I believe what you desire to do is possible and I can see your original idea of using a GSM capable module such as the Arduino GSM shield, this should work. With a suitable SIM card on the shield you could then either send SMS messages containing your data to your mobile phone or any other phone. Alternatively the shield supports TCP/UDP protocols so you could use those on a WAN system.
I have not done any of these things myself but if you Google the Arduino GSM shield there is a lot of good information there.
I recently looked into mobile communications and concluded that whilst the genuine Arduino GSM shield is quite expensive there are clones and alternative devices to be had at more reasonable cost. However, the ongoing cost of mobile network charges by the SIM card provider were high, in the UK at least. So although the shield is expensive it is only a one off cost whereas the network subscription is ongoing.
I would advise you to have a good read of the information on the Arduino GSM shield, see if that fits your needs. Then, unless you have deep pockets, review the alternative devices and see if there is sufficient information on the net for you to complete your project.
You can also hack an ordinary mobile phone to do what you require but I am not aware of any good source of information to point you too. Google is your friend!
Regarding your other query about a potentiometer, No please do not do that because if the pot got accidentally turned to the a higher voltage than the Arduino supply voltage you would fry it! Far better to use a resistor divider between the 9 VDC and ground and whilst I could suggest values you will learn more by researching the topic your self. Google something like Arduino resistive divider, you will learn a bit about Ohms law.
I hope that helps, ask if you need more.
Thank you very much Bobcroft, obviously your knowledge base is wide. There is a lot to chew here and I will start. You have been really helpful in getting me on my way. Thanks also for your availability, I know it will come in handy at some point in the future.