The main aim of the project is to detect the smoke or gas with the help of sensor.
Components Required:
Sr. No
Component
Quantity
1
TeBoT and Cable
1
2
MQ-2
1
3
Jumper Wire(M-F)
3
Connection and Code Upload:
Step 1: Connect the TeBoT with your device and turn on it.
Step 2: Select the board and port, then upload the code.
Warning: If you face any issue while uploading the code, then first “OFF” the TeBoT. Next, turn “ON” the TeBoT. Press the “BOOT” button for a short time then press the “RESET” button once. Then release the “BOOT” button.
You will get a drive. Then upload the code.
Step 3: Now take the MQ-2 sensor and connect with TeBoT.
VCC of MQ-2 with VCC (1st pin from right to left in ultrasonic port) of TeBoT.
GND of MQ-2 with GND (1st pin from left to right in ultrasonic port) of TeBoT.
DO of MQ-2 with Pin No 14 (2nd pin from left to right in ultrasonic port) of TeBoT.
Now, turn on the TeBoT. Take some smoke close to MQ-2 sensor then the speaker will give a sound.
Conclusion: From this project we got the idea about all components, connection of those components and made the Smoke Detection Project.