Software for ESP8266 to control Huyang from DroidDivision via Browser/Mobile Device. This Software runs on mostly any ESP8266 together with two GC9A01 TFT Displays. Inside the Folder /Wiring Diagrams you can find some Instructions how to connect two GC9A01 Displays to common Boards.
Open "config.h" and edit the configuration as you need it. You can configure Huyang to be accessible via his own Wifi or let him connect to your home WiFi.
- Open "Settings"
- Edit the "Additional boards manager URLs"
- Add new Row: "http://arduino.esp8266.com/stable/package_esp8266com_index.json"
- Press OK
- Restart Arduino IDE
- Open "Tools" -> "Board ..." -> "Board Manager"
- Search for "esp"
- Install "esp32 by Espressif" OR "ESP8266 Boards (3.1.0)" to make your Board available
- Select "Tools" -> "Board" -> ... whatever you have. Maybe "Generic ESP8266 Module", or "ESP32 Dev Modul"
For all installations, if there are some dependencies to install, install them!
- Open "Tools" -> "Manage Libraries"
- Search for following Names and install what you found
- "ESPAsyncWebServer" -> Install "ESPAsyncWebServer by Iacamera"
- "PWM Servo Driver" -> Install "Adafruit PWM Servo Driver Library by Adafruit"
- "Adafruit NeoPixel" -> Install "Adafruit NeoPixel by Adafruit"
- "Arduino GFX Library" -> Install "GFX Library for Arduino by Moon On Our Nation"
- "DFRobotDFPlayerMini" -> Install "DFRobotDFPlayerMini by DFRobot"
- "ArduinoJson" -> Install "ArduinoJson by Bernoit Blanchon"
- Please install "arduino-littlefs-upload-1.5.0.vsix" by following the Instructions of https://randomnerdtutorials.com/arduino-ide-2-install-esp8266-littlefs/#installing
- Build and Run with your Arduino IDE
- Huyang Communicate via Serial (USB) on Port 115200
- On the Serial Monitor you can read the current IP Adress when in WifiMode Connect to your Wifi
- Open a Browser of a Device connected to the same Wifi
- Enter the IP Adress from the Serial Monitor into your Browser Adressbar
- This looks like http://192.168.10.1 or if WebServerPort is not 80, try http://192.168.10.1:80
- Enter http://192.168.10.1 into your Browser Adressbar
- If you changed the WebServerPort, try http://192.168.10.1:80 and replace the :80 with your custom port (like :123)