Decided to start learning electronics as a hobby and while studying got an idea to create a mini dashboard for displaying American Truck Simulator and Euro Truck Simulator 2 info. The game info (speed, cruise speed, gear, engine status, parking break status, etc...) is streamed from a companion app via usb port to the Pico which displays it on the LCD. The buttons allow to switch the displayed info on each line respectively.
This is a hobby project in a very early stage (simple) and work in progress. I intend on switching to a graphic screen and add more features/info to the dashboard.
For sending data from the game SDK to the Raspberry Pi Pico via usb I'm using a companion app.
- Dave Hylands for the basic api and lcd driver code
- Tyler Peppy for the api implementation for Pico
- Make sure your Pico is running MicroPython. Download and installation instructions can be found here.
- Follow the wiring of the sketch in the section below and upload the python files to Pico.
It can also be done via Thonny IDE
- Raspberry Pi Pico
- LCD1602 with an I2C module
- 2 buttons
- 2 10KΩ resistors
- Wires
Pressing buttons to change displayed info (speed is static due to cruise control)