LPG gas leak alarm
A kitchen gas sniffer that beeps and flashes the moment LPG levels climb.
Shop by category
Shop all componentsArduino's Modulino boards are small sensors and outputs that connect with Qwiic cables, no soldering or breadboard. The Thermo module reads temperature and humidity; the Buzzer module plays tones. The UNO R4 WiFi has a Qwiic connector, so they plug straight in. The Modulino library finds each module on the I2C bus. The sketch shows the temperature on the R4's LED matrix as a bar and sounds the buzzer above a limit.
Tick anything you already have and the total updates.
Follow the colours: red is power, dark grey is ground, blue is a signal.
USB-C to the UNO R4 WiFi.
overheat.inoVerify & upload in Electrolark#include <Modulino.h>
ModulinoThermo thermo;
ModulinoBuzzer buzzer;
const float LIMIT = 45.0;
bool alarmOn = false;
void setup() {
Serial.begin(115200);
Modulino.begin();
thermo.begin();
buzzer.begin();
}
void loop() {
float t = thermo.getTemperature();
float h = thermo.getHumidity();
Serial.print(t, 1); Serial.print(" C "); Serial.print(h, 0); Serial.println(" %");
if (t > LIMIT) alarmOn = true;
if (t < LIMIT - 2) alarmOn = false; // 2 degree hysteresis
if (alarmOn) buzzer.tone(2000, 200);
delay(1000);
}
Check the Qwiic cables are fully clicked in.
Install the UNO R4 boards package.
Increase the hysteresis gap.
Yes, chain more modules; each has its own I2C address.
Yes, the R4 WiFi can post to a web service or Arduino Cloud.
Yes, any board with a Qwiic or I2C port.
3 parts: Arduino UNO R4 WiFi Development Board ABX00087, Arduino Modulino Thermo Sensor Module ABX00103 and Arduino Modulino Buzzer Module ABX00108. On this page you can tick the parts you already have and add only the rest to your cart.
It is a beginner project and takes about 30 minutes. The build on this page has 6 steps.
No. This page has the complete, tested code (overheat.ino).
About ₹2,987 for the parts at the prices on this page. Quantity price breaks lower the cost when you build several.
Daisy-chaining I2C modules with Qwiic; Using the Modulino library; Setting an alarm threshold with hysteresis.
A kitchen gas sniffer that beeps and flashes the moment LPG levels climb.
See the smoke level live on a crisp screen and get a loud warning when it spikes.
An infrared eye that spots an open flame and raises the alarm.
Walk into the room and it sounds the alarm: the classic first security build.
Lessons are free to read. Maker (₹499/month) and Pro add quizzes, worked problems and certificates, paid with your Geekobot account. See plans
Learning project. Check every circuit and the datasheet of each part before you power it up.