element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Summer of Green Tech Design Challenge
  • Challenges & Projects
  • Design Challenges
  • Summer of Green Tech Design Challenge
  • More
  • Cancel
Summer of Green Tech Design Challenge
Blog AquaFlow - Blog #3 - The sedimentation tank
  • Blog
  • Forum
  • Documents
  • Leaderboard
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Summer of Green Tech Design Challenge to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: amgalbu
  • Date Created: 22 Sep 2023 10:56 AM Date Created
  • Views 1335 views
  • Likes 7 likes
  • Comments 6 comments
  • design challenge
  • summer of green tech design challenge
  • seeedstudio
  • green tech
  • Xiao
  • aquaflow
  • arduino
Related
Recommended

AquaFlow - Blog #3 - The sedimentation tank

amgalbu
amgalbu
22 Sep 2023

Posts in this project

AquaFlow - Blog #1 - Introduction
AquaFlow - Blog #2 - The coarse filter
AquaFlow - Blog #3 - The sedimentation tank
AquaFlow - Blog #4 - The reed bed
AquaFlow - Blog #5 - The storage tank
AquaFlow - Blog #6 - Conclusions


The sedimentation tank

The first sedimentation tank serves two main purposes

  1. Create an oxygen-reach environment so that septic decomposition does not occur. This both eliminates septic odours and supports and maintains microorganisms that oxidise the body fats and soap dissolved in the grey water.
  2. Let the organic matter to settle to the bottom of the tank and produce a clear water layer at the surface

image

1.1 The tank

To accomplish these tasks, the first sedimentation tank has been equipped with the following devices

  1. A stilling well. The greywater inlet has been shaped with L junctions as shown in picture below. This creates a whirlpool that eases the pollutants to disperse in the volume of water. This reduces the concentration of the pollutants (body fats and soap) and make it easier for the microorganisms to digest 
    imageimage       image
  2. A compressor. The compressor pumps air in the water and add oxygen to create an environment where microorganisms can flourish. The compressor is installed in a waterproof box with the electronic board, so more details about the compressor itself can be found in the next sections

  3. A pump. When water is "ready", a pump moves water to the next stage of the treatment system: the reed bed. The pump has been mounted on a 3D-printed float, so that water is taken just a few centimetres below the surface. Here we have the clearest water, because floating debrises is on the water surface, and heavy debrises has settled at the bottom of the tank. The float hosts a connection for a 16 mm plastic tube. The tube has the task to keep the float in place and to provide a visual feedback of the water level in the tank.

1.2 The floating pump

This is a sketch of how the floating pump works

image

This is the 3D printed floating

image     image

The two parts have been glued together. The assembly must be waterproof so that no water enters the floating

image

The pump slides into the central hole

image   image

Finally I added the plastic rod 

image   image

1.3 The electronic board

The control board is based on the Seeeduino Xiao. This board can be easily integrated in the Arduino IDE: just follow the tutorial on the Seeed Studio web site (the link is https://wiki.seeedstudio.com/Seeeduino-XIAO/#software)

Here is the schematic of the control board

image

The power supply is t 12V and comes from a charge controller that charges two lead batteries by means of a PV module. The 12V line powers the pump and the compressor. A DC-DC converter converts the 12V to 5V for the Seeeduino XIAO board.  Here is the DC-DC converter I used for this project

image

Since all the input pins of the Seeeduino XIAO board may be damaged by an input voltage higher than 3.3V, the sensors are powered with a 3.3V. To reduce voltage from 5V to 3.3V, I am going to leverage the voltage regulator on the XIAO board, which takes the voltage on the 5V pin and generate a stabilized 3.3V signal on the 3V3 pin

image

image  

The Seeduino XIAO reads two sensors

  1. An LDR (Light Dependent Resistor). This sensor allows the Seeduino XIAO to have a coarse notion of time. In particular, this sensor let the Seeduino XIAO see the dawns and the dusks, and so can have a rough idea of when water is ready to be pumped to the next stage of the treatment system. As I mentioned, greywater should not be stored for more than 24 hours. This is especially true for the first sedimentation tank, which stores untreated greywater.
    [EDIT] After some tests, I replace the LDR with a board with a digital output that reports whether the ambient brightness is above or below a threshold a threshold that can be adjusted with a simple trimmer. This makes adjustments easier, because I just need a screw driver to adjust the brightness threshold, instead of re-flashing the Arduino sketch. This is the board I used

 image

  1. A sonar to detect the level of the water in the tank. The Seeduino XIAO can hence check if the tank is full or empty, or when water is being flushed into the tank. The sonar sensor I chose is the Grove Ultrasonic Ranger

image
This is very easy to use: just follow the installation instruction on the Seeduino website and run the following minimal sketch to check that everything is working

#include "Ultrasonic.h"

Ultrasonic ultrasonic(7);
void setup()
{
  Serial.begin(9600);
}
void loop()
{
  long RangeInCentimeters;

  RangeInCentimeters = ultrasonic.MeasureInCentimeters(); // two measurements should keep an interval
  Serial.print(RangeInCentimeters);//0~400cm
  Serial.println(" cm");
  delay(250);
}

The Seeduino XIAO controls two relays

  1. A relay to switch on the water pump
  2. A relay to switch on the compressor

The electronic boards (Seeduino XIAO, the voltage regulator, the light sensor and the relay modules) are mounted in a 3D printed housing

image   image

The sonar has its own housing

image   image

All the components have then been installed on a plywood board. This is the complete assembly as seen from the top and from the bottom

image   image

The assembly has then been installed inside a waterproof box, that will later be installed on the cover of the sedimentation tank

image   image

image   image

1.4 The control logic

The control logic implemented to mange the sedimentation tank follows these rules

  1. on dawn (i.e. when light detector output switches from 0 to 1), pump all the water in the tank to the reed bed. This is to avoid to store greywater for more than 24 hours
  2. when water level reaches the maximum limit, empty the tank until a safe level is reached
  3. when water level raises, switch on the compressor to create an oxygen-rich environment

All these rules are shown in the following diagram

image  

  • Sign in to reply
  • amgalbu
    amgalbu over 1 year ago in reply to DAB

    Hello DAB . I didn't consider a shunt...that's a good idea in case pump does not work

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • amgalbu
    amgalbu over 1 year ago in reply to dougw

    Hello dougw . The box is waterproof in the sense that the cover protect the board from the rain. Actually, the box as a whole is not waterproof. As a matter of fact, there is an hole at the bottom to let sonar's signal to reach the top level of the water in the tank. The board is places is mounted as close as possible to the box cover

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • amgalbu
    amgalbu over 1 year ago in reply to javagoza

    Thank you javagoza ! 

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • DAB
    DAB over 1 year ago

    Nice update.

    Do you have an automated shunt for the system in the storage units get full?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • dougw
    dougw over 1 year ago

    Looking good so far.

    What glue did you use to make the parts waterproof?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
>
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube