DIY cellular IoT – Internet of Things System – sending sensors data to the cloud with HTTP or MQTT

[ENABLE CAPTIONS PLS] This is the simplest IoT unit which receives information from DHT22 sensor and sends them via World-wide-web with HTTP to the cloud – ( Thingspeak system ) so you can look at temperature & humidity on line. It functions when there is NO WIFI ! Employs GSM/GPRS !

Thanks to use of 2G/GSM/GPRS community you can put your system in locations where by there is NO WIFI / NO WLAN out there. When utilizing SIM7000A/SIM7000E module rather of SIM800L – this method can be adjusted to LTE-M/CAT-M or NB-IOT / CAT-NB coverage – the command to use SIM7000 are just the exact : https://simcom.ee/paperwork/SIM7000x/SIM7000%20Series_HTTP_Application%20Observe_V1.01.pdf & https://simcom.ee/paperwork/SIM7000E/SIM7000%20Sequence_AT%20Command%20Manual_V1.03.pdf

If you really don’t want to use Thingspeak you can add information right to your personal HTTP server or other clouds like AWS IoT , Azure IoT Cloud, Google Cloud IoT or IBM Watson IoT platform. In this sort of case you will have to transform HTTP URL and parameters definition within just the source C code (AVR-GCC).

Othe selection is to use MQTT protocol as an alternative of HTTP. There is a doc below which clearly show some illustrations of MQTT utilization on SIMCOM modules : http://www.microchip.ua/simcom/SIM800x/Application%20Notes/SIM800%20Sequence_MQTT_Application%20Observe_V1.00.pdf anf for SIM7000 https://simcom.ee/documents/SIM7000x/SIM7000%20Series_MQTT_Software%20Note_V1.00.pdf

 In this edition of source code the IoT device can publish Temperature & Humidity values acquired from DHT22 sensor to Thingspeak servers in 120 minute intervals so you can enjoy them there. To do that you require to be registered at Thingspeak initial (registration and particular use is no cost of charge), produce a channel with 2 fields for measurements, down load the API vital for this channel, insert this important into the code and compile the plan.

You can see the unit functioning online in this article : https://thingspeak.com/channels/1051859

In between consecutive measurements the SIM800L module is place into SLEEPMODE to conserve strength. When employing ENELOOP 700mAh AAA NiMH batteries I am receiving at the very least 5 times everyday living interval with measeruments accomplished each 2 hrs. Since the product works by using GPRS to article information to Thingspeak channel it is very important to give superior power source due to the fact SIM800L module can eat up to 2A current in small peaks.

All the details of the project are below : https://github.com/mcore1976/smartmetering

Delight in !

[ sorry for low audio volume, I was using PS3 eye camera to record… ]

 Leave a Like and Subscribe for additional easy DIY Electronics !

Search phrases :

Thingspeak iot , Thingspeak ATMEGA328P , Thingspeak ATTINY2313 , Thingspeak AVR , Tihnigspeak SIM800L , upload details to Thingspeak , Thingspeak DHT22 , Thingspeak DHT 11, Thingspeak M2M , Thingspeak weather conditions station , temperature station M2M , climate station IoT , gprs module , gsm module , thingspeak arduino , household automation , wise metering , inteligentny dom , internet of things , smart home , sim800l HTTP , sim 800l https , simcom thingspeak , MQTT , LTE-M , CAT-M1 , NB-IOT , NBIOT , CAT-NB , publishing facts to the cloud , SIM7000 , SIM7000E , SIM7000A , Google Cloud , AWS , Azure , AWS IoT Main , Google I/O , Google Cloud IoT Core , IBM Watson IoT Platform , Oracle IoT Cloud Support , Bosh IoT Cloud , chmura Google , Machine Learning , MATLAB , Mathworks , Microchip , ATMEL , gps tracking , smart cities , mobile iot, sensors

#IOT #ATMEGA #ALCHNL #ARDUINO #ATTINY #USBASP #AVRDUDE #AVRGCC

(Visited 4 times, 1 visits today)

You Might Be Interested In

LEAVE YOUR COMMENT

Your email address will not be published.