TankBot is an intelligent monitoring and control system for liquid tanks. It tracks liquid levels, manages flow, optimizes energy consumption, and supports programmable schedules. Designed for automated irrigation, water tank management, and industrial liquid storage systems.
- Real-time Monitoring – Measures liquid level, volume, and fill percentage.
- Automated Control – Manages the pump to maintain optimal levels.
- IoT Integration – Syncs with Arduino Cloud for remote monitoring & control.
- Energy Optimization – Reduces consumption with programmable fill schedules.
- Mobile/Web Interface – View tank status and control operations remotely.
- ESP32-WROOM-32 (WiFi-enabled microcontroller)
- Ultrasonic Sensor (HC-SR04) (for liquid level measurement)
- Relay Module (to control the pump)
- Float Switch (for backup level detection)
- Power Supply (for ESP32 and pump control)
Ensure you have all the necessary hardware components listed above.
Connect all components according to the provided schematic diagram (docs/schematic.png).
- Install Arduino IDE and required libraries:
ArduinoIoTCloudWiFiClientSecureArduino_ConnectionHandler
- Open
tankBot.inoin Arduino IDE. - Add your WiFi credentials and Arduino Cloud secrets in
secrets.h. - Upload the sketch to your ESP32.
TankBot syncs with Arduino Cloud, allowing remote monitoring & control via a mobile app or web dashboard.
- Liquid Level Height (cm)
- Fill Percentage (%)
- Tank Volume (Liters / Cubic Meters)
- Pump Status (ON/OFF)
- Start/Stop Tank Filling
- Set Fill Thresholds
- View Tank Status in Real-time


