SIM800L Sending Sensor Data to ThingSpeak | Arduino Multiple Sensors

  Переглядів 15,814

Ahmad Logs

Ahmad Logs

2 роки тому

#SIM800L #ThingSpeak #Arduino
In this video, I am going to show you, how to send multiple sensors data, to thing speak IOT cloud using SIM800L GSM and GPRS module and Arduino UNO. This project does not required, any Wi-Fi connection. I am using sim800l GPRS connection, to connect to the internet. I have used simple AT commands, to connect to the internet, and send the sensors data to cloud platform.
I am using 3 sensors in this project. DHT11 Humidity/Temperature Sensor, MQ2 LPG gas sensor and MQ7 Carbon Monoxide sensor. I am getting data from these sensors, and send them to Thingspeak using sim800l gsm module. After watching this video, you can get more ideas about Arduino Sensors projects.
Parts:
1. Arduino UNO - amzn.to/3ZWKAz2
2. DHT11 Temperature Humidity Sensor - amzn.to/421TIUD
3. SIM800L - amzn.to/3J48mlW
4. MQ7 Carbon Monoxide Sensor - amzn.to/3Jcvfnj
5. MQ2 LPG Gas Sensor - amzn.to/3Jwh39M
--------------------------------------------------------------------------------------------------------------------
Useful Video Links
--------------------------------------------------------------------------------------------------------------------
Arduino SIM800L DHT11 Firebase
• Arduino SIM800L DHT11 ...
ESP32 SIM800L Firebase
• ESP32 SIM800L Firebase...
GSM Based Fire Alarm System
• GSM Based Fire Alarm S...
--------------------------------------------------------------------------------------------------------------------
Social Media Links
--------------------------------------------------------------------------------------------------------------------
GitHub:
github.com/ahmadlogs/
UKposts:
ukposts.info?sub...
--------------------------------------------------------------------------------------------------------------------
Download Code
--------------------------------------------------------------------------------------------------------------------
github.com/ahmadlogs/arduino-...
--------------------------------------------------------------------------------------------------------------------
Disclaimer
--------------------------------------------------------------------------------------------------------------------
Disclaimer: All videos are for educational purposes and use them wisely. Any video may have a slight mistake, please take decisions based on your research. This video is not forcing anything on you.
Warning: In some countries it is required to register gsm module from govt authorities before using it. So, get proper understanding of govt laws related to gsm technologies.

КОМЕНТАРІ: 143
@mertoguzhan8814
@mertoguzhan8814 7 місяців тому
thank you for best explanation I have ever seen.
@phillipaparedes1943
@phillipaparedes1943 6 місяців тому
Tengo una consulta, si mi compañía telefónica (WOM, chile) solo tiene APN, pero no tiene user ni pass, que pongo?
@lotfibouchiba1537
@lotfibouchiba1537 Рік тому
THANK YOU BOSS
@jashuvasabbavarapu4053
@jashuvasabbavarapu4053 Рік тому
I want to remove the humidity sensor and add an Fire sensor. Where the GSM use to send alert message and I want to add a buzzer too....
@jazevedo558
@jazevedo558 Рік тому
É possível você fazer uma lógica de arduíno com sensor e pushbotton , apertar push bottom call in phone e sendo SMS?
@yawarsaeed6499
@yawarsaeed6499 2 роки тому
Can you please share which MQ series sensor should I use to detect Sui Gas leakage we use in our kitchen burners. I have already tried MQ-2 , MQ-4 & MQ5 but none of them detect the Sui Gas although all of these detect gas from cigarette lighter gas .
@AhmadLogs
@AhmadLogs 2 роки тому
unfortunately, I don't know. also I never test these sensors with sui gas. as you said that you have tested these sensors with sui gas but failed. (I will try it also). cigarette lighter contain LPG gas. and all the sensor can detect LPG (MQ-2 is best for LGP).
@yawarsaeed6499
@yawarsaeed6499 2 роки тому
@@AhmadLogs thanks for your reply. Yes you are right about LPG gas detection by these sensors. Sui Gas main content is Methane. If you succeed in detecting please update me. Kind regards.
@AhmadLogs
@AhmadLogs 2 роки тому
@@yawarsaeed6499 yes, sure, I will
@masoudjafarzadeh
@masoudjafarzadeh 2 роки тому
Very nice 👌🌹👍
@AhmadLogs
@AhmadLogs 2 роки тому
Thank you so much
@AntonioMartinez-xt7gg
@AntonioMartinez-xt7gg Місяць тому
Hi Ahmad, We apologize for my "translator" English I have a doubt by the order of two commands of the code of the SIM800L-Multi-Sentor.ino file of this YT: // void init_gsm(); -> void gprs_connect(); -> boolean gprs_disconnect(); -> boolean is_gprs_connected(); boolean waitResponse(String expected_answer="OK", unsigned int timeout=2000); // I think the order of GPRS_Connec () and GPRS_Disconnec must be inverse, first disconnect and then connect and verify OK connection . What do you think ? Thanks
@amnaaamir6151
@amnaaamir6151 9 місяців тому
Hi i wanna ask wheather the api keys and channel id permannet means can i program once and play system without laptop. Or i hav to use usb interface everytime can it b laptop free system so i can run it through jst adapter anywhere
@AhmadLogs
@AhmadLogs 9 місяців тому
yes these are permanent
@enattwandile1324
@enattwandile1324 2 роки тому
Hi sir, I am using RFID card reader on my Arduino project so when you tap the card, it counts up by one and when the same card is tapped, it reduces the count by one. i want to send this information to ThingSpeak but when I use those AT commands, the RFID reader stops working. What could be the problem?
@AhmadLogs
@AhmadLogs 2 роки тому
To figure out the issue, I need to take a look at your code as well as wiring.
@shyamsundarsekar8696
@shyamsundarsekar8696 Рік тому
Is it possible to use both Wifi and GSM services simultaneously in ARDUINO/ESP module?
@AhmadLogs
@AhmadLogs Рік тому
yes it is possible
@mohamedelaminebenlekkam
@mohamedelaminebenlekkam Рік тому
Hello; Thank you for your useful video all time, I have a question about adding to your code some lines that allow me to get data by sending SMS or making a call and at the same time sim800l module send data to thing speak. I am looking forward for your answer. Many thanks
@AhmadLogs
@AhmadLogs Рік тому
you are talking about two way communication. I think it is possible
@mostafa-ke8kk
@mostafa-ke8kk 2 роки тому
Thank you
@AhmadLogs
@AhmadLogs 2 роки тому
thank you to
@rxcvrdosxni1186
@rxcvrdosxni1186 Рік тому
hello sir. i have used the code and wiring as in the youtube video. my serial output mimics yours except for the +HTTPACTION: 0,606,0 output, however data is not being shown on the Thinsgspeak server. please help
@AhmadLogs
@AhmadLogs Рік тому
The "+HTTPACTION: 0,606,0" response code indicates that the HTTP POST request was successful, but the response from the server is empty. This could be due to a number of reasons, such as incorrect API key or channel ID, network connectivity issues, or server downtime.
@fernandohood5542
@fernandohood5542 2 роки тому
Not much detail on how to use the url and key and field info in the code.
@s.husain6125
@s.husain6125 2 роки тому
Thank you so much sir ....how to send float value like temperature 24.2 and humidity 64.5 means send decimal value also
@AhmadLogs
@AhmadLogs 2 роки тому
I am send floating point values in this video. like 345.678 etc
@s.husain6125
@s.husain6125 2 роки тому
@@AhmadLogs ok sir thanx ....please make same with firbase
@AhmadLogs
@AhmadLogs 2 роки тому
@@s.husain6125 will try soon.
@s.husain6125
@s.husain6125 2 роки тому
@@AhmadLogs thank you sir make to send only values change change value not add new jeson array to firebase sir
@AhmadLogs
@AhmadLogs 2 роки тому
@@s.husain6125 hmmmmm, i will check for firebase
@FahadKhan-je1jz
@FahadKhan-je1jz 2 роки тому
Hi sir, can we use MQ 2 smoke sensors and flame sensors in it
@AhmadLogs
@AhmadLogs 2 роки тому
yes, you can
@FahadKhan-je1jz
@FahadKhan-je1jz 2 роки тому
@@AhmadLogs how sir
@AhmadLogs
@AhmadLogs 2 роки тому
@@FahadKhan-je1jz just inject the example code for your sensor in the sketch.
@FahadKhan-je1jz
@FahadKhan-je1jz 2 роки тому
@@AhmadLogs sir not understand, can you explain it
@AhmadLogs
@AhmadLogs 2 роки тому
@@FahadKhan-je1jz you need to add the flame sensor code and MQ 2 smoke sensor code in the sketch
@s.husain6125
@s.husain6125 Рік тому
Hello sir my sim 800l not working with esp32 please provide Simple AT command skatch so i can check why its not working
@AhmadLogs
@AhmadLogs Рік тому
you might check my code about esp32 sim800l.
@gopals8170
@gopals8170 Рік тому
What is the range of it wirelessly
@AhmadLogs
@AhmadLogs Рік тому
it is a GSM based project. so the range is all over the country.
@saadelm2955
@saadelm2955 2 роки тому
Great job... Plz. Haw i can change the sender phone number (cmgs) just with sms... Without code? Thanks
@AhmadLogs
@AhmadLogs 2 роки тому
it is possible, but I did not implement it yet.
@saadelm2955
@saadelm2955 2 роки тому
@@AhmadLogs thanks
@AhmadLogs
@AhmadLogs 2 роки тому
@@saadelm2955 so nice of you
@leaduptechnologies7904
@leaduptechnologies7904 2 роки тому
Is possible to add other mqtt to this
@AhmadLogs
@AhmadLogs 2 роки тому
yes it is possible
@donosklentdexterh.-um7ju
@donosklentdexterh.-um7ju Рік тому
Can you provide a code for Heartbeat sensor using arduino uno with i2c lcd screen and 800l gsm module. Thank you sir
@AhmadLogs
@AhmadLogs Рік тому
great Idea I have noted it
@donosklentdexterh.-um7ju
@donosklentdexterh.-um7ju Рік тому
@@AhmadLogs do you have an code of this
@AhmadLogs
@AhmadLogs Рік тому
@@donosklentdexterh.-um7ju unfortunately not
@HarishKumar-uy5ml
@HarishKumar-uy5ml 2 роки тому
Hello, Sir I am not getting anything displayed on the serial monitor but it can send SmS and call. Kindly helppp me sir. Similarly AT Commands are not working since serial monitor cannot take the commands nor respond to it.
@AhmadLogs
@AhmadLogs 2 роки тому
try to test with different baud rates. also check you rx and tx connection if nothing display on the serial monitor
@s.husain6125
@s.husain6125 Рік тому
@@AhmadLogs same problem sir calling and sms working but no AT command showing in serial monitor
@AhmadLogs
@AhmadLogs Рік тому
@@s.husain6125 then there must be issue with your serial connections
@fiqianarofi2991
@fiqianarofi2991 Рік тому
thanks making same with using sensor jsn srt04 ..please..
@AhmadLogs
@AhmadLogs Рік тому
Will try
@s.husain6125
@s.husain6125 2 роки тому
Need same tutorial for firbase sir using multiple sensors please .... Thanx in advance
@AhmadLogs
@AhmadLogs 2 роки тому
Noted
@raymondmichael4987
@raymondmichael4987 2 роки тому
I upvote this, multiple sensors to firebase though the last tutorial didn't work for me. I'm looking forward for the next one
@AhmadLogs
@AhmadLogs 2 роки тому
@@raymondmichael4987 google firebase made some updates to their platform. and I am still finding some solution to solve this issue.
@raymondmichael4987
@raymondmichael4987 2 роки тому
@@AhmadLogs , that must be the problem, been wondering and complaining “why are you doing this to me “ :) Stay safe brother, few bumps to go, I’ll start buying you some coffee
@AhmadLogs
@AhmadLogs 2 роки тому
@@raymondmichael4987 I just trying to grow
@bisnusikder1435
@bisnusikder1435 2 роки тому
Ac main power line on off send sms sim800 It would be great if brother could make a project about it
@AhmadLogs
@AhmadLogs 2 роки тому
I need some hardware to make this project, that I don't have yet.
@udarakumarasena5099
@udarakumarasena5099 2 роки тому
Hello, I’m getting the error 601. What may be the reason?
@AhmadLogs
@AhmadLogs 2 роки тому
try again, I think it will work
@sebastianteran3750
@sebastianteran3750 Рік тому
Hi, how can this be resolved? AT+SAPBR=3,1,"PASS",Movistar ERROR AT+SAPBR=1,1 ERROR
@johnmariogonzalez5301
@johnmariogonzalez5301 10 місяців тому
because it´s not pass it is PWD
@vikram-xo4dj
@vikram-xo4dj 2 роки тому
Hello sir, I have upload the code successfully but the response of AT command are not showing in serial monitor (It's blank) but the rest of the sensor value are visible and the data is also not sent to the thingspeak cloud. Please help.
@AhmadLogs
@AhmadLogs 2 роки тому
1. have you powered sim800l correctly? (3.7v 1200mAh) 2. have you connect the sim800l ground to Arduino ground?
@vikram-xo4dj
@vikram-xo4dj 2 роки тому
@@AhmadLogs I'm using sim900a and I have given proper power supply And yes I have connected the ground pin of gsm to arduino
@AhmadLogs
@AhmadLogs 2 роки тому
@@vikram-xo4dj I never tested it for sim900. make a call to your gsm module to check if it is working?
@vikram-xo4dj
@vikram-xo4dj 2 роки тому
@@AhmadLogs I have called the number and it rings but I can't figure out what's the problem
@HarishKumar-uy5ml
@HarishKumar-uy5ml 2 роки тому
@@AhmadLogs I have used with sim800 but i am facing the same issue and all the above two points are wired properly but error
@HarishKumar-uy5ml
@HarishKumar-uy5ml 2 роки тому
Unable to get the value on thingspeak inspite of the connection being established, its get displayed on serial monitor
@HarishKumar-uy5ml
@HarishKumar-uy5ml 2 роки тому
Sir kindly reply to my another issue
@AhmadLogs
@AhmadLogs 2 роки тому
what displayed on the serial monitor after establishing the connection?
@HarishKumar-uy5ml
@HarishKumar-uy5ml 2 роки тому
The sensor values got displayed but the AT commands were not displayed.
@AhmadLogs
@AhmadLogs 2 роки тому
@@HarishKumar-uy5ml is your gsm module working fine? have you tested it?
@HarishKumar-uy5ml
@HarishKumar-uy5ml 2 роки тому
@@AhmadLogs Yess sir it blinks properly when connected and make calls and send sms but at commands are not being displayed on serial monitor.
@Twork6969
@Twork6969 2 роки тому
When uploading the code it says " Error compiling for board arduino Uno
@AhmadLogs
@AhmadLogs 2 роки тому
please use the latest version of Arduino IDE
@Twork6969
@Twork6969 2 роки тому
@@AhmadLogs I already installed the newest version but didn't work
@AhmadLogs
@AhmadLogs 2 роки тому
@@Twork6969 can you please give me the error details
@microelectronicsworkshop9147
@microelectronicsworkshop9147 2 роки тому
My sim800l module giving 606 error as the code upload.
@AhmadLogs
@AhmadLogs 2 роки тому
606 means "The port is not connected." so, check your gsm module if it is working fine or not
@microelectronicsworkshop9147
@microelectronicsworkshop9147 2 роки тому
@@AhmadLogs it is working fine
@microelectronicsworkshop9147
@microelectronicsworkshop9147 2 роки тому
@@AhmadLogs but giving 605 or 606 error
@AhmadLogs
@AhmadLogs 2 роки тому
@@microelectronicsworkshop9147 have you balance in the sim card that you have inserted in the gsm module.
@kuh_1354
@kuh_1354 Рік тому
Module fire 5 channel ??
@AhmadLogs
@AhmadLogs Рік тому
please give me some more detail
@kuh_1354
@kuh_1354 Рік тому
@@AhmadLogs monitoring fire sensor 5 channel and dht22
@kuh_1354
@kuh_1354 Рік тому
@@AhmadLogsPlease help me... the monitoring video above can't display the sensor value.... I've tried the problem..... to find APN, USER, and PASS where? I'm Indonesian
@AhmadLogs
@AhmadLogs Рік тому
@@kuh_1354 you can find the APN USER AND PASSWORD from the sim card provider's website (the sim card you have inserted in the gsm module).
@kuh_1354
@kuh_1354 Рік тому
@@AhmadLogs it still doesn't work... even though it's already the same..... I opened the serial monitor, only the sensor value appeared, while the AT etc didn't appear on the serial monitor... that's why Mr. ?
@emmakali347
@emmakali347 Рік тому
Hi bro I need to add soil ph sensor and capacitğve soil moisture sensor in this diyagram can you help me in codes plz Thanks
@AhmadLogs
@AhmadLogs Рік тому
how can I help you?
@emmakali347
@emmakali347 Рік тому
@@AhmadLogs Bro Just i want you to ad soil pH sensor codes in the codes of this projecet
@emmakali347
@emmakali347 Рік тому
@@AhmadLogs int pH_Value; float Voltage; void setup() { Serial.begin(9600); pinMode(pH_Value, INPUT); } void loop() { pH_Value = analogRead(A0); Voltage = pH_Value * (5.0 / 1023.0); Serial.println(Voltage); delay(500); }
@shreyadepa4853
@shreyadepa4853 2 роки тому
AT+HTTPSSL=1 is continuously throwing ERROR. Any idea how to resolve that
@AhmadLogs
@AhmadLogs 2 роки тому
sim800l supports this command AT+HTTPSSL=1. which gsm module you are using?
@shreyadepa4853
@shreyadepa4853 2 роки тому
@@AhmadLogs sim800l
@jambuganesh3730
@jambuganesh3730 Рік тому
@@shreyadepa4853 Hey even i am getting same problem. Did you find any solution? Please let me know. Very urgent.
@omranalfares3552
@omranalfares3552 2 роки тому
hello brother , the program throws +HTTPACTION: 0,606,0 ( all is OK but the +HTTPACTION: 0,606,0) so i can't see the results . please help me
@AhmadLogs
@AhmadLogs 2 роки тому
this is the server error. just try again
@omranalfares3552
@omranalfares3552 2 роки тому
@@AhmadLogs Thank you Ahmad, but not worked 😕, i use TLS 1.3 in our server , do you think it is the problem? 🙏🙏
@AhmadLogs
@AhmadLogs 2 роки тому
@@omranalfares3552 yes, this is the problem. use tls 1.2 or below
@omranalfares3552
@omranalfares3552 2 роки тому
@@AhmadLogs thank you Ahmad again, i use TLS 1.2 but i facing the same problem , do you think there any GSM module supported the TLS 1.2 or 1.3 ??
@omranalfares3552
@omranalfares3552 2 роки тому
​@@AhmadLogs and i created IOT hub in azure server but I don't know use it , do you have any advice about that , is it resolving the TLS issue ?
@andromedha9368
@andromedha9368 2 роки тому
would you like to make a video.. how to make a GPS triggered by an Emergency sensor? and then the data (Longitude and Latitude) send to Android Application. because that is my Final Project but I don't know how to make it.. would you like to help me, sir?? I need some reference
@AhmadLogs
@AhmadLogs 2 роки тому
which Emergency sensor, you are talking about?
@andromedha9368
@andromedha9368 2 роки тому
@@AhmadLogs crash sensor sir
@AhmadLogs
@AhmadLogs 2 роки тому
@@andromedha9368 but I don't have this sensor yet
@andromedha9368
@andromedha9368 2 роки тому
@@AhmadLogs but there is a crash sensor in the world right? or maybe I wrong to spell it
@AhmadLogs
@AhmadLogs 2 роки тому
@@andromedha9368 no, you don't miss spelled. I meant to say, I have not buy the crash sensor. to write the code for this. I need to buy it.
@bisnusikder1435
@bisnusikder1435 2 роки тому
Ac main powe line on off send sms (sim800)
@AhmadLogs
@AhmadLogs 2 роки тому
I need some hardware to make this project, that I don't have yet.
@omerozdemir7060
@omerozdemir7060 9 місяців тому
all the answers are OK but there is no data in thingspeak :(((((((((((((
@AhmadLogs
@AhmadLogs 9 місяців тому
It is strange
@KundanKumar-mj8fe
@KundanKumar-mj8fe 2 роки тому
Can you provide code please
@AhmadLogs
@AhmadLogs 2 роки тому
please check the download link in the video description
@omerozdemir7060
@omerozdemir7060 9 місяців тому
+HTTPACTION: 0,606,0 ???????
@AhmadLogs
@AhmadLogs 9 місяців тому
there is issue while posting the data.
@ShahzaibKhan-wh5hh
@ShahzaibKhan-wh5hh 2 роки тому
nice bro apki email chaiye
Sensor Data over CAN BUS - Arduino with CAN2515
15:50
Saravanan AL
Переглядів 109 тис.
Китайка и Хеликоптер😂😆
00:18
KITAYKA
Переглядів 1,2 млн
Секретная разработка КГБ! Волга «Догонялка» на V8…
1:07:10
Мастерская Синдиката
Переглядів 2,3 млн
PlatformIO: All you need to know in 10 Minutes!
10:56
J's e-shack
Переглядів 276 тис.
Send data to a server using sim800l gprs module | sim800l arduino gprs
10:38
Microcontrollers Explained
Переглядів 19 тис.
Back when the internet was fun. (1999 Apple iBook)
22:46
DankPods
Переглядів 365 тис.
Water Your Garden with IoT - Soil Moisture Sensors
54:46
DroneBot Workshop
Переглядів 383 тис.
The Cheapest Microcontroller? Getting started with the 10 cent Puya PY32.
21:36
Zach of All Trades
Переглядів 10 тис.
SIM800L GSM Made easy -AT commands Dial & SMS
12:44
Saravanan AL
Переглядів 73 тис.
12 Useful & Interesting ESP32 Projects for Beginners!
9:41
ToP Projects Compilation
Переглядів 562 тис.