I have a on going project to build a car-simulator and one goal is to get the feeling like sitting in a real racing-car. With this instruction I explain how I have build my pedals to my car simulator. Of course you can buy stuff like this but I want to build it cheap. My pedals have gas, brake and clutch and use a Arduino (Windows native drivers) to connect to usb port.
Hope I can inspire you with my building and I meet you on a trackday in Project Cars!
1. Arduino Pro Micro
You can use any of board based on ATmega32U4
2. Usb cable between Arduino board and computer.
3. 3 piece Slide Potentiometer 5kohm.
4. 3 cheap styling pedals for cars.
5. Spring
6. Some metall to build pedal construction in
7. Nuts, bolts and cables to potentiometer
8. Project Cars or another car simulator you like.
For this you need to download MHeironimus/ArduinoJoystickLibrary Version 1.0 and JensArduinoCarPedals from Github.
Install libary and open jenswsArduinoPedal project.
Download it to your Arduino board and connect to your gaming computer.
Go to Controlpanel/Hardware and sound/Devices and printer.
If everything is correct you now see your arduino board as a joypad.
Right click on your Arduino board and choose Game control Settings
After you choose your Arduino board you can go to tab test and test your potentiometer.
I build my pedal construction in steel and welding it together. One tricky part was to find spring with correct feeling. You have to test what you like. I also fond that 100mm from bottom to center of pedal was a good length for my foot.
I show some pics how i have done to give you idea how you can build yours.
If you have done everything correct you now have som nice pedals to you car simulator.
Probably I gona build version 2,0 of my pedals.
I'm not 100% satisfied with the feeling in my pedals.
Maybe i rebuild brake to hydraulic and try different springs on gas and clutch.