Arduino code for use in MKR1000 and Samsung ARTIK Cloud to monitor the pH and temperature levels of swimming pools.
- Version v1.0.0 | By Jeff Paredes
These instructions will show you how to use the code
FlashStorage - used to save the offset of pH calibration ArduinoThread - used it to read sensors in a separate thread. ArduinoJson - we'll be using this to send JSON data to ARTIK Cloud WiFi101 - used to enable wifi connection with mkr1000 ArduinoHttpClient - host for connecting to API OneWire - needed to read digital input from Temperature sensor DallasTemperature - Dallas Temperature sensor required library
Please follow these step by step series of examples that tell you have to use this codes
-
Install prerequisite libraries
-
Add the attached HexFont folder to your Arduino libraries.
-
Open simple_weather_display.ino with your Arduino IDE
-
Change your own ARTIK Cloud device id and token.
String deviceID = "artik cloud device id"; // put your device id here created from tutorial
String deviceToken = "artik cloud device token"; // put your device token here created from tutorial
- Change your own wifi ssid/name and password.
#define WIFI_AP "your wifi ssid"
#define WIFI_PWD "wifi password"
- Then Upload the Software Code to MKR1000 and start monitoring.
Flash Your MKR1000 using the code
Please visit Hardware Instruction Page on Instructables.com
- Arduino IDE - Programming IDE Used
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
- Jefferson Paredes - Developer - imjeffparedes
This project is licensed under the Attribution-NonCommercial-ShareAlike 2.5 License - see the LICENSE.md file for details
- Publishing Page - Instructables
- Sponsors - Hackster.io