Me
  • Home
  • About
  • Projects
  • Resume
  • connect
Connect
Copyright © wan@proline. All rights reserved.
Back
— Dec 31, 2025 · 4 Min read

IoT Petrol Tank Monitor

Overview

This project addresses the issue of fuel theft and contamination in remote storage tanks. A professional grade petrol tank level monitoring system with water contamination detection, implemented with bare metal programming on Arduino Mega 2560 (ATmega2560) microcontroller, bluetooth module, HCR04 ultrasonic sensor, water sensor, LEDs and a buzzer. The system provides real-time data visualization on an app.

System Architecture

Key Features

  • Real-time Level Tracking: Uses ultrasonic sensors to detect fuel volume with 98% accuracy.
  • Impurity Detection: Conductivity sensors trigger alerts if water is detected in the fuel.
  • Remote Dashboard: A React-based frontend that displays tank status via Bluetooth connection.

The Tech Stack

I chose C++ for the bare-metal efficiency on the ATmega2560 and Flutter for the frontend to ensure a responsive mobile experience for field managers.

Challenges & Solutions

Challenge: The sensor readings were noisy due to liquid rippling. Solution: I implemented a Kalman filter in the C++ firmware to smooth out the data input before transmission.

View Source Code

Avatar 01Avatar 02Avatar 03Avatar 04Avatar 05
Never miss an update!

connect and join 100K+ developers.

*Sponsor
Build The Site You Want!

Your website should be an asset, not an engineering challenge.

Popular Posts
  • — SPI LCD Interface
  • — Smart Weeding Robot Control System
  • — IoT Petrol Tank Monitor