Skip to content

IoTmaker/ArduinoAquariumMonitor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

ArduinoAquariumMonitor

Repo link: [https://github.com/IoTmaker/ArduinoAquariumMonitor]

See write up of the project here: [https://www.hackster.io/thestevenbell/monitor-water-and-air-temperature-with-esp8266-and-mqtt-bb56da]

See comments in .ino file for more detail.

Prerequises:

This project uses an imported configuration.h file to house sensitive information.

Create the following file /Arduino/libraries/configuration/Configuration.h

Add the following constants replacing the values with yours:

/************************* WiFi Access Point *********************************/ #define CONFIG_WLAN_SSID "some ssid" #define CONFIG_WLAN_PASS "password" /************************* Adafruit.io Setup *********************************/ #define CONFIG_AIO_SERVER "io.adafruit.com" #define CONFIG_AIO_SERVERPORT 1883 // use 8883 for SSL #define CONFIG_AIO_USERNAME "username" #define CONFIG_AIO_KEY "some_key_9845jgahdfahdsfouhadufuvasiub" 

Pro-tips:

Debugging the ESP8266

I ran into issues when writing to the TFT display causing the ESP8266 to throw an error. The microcontrolller will actually print a stack trace to the console. At the time I had no idea what part of the code had generated the issue or even the nature of the error. Luckily, serveral resources are available to help. This repo ( https://github.com/me-no-dev/EspExceptionDecoder ) contains a debugging tool that will decode the crytic codes generated by in serial console into a human readable stack trace. Follow the instructions in the repo to install it into the Arduino IDE. Be sure to recompile your sketch before using the Tool.

Additional info on debugging:

Libraries Listing for ESP8266

List of libraries known to be compatible with the ESP8266. This will save you some time as you will not have to do trial and error to determine if the libary works with the board.

About

Arduino code for various projects.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages