Today, I will show you How to control relay module using new Blynk 2.0, SIM800L and NodeMCU ESP8266. You can control the home appliances from anywhere in the world using Blynk App. You can also control the relay module by just sending SMS from your android phone. You can also check the real-time status of each relay in the Blynk App.
This is a simple IOT based Home Automation Project with ESP8266 that works without any WiFi connection. I have used GPRS internet of SIM800L to connect to the Blynk IOT Cloud. So, no WiFi connection is required for this project. Also, if there is no WiFi then you can use GSM network of SIM800L and control the relay module by just sending SMS. You can also use Arduino UNO instead of NodeMCU and use the same code for Arduino UNO as well.
--------------------------------------------------------------------------------------------------------------------
Parts Buy Links (Affiliate Links)
--------------------------------------------------------------------------------------------------------------------
Parts Required For The Project:
1. NodeMCU ESP8266 - [ Ссылка ]
2. SIM800L GSM Module - [ Ссылка ]
3. Relay Module (4 Channel) - [ Ссылка ]
4. 3.7v and 2000mAh Battery - [ Ссылка ]
5. AC Bulb and Bulb Holder
6. Breadboard
7. Jumper Wires
Features of the Project:
1. Control Relays using Blynk App
2. Control Relay by SMS
3. Register Phone Number (Hard Coded)
Troubleshooting:
1. "Couldn't find FONA".
Solution. Interchange the Rx and Tx pins from the sketch
2. AT Commands Not Displaying in Serial Monitor
Solution. Make sure, you have connected the NodeMCU ground pin to sim800l ground.
3. Heartbeat Timeout Error:
Solution. Set the interval to 2 seconds in the timer object in setup() function.
00:00 Control Relay By Blynk App and SMS (Demo)
00:33 No WiFi Connection is Required
00:44 Use Arduino UNO instead of NodeMCU
00:56 Wiring Diagram
01:42 Testing SIM800L GSM Module
02:16 AT Command Not Displaying in Serial Monitor
02:31 Configure Blynk IOT Cloud
04:36 Code Explanation (Programming)
09:15 Setting Up Blynk App for Android
10:00 Serial Monitor Output
10:18 End Screen
--------------------------------------------------------------------------------------------------------------------
Useful Video Links
--------------------------------------------------------------------------------------------------------------------
Arduino SIM800L Relay Control with SMS
[ Ссылка ]
ESP32 Relay Control With Google Sheets
[ Ссылка ]
--------------------------------------------------------------------------------------------------------------------
Social Media Links
--------------------------------------------------------------------------------------------------------------------
GitHub:
[ Ссылка ]
YouTube:
[ Ссылка ]
--------------------------------------------------------------------------------------------------------------------
Download Code
--------------------------------------------------------------------------------------------------------------------
[ Ссылка ]
--------------------------------------------------------------------------------------------------------------------
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: I will use High Voltages which if incorrectly or improperly used could result in serious injuries or death. So be careful of what you are doing because I will take no responsibility for any of your actions.
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.
Ещё видео!