Project tutorial
DUO Water Tank Control Unit

DUO Water Tank Control Unit © GPL3+

Your coffee machine and hot water dispenser water tanks will never be empty again! No pumps, just water valves controlled by Arduino.

  • 1,744 views
  • 0 comments
  • 4 respects

Components and supplies

Ard nano
Arduino Nano R3
Or UNO
×1
51gzz5eu9pl. sx425
Ultrasonic Sensor - HC-SR04 (Generic)
×1
61pby065esl  sx679  tnr8syww5d
HC-05 Bluetooth Module
Optional
×1
09264 1
RGB Diffused Common Cathode
or use common Anode (or even a mix), the project can handle both
×2
Power supply 5V 700mA
×1
Power Supply 12V
Power (W) depending on used water valves
×1
Electronic magnet valve 12V
If you choose another Voltage, change power supply above
×2
Prototype shield I/O extension board for Arduino Nano V3
×1

About this project

When I bought a hot water dipenser next to my coffee machine, I had two water tanks to refill again and again. Besides that, one of the tanks was difficult to detach and therefore I had to use a refill cannister. Not ideal!

With this project I solved that problem and it might as well help others to do the same or use parts of this project to their convenience.

Features:

  • Supports two watertanks simultaniously. The two tanks can be of different size (depth). The program (and your impeccible configuration ;P) will ensure you never have to refill both tanks manually ever again!
  • Using state engine principles to reduce complexity and make program flow easy to understand.
  • Each sensor control unit has a RGB LED and button to show and influence the program state.
  • Colors of the RGB LEDs are highly configurable to suit your preference and match your coffee machines color theme.
  • Both common anode as common cathode RGB LEDs are supported.
  • Monitoring and debugging is highly configurable via #define parameters and by sending commands via your monitoring program Send feature.
  • Monitor the control unit via your mobile device. The program support an extra software serial port which can be e.g. connected to the HC-05 Bluetooth module. Install a serial terminal Bluetooth app on your mobile device, pair with the DUO water control unit and start monitoring.
  • Supports real time day/time-stamp after you send the real time to the control unit via your terminal (app).
  • No additional libraries are used. Although I tried several libraries to control the HC-SR04 sensor, it did not give better results for this project.

Show case and building instructions

Demo & How to...

More instructions and diagrams can be found below.

Code

DUO Water tank control unit

Schematics

State diagram
The state engine diagram below will help you to understand how the control unit works and helps to read the source code. It also gives a guide to modify the program parameters reflecting the water tank parameters.
Duowtc statediagram q55wcm27is
Installation diagram
The installation shows how the pluming can be done and how the components are connected to the main control unit. Make sure to keep the pluming lines between main supply and the valves as short as possible to avoid building up pressure.
Installation diagram txg7pt8ghu
Fritzing Bread board schematic
Image
Duo water tank controler bb vq9exlnguu
Fritzing Bread board schematic
Use this schematic to setup the projects electronics around the Arduino Nano
duo-water-tank-controler_Dp3Klrsl9h.fzz

Comments

Similar projects you might like

Arduino Control AC Water Heater temperature

Project tutorial by Mohannad Rawashdeh

  • 15,189 views
  • 0 comments
  • 11 respects

Solar Water Tank Regulator

Project showcase by asafa52

  • 5,075 views
  • 8 comments
  • 13 respects

Water Leakage Detector and Valve Control

Project tutorial by Philippe Libioulle

  • 21,672 views
  • 7 comments
  • 42 respects

WW2 Tank Laser Tag Sherman & Panther

Project tutorial by Arduino “having11” Guy

  • 19,124 views
  • 1 comment
  • 60 respects

Servo Control with TV Remote Control

Project showcase by eldo85

  • 13,466 views
  • 7 comments
  • 37 respects

How to Make a Gesture Control Robot at Home

Project tutorial by Shubham Shinganapure

  • 11,156 views
  • 14 comments
  • 64 respects
Add projectSign up / Login