I had an old usb steering wheel laying around that died, i had a freetronics leostick laying around so i made this.
i updated the bootloader to the official leonardo one.

Step 1: bootloader mods

updated the bootloader to the official leonardo one.
for the steering wheel you will need an arduino leonardo compatible board with the leonardo bootloader.
update these files in root folder >hardware > arduino > cores > arduino
i used i.0.5 of the ide

files to download : HID


<p>Hello.I have a question for you.With arduino and this code i have deadzone on steering?(Sorry for my enghish :) )</p>
<p>Made this only using smartphone - no cost - working great. sharing all <br>places because UNO steering wheel was in my future projects list. due to<br> costs of commercial gaming wheels. Now using existing smartphone and <br>app its super easy.<br>https://www.youtube.com/watch?v=PcFSFCocAPE</p>
<p>Would this work with a Optical Incremental Rotary Encoder like this:</p><p>http://www.aliexpress.com/item/F85-Free-Shipping-Encoder-600-P-R-5V-24V-Incremental-Rotary-AB-2-Phase-6mm-Shaft/32412236109.html?spm=2114.30010308.3.1.RmyaMu&amp;ws_ab_test=searchweb201556_3,searchweb201644_5_505_506_503_504_502_10001_10002_10016_10017_10010_10005_10011_10006_10003_10004_10009_10008,searchweb201560_3,searchweb1451318400_-1,searchweb1451318411_6448&amp;btsid=0e54ee8f-ee3d-477c-b5aa-0a7959493697</p>
no sorry, its based on the change of resistance<br>the optical encoder looks like it outputs pulses based off position<br>you could edit the code but im not sure how
Thanks for letting us know. I'd would love to see a project done with an Optical Encoder.
<p>is the potentiometer used for steering and can we add a clutch and h shifter which is a diy one. and in the diagram for brake and throttle is potentiometer used or can it be used??</p>
<p>Sorry, this might be not the best idea.</p><p>In a specific configuration of the throttle and brake potis there will be</p><p>a short circuit between GND and VCC.</p><p>Or is this the reason why you are using another GND and this is not a problem?</p>
<p>i used a different ground because it was closer in the diagram</p><p>this is how i wired up the throttle and brake pedals, it works fine no short<br>it should work with a different ground pin<br></p>
<p>I cannot get this to work. I get the following error in the compiler:</p><p>Controller_3.ino: In function &lsquo;void setup()&rsquo;:</p><p>Controller_3.ino:5:3: error: &lsquo;joySt&rsquo; was not declared in this scope</p><p>Controller_3.ino: In function &lsquo;void loop()&rsquo;:</p><p>Controller_3.ino:20:3: error: &lsquo;joySt&rsquo; was not declared in this scope</p><p>Controller_3.ino:23:3: error: &lsquo;Joystick&rsquo; was not declared in this scope</p><p>what Code do you have before &quot;void setup()&quot; </p><p>I swapped out the files in the root folder and used your code. Won't work...</p><p>any suggestions? I am also using arduino 1.0.5</p>
<p>use arduino 1.0.1. Modify the root files as this tutorial states, but for arduino 1.0.1. Secondly, make sure you have the Leonardo selected as the board you are using.</p><p>I cannot get this code to work for any other versions of arduino accept arduino 1.0.1.</p><p>link to all older arduino versions: http://arduino.cc/en/Main/OldSoftwareReleases</p>
<p>did you put the files in the root folder, eg &quot;arduino-1.0.5&quot; or in these folders?</p><p>root folder &gt;hardware &gt; arduino &gt; cores &gt; arduino</p>
<p>Would a version of this work with an arduino mega? I am rather new to fiddling with Arduinos, got a mega 2560 from a friend and I have a busted steering wheel as well. </p>
I don't think it would work<br>is it can act line a USB keyboard then yes it might<br>I used a freetronics leostick with the Leonardo boot loader for my steering wheel
<p>Thank you for the reply, after your comment I went googling and there are indeed ways of making the Mega work as a usb HID device, I might do some stuff and try to use your code while I wait for the rest of the hardware I bought for a different project with the same arduino.</p>
cool, good luck

About This Instructable




Bio: i am a nerd that makes stuff
More by The nerdling:How to connect your 4 button battery charger to your computer Arduino leonardo usb steering wheel how to use counterfit usb to serial chips in windows 8 
Add instructable to: