Abstract
The purpose of this study is to create a prepaid PDAM clean water distribution system using a microcontroller based on the Internet of Things (IoT). The hardware used to realize the system consists of ultrasonic sensors, water flow sensors, relays, LCD buzzers and Arduino. ESP 8266 01 for delivery to the Thingspeak app. From the test results obtained HC-SR04 ultrasonic sensor reading error occurs when the water level is low and too high, the maximum measurable water level is 95%. When calculating the comparison between the water discharge that is read by the sensor and that measured by the measuring cup, the results are always not the same. The error when testing the water flow sensor at the water level is less than 49% this is influenced by the speed of the water fired by the pump, where the pump will be under low pressure when the water level is below that value. The system can monitor data readings from the water flow sensor using the ESP8266 monitored on the thinkspeak web server using a smartphone. Overall the tool can function well.