DIY Driving Simulator using an Arduino

If you haven’t noticed, as soon as you clicked into this instructable, you are now following me if you weren’t already, you Favorited the instructable, and you voted for this instructable in all contests it is entered in. Then the buttons all dissappeared. It’s okay though. If you really want to, you can still go onto your page and unclick all of them or you can test your speed and try to unclick them before they dissappear. To see how I did it click here

Arduino Driving Simulator
This project took about 3 months to completely finish. It acts as a gravity sensing light up “steering wheel” that allows the user to interact with driving games by tilting and turning the steering wheel. This is a great gift for tech people or anyone that is getting ready to drive. Later in the project I explain how you can take this project further to include gas and brake pedals, then with a little software modification, have a real working driving simulator. This setup converts forward tilt into the ‘w’ key, backward tilt into the ‘s’ key, left tilt into the ‘a’ key, and right tilt into the ‘d’ key, although this can be modified to use arrow keys quite easily. I only used wasd because that is how I programmed my driving game in game maker. I teach you how to use real gravitational sensing potentiometers and then, for those of you like myself who can’t afford to buy things of that nature, show you both where to find them in household items and how to build your own from scratch! Have Fun and please VOTE!

Step 1: The gravity sensing potentiometer

I found a commercial grade one in an old helicopter remote, but if you don’t want to buy one, the next step tells you how to build your own one.
For the sake of people who are going to build their own one, I built my simulator sensor with one commercial sensor and one homemade sensor (you need 2 total)

Step 2: Making your own gravity sensing potentiometer

This step shows you how to create a perfectly working gravity sensing potentiometer from household parts
Get a potentiometer
Get a heavy and small ball
File down one side of the ball
Glue the knob onto the potentiometer
Glue the flat side of the ball onto the knob-make sure it is directly in the center of the knob
Glue a nut to the ball to add weight

Step 3: The wheel

I found an old light up Frisbee but it did not have the ability to switch on and off the light, plus it came with pesky button cell batteries.
This step solves that problem by rewiring the Frisbee to have external battery power and a switch to turn the internal light on and off.
Connect wire to the positive and negative ends of the Frisbee circuit.
Wire up a switch and connect it between the battery and the circuit.
Glue everything down.

Arduino Driving Simulator circuit

Step 4: The casing

Bring out the legos!
12×8 box with 3×6 hole and 6×6 hole
these are used for up, down, left, and right sensor movement
The box should be 5 high
You can then fill in spaces so that the sensor is more compacted and directionally limited
Make sure to include holes for wires to come out

Step 5: Hooking everything up

Attach longer wires to everything so that you can use the wheel from a distance
Glue the sensors to plates and pack them into the holes in the Lego casing
Then attach Velcro to the underside and to the back of the “wheel”

[box color=”#985D00″ bg=”#FFF8CB” font=”verdana” fontsize=”14 ” radius=”20 ” border=”#985D12″ float=”right” head=”Major Components in Project” headbg=”#FFEB70″ headcolor=”#985D00″]Arduino[/box]


For more detail: DIY Driving Simulator using an Arduino

About The Author

Ibrar Ayyub

I am an experienced technical writer with a Master's degree in computer science from BZU Multan University. I have written for various industries, mainly home automation, and engineering. I have a clear and simple writing style and am skilled in using infographics and diagrams. I am a great researcher and is able to present information in a well-organized and logical manner.

Follow Us:
Scroll to Top