Hackster is hosting Hackster Holidays, Ep. 6: Livestream & Giveaway Drawing. Watch previous episodes or stream live on Monday!Stream Hackster Holidays, Ep. 6 on Monday!
Jon Mendenhall
Published © MIT

Mini Gaming Wheel with Gas / Brake Pedals

Find out just how good of a racer you are with a mini steering wheel, and finger operated gas and brake pedals!

IntermediateFull instructions provided6 hours5,993
Mini Gaming Wheel with Gas / Brake Pedals

Things used in this project

Hardware components

3D Magnetic Sensor 2Go
Infineon 3D Magnetic Sensor 2Go
This will be the brains of the project, reading the steering wheel angle, and how much you press on the gas / brake pedals.
×1
Jumper wires (generic)
Jumper wires (generic)
(Female to Male) These will connect the pins of the 2 joysticks to the breadboard, and then to the pins on the 3D Magnetic Sensor 2Go.
×10
Breadboard (generic)
Breadboard (generic)
×1
Male Header 40 Position 1 Row (0.1")
Male Header 40 Position 1 Row (0.1")
4 Male header pins will be soldered onto pins on the Infineon 3D Magnetic Sensor 2Go.
×1
Infineon Magnet (7x7x5mm)
This comes in the package with the 3D Magnetic Sensor 2 Go.
×1
13x4mm Bearing (M5 hole)
You will need 2 of the individual bears from these V-Slot wheels for mount the steering wheel assembly to the WheelMount.
×2
M5x25 Bolt
These will be used for the hinge for the whole steering wheel assembly, and the axle the steering wheel turns on.
×2
M5x8 Bolt
These will be used to connect the WheelBack and WheelFront to each other.
×6
M3x12 Bolt
This will be screwed into the WheelFront, and stop it from continually rotating.
×1
M5 Hex Nut
This will be used to set the tightness of the hinge for adjusting the steering wheel assembly's vertical angle.
×1
M5 Washer
This washer goes on the side of one of the bearings to add some space to the MagnetCoupling.
×1
M5 Nylon Spacer (5mm tall)
This will add a 5mm gap between the steering wheel assembly, and the WheelMount.
×1
M3x20 Nylon Bolt
This will be used to mount the 3D Magnetic Sensor 2Go board.
×1
M3x15 Nylon Standoff
The 3D Magnetic Sensor 2Go will be mounted on this, spacing it just right for the position of the magnet.
×1
M3 Nylon Hex Nut
Used to hold the 3D Magnetic Sensor 2Go in place on the nylon standoff.
×1
XY Joystick Module
You will need 2 modules to make the gas / brake pedals.
×2
M3x8 Bolt
These will be used to mount the joystick modules onto the DualPedalBase.
×8

Software apps and online services

Arduino IDE
Arduino IDE
Program the 3D Magnetic Sensor 2Go with the Arduino software.
Visual Studio 2015
Microsoft Visual Studio 2015
Runs the program to read data from the 3D Magnetic Sensor 2Go, and convert it into an Xbox 360 controller's input for the racing game.

Hand tools and fabrication machines

3D Printer (generic)
3D Printer (generic)
Soldering iron (generic)
Soldering iron (generic)
Screw driver (Phillips head)
M5 Hex key (generic)
M3 Hex key (generic)

Story

Read more

Custom parts and enclosures

DualPedalBase

This will hold 2 joystick modules which will be the gas and brake pedals.

WheelFront

This is the front half of the steering wheel assembly

WheelBack

This is the back half of the steering wheel assembly

WheelMount

This will be the central mount that holds the steering wheel assembly, the 3D Magnetic Sensor 2Go, and connects to the adjustable hinge.

MagnetCoupler

This will hold the magnet in one end, and screw onto the bolt for the steering wheel assembly.

Stand

This will hold the whole steering wheel assembly on an adjustable hinge so you can find the optimal angle for control.

Pedal

This is the finger operated pedal that will connect the the joysticks like a normal thumb stick would.

Schematics

Wiring Diagram

Follow this wiring diagram when you connect everything together with jumper wires.

Code

GitHub Repository

This contains all of the code and some libraries needed for the project.

Credits

Jon Mendenhall

Jon Mendenhall

4 projects • 62 followers
I've been working with hardware and software for 8 years, and I have 4 years of professional software development.

Comments