LPG Cylinder Gas Level and Leak Monitor for Restaurant Kitchens
A final year project that builds an ESP32 monitor for LPG cylinders in restaurants, dhabas, hostels and homes: a load cell platform that shows how much gas is left and predicts the refill date, plus a leak sensor that sounds an alarm and closes a shut-off valve. It combines two cheap gadgets into one device that owners can trust.
Beginner
Achievable by one student in a semester with familiar tools.1 semester · 2 to 3 students
7 to ship
3 optional extrasSuggested stack
What you should ship
- A weighing platform under the cylinder that reports remaining gas in kilograms and percent after the owner enters tare and full weights.
- A consumption model that learns daily usage from the weight history and predicts the refill date, with a configurable alert several days before empty.
- A leak sensor node with a warm-up period, baseline tracking and a threshold that triggers a local siren and closes a normally closed solenoid valve within seconds.
- A phone app showing gas left, predicted refill date, usage per day and a log of every leak alarm and valve closure.
- A manual reset flow: the valve stays closed after a leak until a person confirms on the device that the area is safe.
- A test report covering load cell accuracy at five weights and leak alarm response time using a safe butane lighter test at a controlled distance.
- A wiring diagram, enclosure design and bill of materials with local prices.
If you have time left
- Let the owner tap to send a refill request to their gas supplier by SMS or WhatsApp with the cylinder size and address.
- Support a manifold of several cylinders for restaurants that run more than one at a time.
- Detect a slow leak from weight dropping overnight while the kitchen is closed.
The problem kitchens have with LPG cylinders
Restaurants, roadside dhabas, hostels and many homes cook on LPG cylinders. Two things go wrong. First, nobody knows how much gas is left, so the cylinder runs out in the middle of lunch service and someone rushes to buy a refill at whatever price is on offer. Second, leaks from worn regulators and pipes cause fires, and a leak at night in a closed kitchen is especially dangerous. Owners solve the first problem by shaking the cylinder and the second by hoping.
What already exists and the gap
- Mopeka Pro Check uses an ultrasonic sensor stuck to the bottom of a steel cylinder and reports level over Bluetooth. It is designed for barbecue and RV propane tanks and is priced for that market.
- Commercial kitchen gas detectors from suppliers such as Flowtech combine an LPG detector with an automatic shut-off valve, but they are alarm panels only: no gas level, no history, no phone app.
- Cheap MQ-2 or MQ-6 leak alarm modules are sold everywhere, drift over time, and false-alarm often enough that people unplug them.
The gap is one affordable device that answers both questions (how much gas is left, is anything leaking), closes the valve on a real leak, and keeps a record the owner can show a landlord or insurer.
What you build
- Weighing platform: a flat plate on four load cells feeding an HX711 amplifier, read by an ESP32. The owner enters empty (tare) and full weights once.
- Leak node: an LPG-sensitive MQ sensor mounted low (LPG is heavier than air), a siren, and a relay that drives a normally closed solenoid valve on the gas line.
- App: shows gas left, usage per day and the predicted empty date, plus alarm history.
- Backend: stores readings and sends push notifications.
Main flows: daily usage learning and refill alerts; a leak raising the local alarm, closing the valve and notifying the owner; and a manual reset that requires someone to be physically present.
The technically interesting part
Both sensors are noisy and slow, and the safety decision must be local. Load cells drift with temperature and creep under constant load, so you will need a calibration routine, filtering and a way to ignore the spikes when someone bumps or swaps the cylinder. MQ sensors need a warm-up period and a moving baseline, and their readings are affected by humidity and cooking fumes. Your job is a leak detector that closes the valve fast on a real leak but does not trip every time someone fries onions. Show evaluators the data you collected, the thresholds you chose and the false alarm rate over a week in a real kitchen.
How to evaluate it
- Weight accuracy at five known weights, and drift over 24 hours with a constant load.
- Refill prediction error: predicted empty date against the actual date across at least two cylinders.
- Leak alarm response time from a controlled gas source at a fixed distance, repeated ten times, done safely outdoors with a supervisor.
- False alarm count over one week of normal cooking in a real kitchen.
Suggested plan
- Weeks 1 to 3: load cell platform, calibration and filtering.
- Weeks 4 to 6: gas sensor characterisation, baseline logic and siren.
- Weeks 7 to 8: valve control, fail-safe reset flow and tests.
- Weeks 9 to 11: backend, app and refill prediction.
- Weeks 12 to 15: kitchen trial, measurements and report.
Path to a product
The first customer is a small restaurant or hostel mess that has run out of gas during service or had a leak scare. Sell the device for a one-time price with installation by a gas fitter, plus an optional monthly fee for the app and alerts. Gas distributors are a strong channel: they get refill orders from the app and could bundle the device. Scale by selling to hostel chains and university kitchens.
Scope warning
Do not claim the product is a certified safety device; it is a prototype and you should say so. Do not build your own gas sensor, supplier marketplace or delivery tracking. Do not modify the cylinder or regulator itself; install the valve only on a pipe section fitted by a qualified person.
Learn what you need on Sefism
- Programming cheat sheet : quick reminders for the C++ you will write for filtering and state logic.
- Mobile roadmap : building the owner app with push notifications.
- Firebase Documentation : storage and push notifications without running your own servers.
- Supabase Documentation : a Postgres-based alternative if you want SQL for usage history.
- How to get better at debugging : sensor bugs rarely show up in a stack trace, so method matters.
Get help with this idea
The safety logic deserves careful thought, so plan how you will test it before you order parts. If you want a second opinion on scope, hardware choices or how to set up the evaluation before you commit, bring your plan and your bill of materials and we will pressure-test it together. New here? Create a free account first.
Ideas and guidance, not finished projects
These are project ideas and scoping guidance, published free for students to use as a starting point. I do not build, write, or sell final-year projects, and I do not complete coursework for anyone. Take an idea, make it yours, and build it.
Not sure this one fits you?
I help students pick an idea that matches their skills and their deadline, then scope it down until it is finishable. Guidance only, never done for you.
Stuck on something specific?
Writing only gets you so far. If you want an answer to your situation rather than the general case, book a session and we will work through it together. Sessions are free for approved Sefism members, and a few slots open each week.
Follow along
New writing, resources and project ideas land here first.