LPG gas leak alarm
A kitchen gas sniffer that beeps and flashes the moment LPG levels climb.
Shop by category
Shop all componentsA Peltier module moves heat from one face to the other when current flows. Stuck to a small insulated box, with a large heatsink and fan on the hot side, it can pull the inside 15 to 20 degrees below the room. The Nano switches the module through a logic-level MOSFET and reads the box temperature with a DS18B20, turning it on a little above the target and off a little below. It is an efficient way to learn about heat flow, but it will not match a real fridge.
The hot side gets hot enough to burn: keep it clear of fingers and plastics.
Never run the module without its heatsink and fan.
Tick anything you already have and the total updates.
Reads the sensor and controls the MOSFET
TEC1-12706 Peltier module, 40x40 mm, 12 V 6 A
IRLZ44N logic-level MOSFET to switch the module
DS18B20 digital temperature sensor module
SMPS supply, 12 V version, rated 8 A or more
Heat sink; use a large finned one with the fan for the hot face
Insulation washers for mounting the module
Follow the colours: red is power, dark grey is ground, blue is a signal.
The Peltier draws up to 6 A at 12 V, about 72 W. Use a supply rated for at least 8 A and thick wires. Power the Nano from USB or from the 12 V supply through its Vin pin.
peltier_cooler.inoVerify & upload in Electrolark#include <OneWire.h>
#include <DallasTemperature.h>
OneWire bus(2);
DallasTemperature sensors(&bus);
const int PELTIER = 9;
const float TARGET = 15.0; // degrees C inside the box
const float BAND = 0.5;
bool on = false;
void setup() {
Serial.begin(115200);
pinMode(PELTIER, OUTPUT);
sensors.begin();
}
void loop() {
sensors.requestTemperatures();
float t = sensors.getTempCByIndex(0);
if (t > TARGET + BAND) on = true;
if (t < TARGET - BAND) on = false;
digitalWrite(PELTIER, on ? HIGH : LOW); // simple on/off, no PWM needed
Serial.print(t, 1); Serial.print(" C "); Serial.println(on ? "cooling" : "off");
delay(1000);
}
Check the hot side is not too hot to touch for long. A bigger heatsink and fan helps more than a bigger supply.
Condensation is normal below the dew point. Seal the box and add a little silica gel.
Use a proper heatsink on the MOSFET, and check the gate gets a full 5 V.
A single TEC1-12706 on a tiny box can get close, but it is not meant for freezing.
A Peltier works best at full power or off, and low-frequency PWM wastes power.
Yes, reversing the polarity heats the box, but this wiring cools only.
11 parts: Generic Nano CH340 Development Board (Soldered), TEC1-12706 40×40mm 6A Thermoelectric Peltier Cooler Module, IRLZ44N Logic-Level N-Channel MOSFET, Keyestudio DS18B20 Temperature Sensor Module for Arduino – Digital Output, 12V DC Brushless Cooling Fan 80mm, SMPS Power Supply, Metal Enclosure (5V / 12V / 24V), Heat Sink (Electronics), Insulation Cotton Washer for TEC1-12706 Peltier Modules – Pack of 5, Heat Sink Compound Paste, Solderless Breadboard, plus 1 more. Tools: Digital Multimeter. 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 3 hours. The build on this page has 6 steps.
No. This page has the complete, tested code (peltier_cooler.ino).
About ₹1,230 for the parts at the prices on this page, plus tools if you do not have them. Quantity price breaks lower the cost when you build several.
Switching a high-current load with a logic-level MOSFET; Why the hot side needs a heatsink and fan; On-off control with hysteresis.
The hot side gets hot enough to burn: keep it clear of fingers and plastics. Never run the module without its heatsink and fan.
Ideas that reuse this build: Warm box with PTC heater. They are listed under Take it further on this page.
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.
Learning project. Check every circuit and the datasheet of each part before you power it up.