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.
- on Computer & Internet
- Labs project
9292 dutch public transport monitor
November 27, 2019 , Latest update: December 2, 2019
Read the full post
- Project code (203.53 KB )The arduino library + example code for the ESP32
- Enclosure (13.77 KB )STL-files of the enclosure