LPG gas leak alarm
A kitchen gas sniffer that beeps and flashes the moment LPG levels climb.
Shop by category
Shop all componentsThe SDM18 is a single-point time-of-flight laser ranging sensor from YDLIDAR, built to work outdoors up to about 15 m at a high update rate. It connects over USB-C and appears as a serial port. YDLIDAR's PC tool shows the distance live and can save readings; their SDK lets your own program read it. This project sets it up, checks accuracy against a tape measure and logs a series of readings.
Do not point it at people's eyes.
Tick anything you already have and the total updates.
YDLIDAR SDM18 outdoor 15 m ranging sensor
Follow the colours: red is power, dark grey is ground, blue is a signal.
USB-C from the laptop.
Try another USB-C cable; some carry power only.
The spot is hitting an edge; aim at a flat surface.
Dark surfaces reflect less; expect less range than on white.
It uses a Class 1 laser, safe in normal use, but do not stare into it.
Yes, its UART output follows the protocol in YDLIDAR's manual.
The laser has a tiny spot and works much farther outdoors.
1 part: YDLIDAR SDM18 Outdoor 15M Single Point Ranging Laser Sensor – USB Type-C. 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 6 steps.
About ₹2,399 for the parts at the prices on this page. Quantity price breaks lower the cost when you build several.
Single-point ToF ranging; Checking a sensor against a reference; Effect of target colour and sunlight.
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.