LPG gas leak alarm
A kitchen gas sniffer that beeps and flashes the moment LPG levels climb.
Shop by category
Shop all componentsThe MAX31850K is a thermocouple amplifier that speaks the 1-Wire bus used by DS18B20 sensors. Each chip has a unique address, so several thermocouples can share one Arduino pin. The Seeed Grove board has it ready with a connector, and the Grove high temperature sensor gives a K-type probe. The sketch uses the standard OneWire and DallasTemperature libraries, which support the MAX31850.
Only the probe goes into the heat; keep the boards and wires cool.
Tick anything you already have and the total updates.
Seeed Grove 1-Wire thermocouple amplifier (MAX31850K)
Seeed Grove high temperature sensor with K-type probe
Follow the colours: red is power, dark grey is ground, blue is a signal.
USB.
max31850.inoVerify & upload in Electrolark#include <Adafruit_SSD1306.h>
Adafruit_SSD1306 oled(128, 64, &Wire, -1);
#include <OneWire.h>
#include <DallasTemperature.h>
OneWire bus(2);
DallasTemperature sensors(&bus);
void setup() {
Serial.begin(9600);
oled.begin(SSD1306_SWITCHCAPVCC, 0x3C); oled.setTextColor(WHITE);
sensors.begin();
Serial.print("Probes found: "); Serial.println(sensors.getDeviceCount());
}
void loop() {
sensors.requestTemperatures();
oled.clearDisplay(); oled.setTextSize(1); oled.setCursor(0, 0);
for (int i = 0; i < sensors.getDeviceCount() && i < 3; i++) {
float c = sensors.getTempCByIndex(i);
Serial.print("Probe "); Serial.print(i); Serial.print(": "); Serial.println(c);
oled.setTextSize(2); oled.setCursor(0, 4 + i * 20); oled.print(i + 1); oled.print(": "); oled.print(c, 0); oled.print(" C");
}
oled.display();
delay(1000);
}
Check the data wire and pull-up; make sure DallasTemperature is up to date.
The probe dropped off the bus; check the connector.
Swap the thermocouple leads.
One pin for many probes and long cables are easier.
Yes, they share the bus; each has its own address.
About every 100 ms per probe; fine for ovens and kilns.
6 parts: Seeed Studio Studio Grove 1-Wire Thermocouple Amplifier (MAX31850K) – K-Type, 3.3V/5V, Seeed Studio Studio Grove High Temperature Sensor Module – K-Type Thermocouple, 3.3-5V, 1m Cable, 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 hour. The build on this page has 5 steps.
No. This page has the complete, tested code (max31850.ino).
About ₹3,319 for the parts at the prices on this page. Quantity price breaks lower the cost when you build several.
The 1-Wire bus and device addresses; Using a thermocouple without SPI; Several sensors on one pin.
Only the probe goes into the heat; keep the boards and wires cool.
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.