Reputation: 21
I have a raspberry pi 2 and sim900 gsm/gprs module. I have to send some sensors data to azure iot suite's remote monitoring application for monitoring and control. We can not provide ethernet or wifi at the site. The only option is using gsm/gprs module. I have searched a lot but couldn't find any material about this. And would it be possible to achieve this using arduino instead of rpi.
Upvotes: 2
Views: 3456
Reputation: 165
yes, this is possible with arduino and RPi.If you use a SIM900 module, make sure you have the latest firmware and you can use SSL.
Here you can find a program I made to send data to my Azure IoT Hub via HTTPS using SIMCOM Modules (SIM800, SIM900...): https://developer.mbed.org/users/BorjaTarazona/code/Azure_SIM800_HelloWorld/
To upload the data to your IoT Hub via HTTPS using a SIM900 module you need:
The commands I use to send data to Azure using HTTPS with the SIM900 moudle are:
Initialization
Data transmission
Upvotes: 5
Reputation: 2030
I don't see SIM900 GPRS module listed in windows IoT compatible list https://developer.microsoft.com/en-us/windows/iot/win10/supportedinterfaces#Miscellaneous, so I'm supposing it's not officially supported.
Otherwise, you can port an Linux kernel/distribution to rapspberry pi, which has a ready-to-use pppd dial service. When you have your device connected to web, use the windows iot c client https://github.com/Azure/azure-iot-sdks.git to connect to Azure IoT Hub.
Upvotes: -1