Sketch of the Arduino – LCD video game “Voitures”

This is simply an update of a previous post I wrote about a simple car game I made for a 16×2 LCD screen connected to a Arduino Uno. It is called “Voitures” “Vroum!” (total lack of imagination today now that’s much better).

It uses pins 12, 11, 6, 5 and 4 to connect the LCD.
It uses the LiquidCrystal library for Arduino :

Note that this codes was written for an ad-hoc pad of 10 buttons connected to the board. Only two simple push buttons are required to control the game. I don’t change the code due to lack of time, but you’ll simply have to remove the “detect()” function, and adapt the code in the “initial()” function and at the beginning of the main loop (using a simple digitalRead()).

Read this page if you have trouble wiring your buttons :

The only magic there is to this game lies in the use of the extra memory for custom characters available in the LCD screen (a maximum of 8 characters can be created) :

Here’s a video of the game :

You can download the Arduino sketch here.

Fasten your seatbelt and have fun.

This entry was posted in Music, video, extra and tagged , , , , . Bookmark the permalink.

5 Responses to Sketch of the Arduino – LCD video game “Voitures”

  1. Dongha says:

    Do you have the wiring diagram?
    I would like to try your game,but I couldn’t wire the circuits

  2. Dongha says:

    Ok. Thanks.

  3. ankur says:


    Can I reuse your code? IS it open source?


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s