Introduction: Arduino Controlled Pc Steering Wheel

Picture of Arduino Controlled Pc Steering Wheel

Hello there! How many of you out there wanted a PC steering wheel but you couldn't buy because of various reason?

If you are one of those guys or just have a lot of time on their hand,then THIS is for you!

Step 1: Stuff You Will Need

Picture of Stuff You Will Need

You will the following stuff

1)arduino (any flavour)

2)servos(you will need two them)

3)wires

4)The logitech gamepad(any gamepad will work,I had this one lying around)

5)MDF,Cardboard,wood,Foam sheet(those which are used in packing)

Tools

1)saw

2)dremel(not exactly but would be useful for drilling,cutting etc)

3)soldering iron

4)solder

5)tape

6)shoebox?

Step 2: The Wheel

Picture of The Wheel

This is based on the fact that you can control the servo using the pot.

1)Cut out the cardboard in the shape of your steering wheel,you will need to make two of these.

2)using the cardboard cut out(of the steering wheel)trace the shape on to the foam.

3)connect the steering wheel to the pot using paper tubes.

4)in the image you can see a 'H' shaped paper tube,that isn't necessary if you are willing to wait for the hot glue gun to heat up.

5)The 'H' shaped tubes holds the pot in place.

Step 3: The Pedals

Picture of The Pedals

Here you will need cardboard MDF(wood could be used)

1)The images are pretty self explanatory

2)use the elastic bands to act as springs so that the pedals return to original position after release.

3)The Al tape acts as a switch.The tape can be replaced by Al foil too!

Step 4: The Actual Controller

Picture of The Actual Controller

Again my entire instructables contain more image than text

Images are easy to understand as compared to text

Here one servo controls the analog stick(servo connected to pot inturn connected to arduino)

The other servo controls both the forward and reverse/brake operation.

Step 5: And You Are Done!

Picture of And You Are Done!

The code,fritzing and the video will be uploaded tomorrow as my camera battery just died (:C)

sorry about that.

Also I have noticed that most of you guys leave you email id in the comment box for help.I WILL NOT send the answers to the emails as a few others might have the query

Thanks

Comments

pratyush_heblikar (author)2016-01-26

THE CODE:

#include <Servo.h>
int potpin = 0;
int val;
const int buttonPin = 2;
const int buttonPin2 = 4;
int buttonState = 0;
int buttonState2 = 0;
Servo servoA;
Servo myservo;
void setup() {
myservo.attach(9);
servoA.attach(3);
pinMode(buttonPin, INPUT);
pinMode(buttonPin2,INPUT);
}
void loop() {
val = analogRead(potpin);
val = map(val, 0, 1023, 0, 180);
myservo.write(val);
delay(13);
buttonState = digitalRead(buttonPin);
buttonState2 = digitalRead(buttonPin2);
if(buttonState ==HIGH ){
servoA.write(50);
}
else
{
servoA.write(110);
}
if(buttonState2 == HIGH) {
servoA.write(130);
}
else
{
servoA.write(110);
}
}
wold630 (author)2016-01-25

There are a lot of kids out there who are going to love this!

Yeah!

ThomasK19 (author)2016-01-25

You should use an old steering wheel from a scrap yard. Makes me think of doing that for my son who eventually likes playing racing games.

I could have done that but I wanted to keep my costs to the minimum!

Thanks for the idea though!

About This Instructable

4,301views

5favorites

License:

Bio: A mystery freak.Introvert. Loves football (<3 arsenal) arduino!!
Add instructable to: