LPG gas leak alarm
A kitchen gas sniffer that beeps and flashes the moment LPG levels climb.
Shop by category
Shop all componentsAn IR thermopile measures the heat radiated by a surface without touching it. The MLX90632 is a tiny factory-calibrated thermopile with a medical accuracy grade of about 0.2 degrees in the body range. The SparkFun library reads object and sensor temperatures over I2C. The Nano averages a short burst after you press the button, shows the result and beeps.
Not a medical device; use a certified thermometer for health decisions.
Tick anything you already have and the total updates.
MLX90632 medical-grade IR thermometer module
Follow the colours: red is power, dark grey is ground, blue is a signal.
A small power bank or a 9 V battery to VIN.
ir_thermometer.inoVerify & upload in Electrolark#include <Adafruit_SSD1306.h>
Adafruit_SSD1306 oled(128, 64, &Wire, -1);
#include <SparkFun_MLX90632_Arduino_Library.h>
MLX90632 mlx;
const float OFFSET = 0.0;
void setup() {
pinMode(2, INPUT_PULLUP);
Wire.begin();
oled.begin(SSD1306_SWITCHCAPVCC, 0x3C); oled.setTextColor(WHITE);
MLX90632::status st;
mlx.begin(0x3A, Wire, st);
oled.clearDisplay(); oled.setCursor(0, 0); oled.print("Press to measure"); oled.display();
}
void loop() {
if (digitalRead(2) == HIGH) return;
float sum = 0;
for (int i = 0; i < 10; i++) sum += mlx.getObjectTemp();
float t = sum / 10 + OFFSET;
oled.clearDisplay();
oled.setTextSize(1); oled.setCursor(0, 0); oled.print("Skin temperature");
oled.setTextSize(3); oled.setCursor(0, 20); oled.print(t, 1); oled.setTextSize(1); oled.print(" C");
oled.setCursor(0, 54); oled.print("Sensor "); oled.print(mlx.getSensorTemp(), 1);
oled.display();
tone(5, 2500, 150);
delay(1000);
}
It is too far away or pointing past the forehead; use the spacer.
Skin is cool from outside; wait a few minutes.
Check the 3.3 V supply and address 0x3A.
No, forehead skin is usually 0.5-1 degree lower than core; medical thermometers add a correction.
No, it is a learning project even though the sensor is medical grade.
Yes, though shiny surfaces read low; stick tape on metal to read it correctly.
7 parts: UByte MLX90632SLD-DCB-000-RE Medical Grade Non-Contact IR Thermometer Module, Generic Nano CH340 Development Board (Soldered), 0.96" OLED Display 128x64, Buzzer Module 3.3–5V, Tactile Push Button Switch, 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 intermediate project and takes about 2 hours. The build on this page has 6 steps.
No. This page has the complete, tested code (ir_thermometer.ino).
About ₹1,624 for the parts at the prices on this page. Quantity price breaks lower the cost when you build several.
How IR thermometers work; Object versus ambient temperature; Why distance and emissivity matter.
Not a medical device; use a certified thermometer for health decisions.
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.