Raspberry Pi 3 GSM / GPRS Modem Integration with Android Stuff

I am trying to create a module using Android Things. I need to send temperature and pressure readings to a server over the Internet using a GSM / GPRS modem. I am using Raspberry Pi 3 with AndroidThings SDK. I can get temperature and pressure readings using the BMP 280 sensor, but must use an external GSM modem to send data to the server. Is it possible to integrate a GSM modem with Android Things (Raspberry pi 3)? Where can I get the resources to learn and do as I am new to Android Things and IoT?

+3


source to share


3 answers


Yes it is possible. Thanks for all the answers above. I was working on integrating a SIM900 module in Android with a Raspberry Pi 3 panel. I also made a library library project on GitHub. I thought it would be helpful to others. Link: https://github.com/MacSimmy/Sim900AndroidThings



+1


source


Yes, you can integrate the JYMG-100 GSM / GPRS Modem with Raspberry Pi 3 with Android stuff. To do this, you need:

1) hardware UART ↔ RS232 converter (for example, which ), since RP3 has U ... + 5V UART input / output data, but JYMG-100 GSM / GPRS modem is not a UART, but an RS232 interface with -12 inputs / outputs. . + 12V, see details here )



2) Implements AT command control of JYMG-100 GSM / GPRS modem (yes, you need datasheet with JYMG-100 AT command set, for example this is for SIM900 GSM / GPRS module, but for common tasks like SMS processing. You can use "standard" AT-commans like that If you don't find the spec for JYMG-100 just open its body and see what GSM / GPRS uses) via RP3 UART as in this tutorial (also this proppy question is very helpful) ... So, you just need to send String

with AT command to JYMG-100 and receive and parse the response String

.

+3


source


It is possible. I was able to integrate SIM800L into RPI3 using Android Things via UART and AT commands. However, I use it to send SMS and not to connect to the internet. I also see no problem in achieving this.

Make sure you are using the correct voltages for the Sim800l module as the range is 3.7 to 4.2V and the peak current draw is around 2x. Use a good quality power supply to prevent power outages.

Hope this answers your question.

+1


source







All Articles