Software
Arduino
We use temperature sensor(DS18B20)、pH meter and CO2 sensor(MG811) to monitor our device. Besides, we use LCD to print datum and use Wi-Fi sensor(ESP8266) to upload our records to database as well.
Arduino Code
Database
In order to save data from our device, we set up a database in Firebase, including carbon dioxide concentration, pH value and temperature obtained by sensors in our device.
Click to see our databaseApp
To make our device more user-friendly, we designed an app to get data from our database. The manager of the factory can easily see the data immediately. Besides, we set up a notification system. As long as users connect their smart phone to the internet, they can immediately get the warning notification from the device if the data goes wrong.
See the code on Github
Reference
(1)pH meter: Boywhy Chen.(2016).[Arduino] PH meter. Retrieved from http://boywhy.blogspot.com/2016/07/arduino-ph-meter.html(Augest 28,2018) (2)temperature(DS18B20 ): Konstantin Dimitrov.(2016).Arduino Thermometer With DS18B20. Retrieved from https://create.arduino.cc/projecthub/TheGadgetBoy/ds18b20-digital-temperature-sensor-and-arduino-9cc806 (3)CO2 sensor(MG811) Tiequan Shao.Peng Wei.(2016)Arduino 二氧化碳感測器MG811 校正計算.Retrieved from http://a-chien.blogspot.com/2016/03/arduino-mg811.html