I wanted to be able to show public transport information on my microcontroller of choice. The code I wrote is written for the ESP32 but also works on the ESP8266. It simply makes an HTTP-request at the 9292 API. The server then returns a JSON string with the information you requested. Then this information can be parsed so that you are left with the information you want, for instance the departure time of a specific train, or the destination of a bus of choice.
The information then can be displayed on a display of your choice.
- Labs project
9292 dutch public transport monitor
27 november 2019 , Laatste update: 2 december 2019
Lees het volledige stuk
- Project code (203.53 KB )The arduino library + example code for the ESP32
- Enclosure (13.77 KB )STL-files of the enclosure