the Jambi Regional Environment Agency found that
the Batanghari category was now heavily polluted
(Class D), allegedly due to wastewater from
unlicensed gold mining (PETI). Also, based on the
data listed in the Decree of the Minister of Public
Works Number 51 / KPTS / M / 2012 concerning the
Management Pattern of Water Resources in the
Batanghari River Basin, it is projected that the
population around the Batanghari River area
continues to increase every year, for example, Jambi
City to In 2028 it is projected that a total of 715,525
people depend on the Batanghari River with water
needs increasing to 104.46 m3/s (Decree of the
Minister of Public Works Number 51 / KPTS / M /
2012).
2 MANUSCRIPT PREPARATION
2.1 Place and Time of Research
This research was carried out in the Laboratory of
Computer Science, Faculty of Computer Science,
Universitas Nurdin Hamzah, and Laboratorium of
Sumatra River Basin VI in May to October 2020.
2.2 Materials
The research was carried out in the Batanghari Jambi
river water bodies. Water sampling is carried out in
the Aurduri Bridge area 1. Development of the device
uses several components, including Raspberry Pi 4
Model B, SIM800L V.2 V2 5V Upgrade GSM GPRS
Quad-Band with Antenna, PH Meter 0-14 Detector
Sensor Probe Module, Measuring Tool Water Quality
TDS Electrolyzer, TCS3200 Color Sensor Board
Module Color, DFRobot Gravity Analog TDS Sensor
/ Meter. The methyl mercury pollution monitoring
application was developed using one of the PHP
programming frameworks, namely Laravel 7 and the
MySQL database.
2.3 Research Methods
The monitoring system that is designed consists of
three main parts, namely the pH probe sensor as input,
the Raspberry Pi as a server computer (web server and
database server), and SIM800L V.2 V2 5V GSM
upgrade as a network device. The following in Figure
1 is a system design block diagram:
Figure 1. Block System Design Diagram
The pH probe sensor used in the design of this
monitoring device is a glass electrode that functions
as a pH sensor connected to the pH circuit using a
BNC connector. Electrolyzer water quality
measurement tool for detecting mercury (methyl
mercury) contamination, pH circuit and Gravity
Analog TDS (Total Dissolved Solids) connected to
the Raspberry Pi with serial communication on the
Raspberry Pi GPIO pin, namely the RX pin on the pH
circuit connected to the TXD pin on the Raspberry Pi,
the TX pin is connected to the RDX pin. When the
Electrolyzer, pH probe sensor, and TDS analogue
gravity sensor receive a reference voltage in the form
of an analogue signal from each sensor, the
Electrolyzer results will be sent to the TCS3200 Color
sensor. The pH circuit and Gravity Analog TDS will
process the output voltage passed by the pH and TDS
sensors into data in the form of values of mercury
(methyl mercury), pH, and TDS.
2.4 Implementation of Research
2.4.1 Raspberry Pi
According to Natarajan (Natarajan, 2014), the
Raspberry Pi is a mini-computer that is the same size
as a credit card that can be used for many things as a
computer can do, such as spreadsheets, word
processing, games, and programming.
Raspberry Pi can also be used for controlling more
than one device, both short and long distances. Unlike
the microcontroller, the Raspberry Pi can control
more than 1 unit of the device you want to control.
For controlling the unit device, the Raspberry Pi uses
the Python language as its programming language.
Raspberry Pi has several features, namely Micro SD,
which functions as a hard drive, USB port, Ethernet
port, audio-video output, HDMI Video, 400-700
MHz CPU, and most importantly, the Raspberry Pi
has a GPIO pin that functions to interface with
various devices electronic.