Simple racing game for Arduino and WH2004 LCD display with analogue steering controls and optional buzzer sound effects. There no buttons or other components for controls. Only one resistor for steering wheel emulation.
Theoretically, any Arduino with digital and analog ports sufficient to connect a symbolic LCD screen and a variable resistor for control is enough for you. You can connect a buzzer for sound effects, but this is optional. The finished sketch takes ~16 KB of flash memory, so any Arduino board with 32 KB will be enough.
This project uses a cheap and simple non-i2c Winstar WH2004A screen, 20x4 characters. You can use any other one that can work with the LiquidCrystal library. Please note that for screens of other dimensions, you will need to correct the source code.
For controls, use one 10kohm variable resistor.
Use this simple scheme to build a game machine:
https://wokwi.com/arduino/projects/321213469665788500
Please, feel free to contact me for any questions about this project.
Thanks!