Your shopping cart is empty!
Project 5: Smoke and Flames Alert System
- Irsyad Aiman
- 19 Aug 2024
- Tutorial
- Beginner
- 81
Overview
Get an alert when there is gas leakage or flame with this IoT project!
Required components
In this tutorial, these are the required components:
- NodeMCU ESP8266
- Breadboard
- MQ2 Sensor
- Flame Sensor
- 2 x LED
- 2 x Resistor
- 9 x Male-to-Female Jumper
- 2 x Female-to-Female Jumper
Circuit Diagram
Blynk setup
1. Create Datastream for smoke and flame sensor
2. Add two label widgets in Web Dashboard with configurations as shown below.
3. Lastly, create a device for this project and take note of the Blynk credentials.
Code
1. Copy and paste the code below in Arduino IDE.
2. Similar to the previous project, replace the Blynk and WiFi credentials.
3. If you encounter this error when uploading the code, remove the 3V and GND jumper wires from the NodeMCU before trying again.