Your shopping cart is empty!

DIY Fire Detection and Suppression with Raspberry Pi Pico
- Abdulrahman Alhamed
- 08 Nov 2023
- Tutorial
- Beginner
- 340
Learn how to build a fire detection and suppression system using a Raspberry Pi Pico, a flame sensor, and a water pump in this quick and easy video tutorial. Keep your surroundings safe from fire hazards with this DIY project!Â
Â
Video Tutorial
Â
Components Required
Hardware Components
Flame Sensor Module
RM3.60 RM5.00
x 1 unit(s)
x 1 unit(s)
Robo Pico wtih Raspberry Pi Pico with Pre-solde...
RM88.60 RM90.50
x 1 unit(s)
Connection
- Connect the flame sensor GP3
- Connect water pump to motor terminal 1
Â
Get Familiar with Thonny and CircuitPython
In this tutorial, we'll use Thonny editor & CircuitPython to build the code for this project. If you're not familiar with Thonny, check out the video below to learn how to get started with it.
Â
Â
Code
Project complete
The code runs an infinite loop, checking the flame sensor for fire detection. If a fire is detected, it activates the water pump for 5 seconds and then turns it off.