-
Notifications
You must be signed in to change notification settings - Fork 1
4. Software Installation
-
Install the Arduino IDE version 1.8.19 from https://www.arduino.cc/en/software. I did not test it with any IDE 2.x versions yet.
-
Connect your ESPxx via USB, in Tools Menu set Serial Monitor in your IDE to: 115200 Baud
-
Allow the port for OTA (default: Port 8266 or 3232) in the Desktop Firewall of your IDE PC
-
Install these required libraries in your Arduino IDE or the IDE of your choise
- ESP8266WiFi https://github.com/esp8266/Arduino/tree/master/libraries/ESP8266WiFi
- ESP8266WebServer https://github.com/esp8266/Arduino/tree/master/libraries/ESP8266WebServer
- LittleFS file system https://github.com/esp8266/Arduino/tree/master/libraries/LittleFS
- ArduinoOTA by Juraj Andrassy https://github.com/jandrassy/ArduinoOTA
- ArduinoJson by Benoît Blanchon https://github.com/bblanchon/ArduinoJson
- U8g2lib by Oliver Kraus https://github.com/olikraus/u8g2
- EspMQTTClient by Patrick Lapointe https://github.com/plapointe6/EspMQTTClient
- TaskScheduler by Anatoli Arkhipenko https://github.com/arkhipenko/TaskScheduler
-> In case I missed a library/tool or didn't name you as the owner let me know so I can fix it.
-
Chose the constructor for your display resolution in RocMQTTdisplay.ino ~line 82. Default is 128x32 pixel. Optional 128x64, 64x48, 96x16. Only one constructor can be used per controller.
-
Compile and Upload the RocMQTTdisplay.ino sketch to the controller.
-
Preconfigure 'rmdsec.txt' in the data folder with your WIFI SSID and WIFI Password before uploading it to the controller. I did not include a captive portal for Wifi settings as it's not comfortable to run this procedure for many controllers. Also the Wemos D1 mini has just an emulated EEPROM where the secrets are typically stored. So using the file upload to the file system is nearly the same.
-
Important: Upload all files from the data folder with the Arduino IDE with these tools:
-
ESP8266 'Tools / ESP8266 LittleFS Data Upload'
If this option is not available in your IDE install the plugin from here: Arduino ESP8266 LittleFS Filesystem Uploader
Do NOT use ‘Tools/ESP8266 Sketch Data Upload’, it will not work. It was for the SPIFFS file system which is deprecated for ESP8266. -
ESP32 'Tools / ESP32 Sketch Data Upload'
If this option is not available in your IDE install the plugin from here: Arduino ESP32 filesystem uploader
Copyright (c) 2020-2024 Christian Heinrichs. All rights reserved. |
---|