Home bus arrivals on 4*8x8 LED MATRIX display.
- Arduino core for the ESP32
- ESP32 other help
- video that helped me to get going
- MD_MAX72XX for LED_MATRIX
- NTPClient to get the time
- ArduinoJson to get data from http GET request
- trola.si documentation
- MAX7219 4*8x8 LED Matrix FC-16 Hardware library documentation
- EPS32 board
ESP32 | MAX7219 8x8 LED Matrix |
---|---|
VIN | VCC |
GND | GND |
GPIO12 | DIN |
GPIO15 | CS |
GPIO14 | CLK |
client.println("GET https://www.trola.si/[yourStationNumber]/[yourBusNumberOptional]/ HTTP/1.0");
Use trola.si or use documentation to figure your station number and your http request. Try it out in postman also add params so you get json formatted response.
key | Value |
---|---|
Accept | application/json |
Paste json result in ArduinoJson Assistant and you will get all the data you need to customize the code for your needs. Then you can use this simple example to understand how it works.
In my case the device was connected. I had the latest windows 10 drivers for the esp32 but I could not upload to the esp32. So I downgraded the driver for windows 7/8/8.1 it has the (default) tag, and that fixed the problem for me.