Skip to the content
2 layers81.5 × 58.7 mmKonservasi air, the printed circuit board in 3D

Water Quality Monitoring in Water Fountain at Gedung K Faculty of Engineering UI

Size
81.5 × 58.7 mm
Copper layers
2
Thickness
1.6 mm
Parts
31
Nets
48
Pads
152
Tracks, vias
158, 124
Pours
1
Routed
Yes
KiCad
KiCad 7 (file 20221018)
Created
16 Sep 2023
Updated
7 Sep 2024

Overview

Konservasi air is an open-source printed circuit board by heliumonoxide, from the heliumonoxide/water_quality_monitoring_device repository on GitHub, published under the MIT licence. It is a 2-layer board of 81.5 × 58.7 mm with 31 parts on 48 nets, routed with 158 tracks and 124 vias.

It is built around the ESP32-DEVKITC-VE, DS18B20 and ADS1115, with the IRF520 among its other parts. Its parts include 12 connectors, 5 resistors, 4 capacitors, 2 diodes and 1 IC. It belongs with the ESP32 boards of this library.

Main components

4

README

README.md

Water Quality Monitoring Device

Banner Github Water Quality Monitoring

Introduction

This project is a Water Quality Monitoring System supported by both a web interface and an OLED display. The device utilizes the SPIFFS (SPI Flash File System) feature of the ESP32 microcontroller to deploy a native web application (HTML, CSS, JavaScript) over a wide-area local network. The system directly links the web interface to real-time data received by the ESP32, providing users with seamless access to water quality metrics.

Concerns

The Drinking Fountain is essential for students at the Faculty of Engineering, Universitas Indonesia, providing water and reducing plastic use. However, concerns about water quality have led 60% of students to still purchase bottled water. A survey revealed that 90% of respondents believe the water quality in certain buildings is poor, particularly due to its taste. Addressing these concerns is crucial to encouraging students to trust and use the water fountains.

Usage

  1. The device measures all test parameters on drinking water samples.
  2. It displays results in a human-readable format via an OLED screen.
  3. The device sends water test data to a designed webpage.
  4. Its microcontroller deploys a server-based webpage accessible to anyone on the UI Wi-Fi, providing water fountain quality information.

PCB Design

PCB made using Altium and printed using PCB printing machine.

Here are the made PCB picture

Hardware Design

HardwareDesign-ezgif com-video-to-gif-converter

Requirements Software

For installation, within Arduino IDE, the following libraries needs to be installed under Sketch -> Include Library -> Manage Libraries:

  • ArduinoJson by Benoit Blanchon
  • WebSockets by Markus Sattler
  • WiFi

The following to libraries need to be downloaded, unpacked and copied to the "Arduino" folder (Required for ESPAsyncWebServer)

Required to make SPIFFS.h work: https://github.com/me-no-dev/arduino-esp32fs-plugin/releases/

How to Install Packages Manually

  • Click on the link provided in each package
  • Download zip file of the packages through the 'code' dropdown
  • Unzip/extract the downloaded file
  • Put the packages folder in to libraries folder in Arduino Folder (usually in C:/Users/Documents/Arduino)

How to Install Tools Manually

  • Click on the link provided in each package
  • Download zip file of the tools in the asset section of the page
  • Unzip/extract the downloaded file
  • Put the asset folder into tools folder in Arduino Folder (usually in C:/Users/Documents/Arduino)
  • After putting asset folder into tools folder, restart the Arduino IDE
  • Check if in the dropdown section of Tools there is ESP32 Sketch Data Upload
  • if there is, then you are set to go

Code Pre-configuration

In the ino. files in this section,

text
// SSID and password of Wifi connection:
const char* ssid = "[Your Wifi Name]";
const char* password = "[Your Wifi Password]";

ssid and password need to be changed according to the router/wifi that is used.

Before uploading the code, please upload data sketch first using ESP32 Sketch Data Upload button on tools dropdown section

Hardware Requirement

Before making the actual device, there are some items that you need to have:

  • Analog pH Sensor kit by DFRobot
  • OleD White 0.96 inch I2C IIC 128x64 display module lcd
  • Oled Display 0.91 inch 128x32 LCD Screen
  • Micro DC step down 4v-24v to 3.3v 5v 3A Buck super mini
  • ESP32
  • KY-023 Analog Dual Axis XY Joystick
  • Calibration Buffer Powder/liquid
  • PH Meter Sensor board ph4502C for Arduino
  • Robotdyn e 3.3v/5v logic 4A/16A 600V for Arduino - 4A
  • PTC Thermostat
  • Heatsink
  • Hi-Link HLK-5M05
  • Modul 16bit I2C ADS1115
  • Jumper set
  • NTC Thermistor
  • TDS Sensor
  • Turbidity Sensor
  • Servo

Before using all the sensor, please configurate and calibrate first.

Created by

Bryan Indarto, Aldy Raja, Theonaldo, dan Reza Febrian

Parts

31
QtyValueFootprintReferences
34.7kResistor_THT:R_Axial_DIN0204_L3.6mm_D1.6mm_P7.62mm_HorizontalR1, R3, R4
2100nCapacitor_THT:C_Disc_D5.0mm_W2.5mm_P5.00mmC1, C2
247uCapacitor_THT:C_Radial_D5.0mm_H11.0mm_P2.00mmC3, C4
11.5kResistor_THT:R_Axial_DIN0204_L3.6mm_D1.6mm_P7.62mm_HorizontalR2
11kResistor_THT:R_Axial_DIN0204_L3.6mm_D1.6mm_P7.62mm_HorizontalR5
1ADS1115Connector_PinSocket_2.54mm:PinSocket_1x10_P2.54mm_VerticalJ1
1ADS1115_ADDR_5VJumper:SolderJumper-2_P1.3mm_Open_RoundedPad1.0x1.5mmJP1
1ADS1115_ADDR_SCLJumper:SolderJumper-2_P1.3mm_Open_RoundedPad1.0x1.5mmJP3
1ADS1115_ADDR_SDAJumper:SolderJumper-2_P1.3mm_Open_RoundedPad1.0x1.5mmJP2
1Barrel_Jack_SwitchConnector_BarrelJack:BarrelJack_HorizontalJ9
1DC_IN_TERMINALTerminalBlock_Phoenix:TerminalBlock_Phoenix_MPT-0,5-2-2.54_1x02_P2.54mm_HorizontalJ11
1DS18B20Connector_Molex:Molex_SL_171971-0003_1x03_P2.54mm_VerticalJ2
1ESP32-DevKitCPCM_Espressif:ESP32-DevKitCU1
1ESP_EN_JPConnector_Molex:Molex_SL_171971-0002_1x02_P2.54mm_VerticalSW1
1ESP_GPIO_LEFTConnector_PinHeader_2.54mm:PinHeader_1x19_P2.54mm_VerticalJ12
1ESP_GPIO_RIGHTConnector_PinHeader_2.54mm:PinHeader_1x19_P2.54mm_VerticalJ13
1IN4004Diode_THT:D_DO-34_SOD68_P7.62mm_HorizontalD2
1IRF520Package_TO_SOT_THT:TO-220-3_VerticalQ1
1OLEDConnector_Molex:Molex_SL_171971-0004_1x04_P2.54mm_VerticalJ7
1PUMPConnector_Molex:Molex_SL_171971-0002_1x02_P2.54mm_VerticalJ10
1RedLED_THT:LED_D3.0mmD1
1SERVOConnector_Molex:Molex_SL_171971-0003_1x03_P2.54mm_VerticalJ6
1TDSConnector_Molex:Molex_SL_171971-0003_1x03_P2.54mm_VerticalJ3
1TURBIDITYConnector_Molex:Molex_SL_171971-0003_1x03_P2.54mm_VerticalJ4
1pHConnector_Molex:Molex_SL_171971-0006_1x06_P2.54mm_VerticalJ5

The 29 most common of 31 parts.

Similar boards

  • 2 layers101.6 × 71.1 mmPortable film pcb, the printed circuit board in 3D

    Portable film pcb

    ForthgoerGa/Portable-film-digitizer

    Repo for Portable film digitizer which support one-click scan+post processing for all kinds of film powered by agentic workflow

    32 parts5
  • 2 layers152.4 × 101.6 mmFAIMSFBrev2.0, the printed circuit board in 3D

    FAIMSFBrev2.0

    BioMEMS/OpenDMS

    Hardware developed in Prof. Cristina Davis' Bioinstrumentation and BioMEMS laboratory. Publications (i.e. articles, book chapters, etc.) that use this hardware are required to cite the related article…

    194 parts1
  • 2 layers68.6 × 53.3 mm9 motorized pinwheel, the printed circuit board in 3D

    9 motorized pinwheel

    djsherm/9_motorized_pinwheel_shield

    Designing a PCB based on chapter 9 in the Arduino projects book: Motorized Pinwheel

    14 parts
  • 2 layers68.6 × 53.3 mmMOSH ISS THANG STEPH JUNJIANG, the printed circuit board in 3D

    MOSH ISS THANG STEPH JUNJIANG

    MOSH-Insa-Toulouse/2023_2024_mini_project_Junjiang_Thang_Stephane

    rxPin and txPin are defined for the serial connection to the LoRa module, allowing for data transmission and reception.

    26 parts
  • 2 layers20.3 × 108.7 mmLpg board, the printed circuit board in 3D

    Lpg board

    tpcarlson/synth-diy

    Mostly Eurorack projects

    45 parts107
  • 2 layers114.9 × 100 mmWaterMixer, the printed circuit board in 3D

    WaterMixer

    guttih/WaterMixer

    Using Esp32 to mix water temperature

    20 parts1
  • 2 layers50 × 50 mmESP Wifi Car, the printed circuit board in 3D

    ESP Wifi Car

    Kanedinha/ESP_IDF_WIFI_CAR

    Remote car controled with Wifi HTTP protocol. Using a ESP32 Wrover-It as a Access point web server, the interface made with HTML and JS comunicate car and control it.

    9 parts1

Questions

How big is the Konservasi air PCB?

It measures 81.5 × 58.7 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Konservasi air use?

31 parts, built around the ESP32-DEVKITC-VE, DS18B20, ADS1115 and IRF520. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the Konservasi air KiCad files?

From the heliumonoxide/water_quality_monitoring_device repository on GitHub, at the commit this page was made from: the board is hardware/kicad/konservasi_air.kicad_pcb and its schematic hardware/kicad/konservasi_air.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Konservasi air design in my own project?

Its repository publishes it under the MIT licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).