Sigit Dani Perkasa
ProjectsWorkAboutContact

Built with Next.js, R3F, drei - Last updated 2026-06-22

GitHubContact
Sigit Dani Perkasa
ProjectsWorkAboutContact
Projects/ArsenikV2
Paper6 citations2023

ArsenikV2

ESP32 water quality monitor — 7 sensors + GPS, Firebase upload every 5s.

Live Water Quality Monitor — GPS @ -7.25732, 112.75405LIVE
pH
7.2pH
Range: 0 – 14
Dissolved …
7.7mg/L
Range: 0 – 20
Conductivi…
444µS/cm
Range: 0 – 2000
Turbidity
12NTU
Range: 0 – 1000
Temperatur…
28.3°C
Range: -5 – 60
ORP
299mV
Range: -2000 – 2000
TDS
223ppm
Range: 0 – 1000
24-Hour Trend —
0:006:0012:0018:0024:00pH
GPS: -7.25732, 112.75405NEO-6M @ 115200 baud

System Parameters

MCUESP32-WROOM-32
Sampling5 seconds
GPSNEO-6M (UART)
Power18650 Li-Ion (2x) + solar panel

7-Sensor Array
pH±±0.1
Dissolved Oxygen±±0.2
Conductivity±±1%
Turbidity±±3%
Temperature±±0.5
ORP±±5
TDS±±1%
Communication
Wi-Fi 802.11 b/g/n → Firebase Realtime Database
2The Problem

Water quality monitoring stuck in the lab

Water quality monitoring in Indonesian waterways is predominantly manual — researchers collect grab samples, transport them to a lab, and wait days for results. By the time data arrives, conditions have changed and the snapshot is already stale. Continuous real-time monitoring remains rare outside major cities.

Commercial water quality sondes with multi-parameter capability cost $3,000–$15,000, putting them out of reach for universities, local environmental agencies, and community water monitoring groups. Even when equipment is available, spatial coverage is limited to one or two fixed stations.

There was a clear gap for a low-cost, portable, multi-sensor system that could measure 7 water parameters simultaneously, geotag every reading with GPS, and upload data to the cloud in near-real-time for accessible dashboard visualization.

Traditional vs Automated
Sampling Frequency
2–4 per dayEvery 5 seconds
Spatial Coverage
1–2 pointsGPS-tagged route
Data Logging
Manual notesFirebase auto-log
Sensor Count
2–37 simultaneous
Human Error
HighMinimal
Real-time Alerting
NoneDashboard + push
3The System

ESP32 sensor array with cloud pipeline

01
7 Sensors Read
pH, DO, Cond, Turb, Temp, ORP, TDS
02
ESP32 Process
ADC sampling & data packaging
03
WiFi Upload
Firebase RTDB Every 5 seconds
04
GPS Geotag
NEO-6M location attached to record
05
Dashboard Display
Real-time chart & alerting

The system integrates seven water quality sensors with an ESP32-WROOM-32 microcontroller. Sensors connect via analog inputs and I2C interfaces. The ESP32 reads all 7 channels simultaneously, packages them into a JSON payload with GPS coordinates from the NEO-6M module, and uploads to Firebase Realtime Database every 5 seconds over Wi-Fi.

Sigit designed the sensor interface board with signal conditioning for each probe type — pH and ORP require high-impedance buffers, DO needs temperature compensation, and turbidity uses a photodiode amplifier. Power comes from two 18650 Li-Ion cells with a solar panel for extended field deployment.

The GPS geotagging enables spatial water quality mapping — as the operator moves along a river or lake, each reading is stamped with coordinates, building a continuous spatial profile. Firebase provides real-time synchronization to a web dashboard where multiple stakeholders can monitor conditions simultaneously.

The 5-second sampling rate captures transient events — pollution pulses, algal bloom onset, or stratification changes — that hourly or daily sampling would miss entirely. Data is stored in Firebase for historical analysis and CSV export.

Sensor Array Live Readings — 5s Firebase UploadAuto-refresh 3s
SensorReadingUnitAccuracyStatus
pH
7.18pH±0.7%OK
Dissolved Oxygen
6.78mg/L±2.0%OK
Conductivity
427µS/cm±1.6%OK
Turbidity
11.7NTU±3.2%OK
Temperature
26.9°C±0.7%OK
ORP
282mV±2.0%OK
TDS
216ppm±1.4%OK
Firebase upload: 07:40:38 UTCNext: 2s
4Results

Multi-site validation confirms sensor accuracy

Water Quality Across 6 Measurement Sites — Kali Mas to Kali Porong
pH
Dissolved Oxygen
Conductivity
Turbidity
Temperature
Site A(Kali Mas)Site B(Kali Surabaya)Site C(Kali Wonokromo)Site D(Kali Brantas)Site E(Kali Lamong)Site F(Kali Porong)7.47.22187.16.42056.85.51987.57.82247.26.92107.06.2202
Normalized pH (6.5–8.0), DO (5–9 mg/L), TDS (180–240 ppm) across sites
Sensor Accuracy — % Error vs Reference
pH
±0.7%
DO (mg/L)
±2.0%
Conductivity
±1.6%
Turbidity (NTU)
±3.2%
Temperature (°C)
±0.7%
ORP (mV)
±2.0%
TDS (ppm)
±1.4%
Average error: ±1.7% across 7 sensors. All within commercial-grade tolerance (±5%).

The ArsenikV2 system was field-tested across six water bodies in East Java: Kali Mas, Kali Surabaya, Kali Wonokromo, Kali Brantas, Kali Lamong, and Kali Porong. Measurements were compared against a calibrated Horiba U-50 multiparameter water quality meter as reference. All seven sensors achieved error rates under 5% of the reference instrument across all six sites.

The 5-second sampling rate generated over 17,000 data points per sensor per day, capturing diurnal patterns invisible to grab sampling. GPS-tagged data revealed spatial gradients — dissolved oxygen declining downstream from Kali Brantas toward Kali Porong, turbidity spiking near urban runoff points, and conductivity increasing near industrial discharge zones.

Firebase dashboard latency averaged 1.8 seconds from sensor read to dashboard display, well within the target for near-real-time monitoring. The solar-powered configuration sustained continuous operation for 48+ hours without external charging, sufficient for multi-day field campaigns.

5Methodology

Measurement and calibration approach

Sensor calibration followed a two-point protocol per parameter. pH was calibrated with buffer solutions at pH 4.0 and 7.0. Conductivity used 1413 µS/cm and 12.88 mS/cm standards. Dissolved oxygen was calibrated against water-saturated air (100% saturation method). Turbidity used 0 NTU (distilled water) and 100 NTU formazin standards. ORP used Zobell's solution at 228 mV. TDS was derived from conductivity with a 0.5 conversion factor calibrated against gravimetric measurements.

The field protocol involved a 2-minute sensor stabilization period at each measurement station before logging began. Measurements continued for a 5-minute window at each site, producing 60 readings per sensor per site. Outlier rejection used the median absolute deviation (MAD) method with a 3σ threshold. Reported values are the trimmed mean of the remaining measurements.

Validation against the Horiba U-50 reference instrument was performed at each of the six sites. The reference instrument was calibrated daily before field deployment. Comparison readings were taken within 30 seconds of each other to minimize temporal variation. Error was calculated as the percentage deviation from the reference for each parameter at each site, then averaged across sites for the reported accuracy figures.

6Related

Cross-references

Published in IJERT

International Journal of Engineering Research and Technology (IJERT), 2023

Water quality instrumentation research

Hydroponics IoT

Shares Firebase real-time upload pattern and ESP32 sensor integration for precision agriculture water monitoring.

Swiftlet House IoT

Uses the same ESP32 + Firebase + GPS architecture for environmental monitoring with multi-sensor array.

Pyranometer

Extends the low-cost sensor instrumentation approach to water quality measurement with GPS spatial analysis.

Peak Sun Hour

Solar resource methodology used for sizing the autonomous power system of field-deployed water quality monitors.

This instrumentation work extends sigit's embedded systems expertise to environmental water quality monitoring, connecting the sensor array, Firebase IoT pipeline, and GPS spatial analysis capabilities demonstrated across the portfolio.

Built with Next.js, R3F, drei - Last updated 2026-06-22

GitHubContact