Monitoring System of Fisheries Water Quality Based on Microcontroller
Keywords:
water quality, microcontroller, ATMega 328, website, dataAbstract
A prototype of the water quality online monitoring system with Temperature, DO, Ph and ATMega 328 microcontroller-based salinity monitoring has been made. Initial detection of water quality, through (a) sensor integration to the ATMega 328 microcontroller system and (b) ATMega 328 microcontroller programming for system operation.Integration of the sensor into the microcontroller system, in the form of: (i) utilization of pins on the microcontroller board for conductivity sensors only 4 of the 8 pins are available, each of which is used for data (pin-1), clock (pin-3), ground (pin -4), and +5 volt dc power supply (pin-8); (ii) the port on the microcontroller board for the thermistor, namely C-port (PC) with PC0 for reading and writing data, while PC1 is used to synchronize the communication process router to the website and (iii) the five main ports on the ATMega 328 microcontroller board used,namely for: (i) 5 volt dc power supply at ATMega 328, (ii) conductivity and temperature sensors, (iii) pH sensors, (iv) DO sensors, (v) turbidity sensors, (vi) 2x16 LCDs and (vii) output. Programming the ATMega 328 microcontroller for system operation, planting C-language programs is carried out in eight stages, namely: (i) pin configuration, (ii) variable declaration (variable), (iii) declaration of constants (constants), (iv) initialization, (v) initialization, (v) ) main program, (vi) display, (vii) retrieve and send data, and (viii) output: Measurement of system performance in the form of a validation test by displaying Temperature, DO, pH and salinity values on the website with the lab-android.com page. Website pages are equipped with database, SQL, block diagrams and export and import data. Website can be accessed from a PC / laptop or mobile phone.