LPG gas leak alarm
A kitchen gas sniffer that beeps and flashes the moment LPG levels climb.
Shop by category
Shop all componentsA sealed rubber bulb connected by a tube to a pressure sensor turns a squeeze into a pressure rise. The Adafruit MPRLS board carries a Honeywell MicroPressure sensor with a metal port for the tube, reading up to 25 psi absolute. The Nano records the peak of each squeeze and keeps a best score, which makes it a simple tool for tracking hand rehab or just a game.
Tick anything you already have and the total updates.
Adafruit MPRLS ported pressure sensor
Follow the colours: red is power, dark grey is ground, blue is a signal.
USB or a small power bank.
grip_meter.inoVerify & upload in Electrolark#include <Adafruit_SSD1306.h>
Adafruit_SSD1306 oled(128, 64, &Wire, -1);
#include <Adafruit_MPRLS.h>
Adafruit_MPRLS mpr;
float base = 0, peak = 0, best = 0;
void setup() {
oled.begin(SSD1306_SWITCHCAPVCC, 0x3C); oled.setTextColor(WHITE);
mpr.begin();
delay(200);
base = mpr.readPressure(); // hPa
}
void loop() {
float rise = mpr.readPressure() - base;
if (rise > peak) peak = rise;
if (rise < 5 && peak > 20) { // squeeze finished
best = max(best, peak);
oled.clearDisplay();
oled.setTextSize(1); oled.setCursor(0, 0); oled.print("Score (hPa)");
oled.setTextSize(3); oled.setCursor(0, 16); oled.print((int)peak);
oled.setTextSize(1); oled.setCursor(0, 54); oled.print("Best "); oled.print((int)best);
oled.display();
peak = 0;
}
delay(20);
}
The tube leaks; use a tighter tube or a cable tie.
Check the I2C wires; the address is 0x18.
Scores depend on the bulb size; compare only with the same bulb.
No, it shows relative progress, not a clinical grip strength in kg.
Roughly, by squeezing the bulb under known weights and making a table.
It reads up to 25 psi absolute, about 700 hPa above room pressure, which a hand bulb does not reach.
5 parts: Adafruit MPRLS Ported Pressure Sensor Breakout – 0 to 25 PSI, Stainless Steel Port, I2C Interface, Generic Nano CH340 Development Board (Soldered), 0.96" OLED Display 128x64, Solderless Breadboard and Dupont Jumper Wires (40 pcs). 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 1-2 hours. The build on this page has 5 steps.
No. This page has the complete, tested code (grip_meter.ino).
About ₹5,110 for the parts at the prices on this page. Quantity price breaks lower the cost when you build several.
Measuring pressure in a closed volume; Peak detection; Using a ported pressure sensor.
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.