Robotic Car Kit Assembling and Controlling by PS2 Wireless Remote

by M Hammad Ullah in Circuits > Robots

15229 Views, 11 Favorites, 0 Comments

Robotic Car Kit Assembling and Controlling by PS2 Wireless Remote

IMG_20190528_002404.jpg
How to Control a Robotic Car using a PS2 Wireless Remote

This Project is related to basic steps in Robotics world, you will learn to assemble a 4WD Robotic car kit, placing hardware on it and controlling it with wireless PS2 remote.

Car Chassis and Assembling

4WD Robotic Car || Assembling and Controlling with Complete Understanding

Yo can use any robotic car chassis for this project, only you need to make a lil changing in hardware and program according to your chassis. I'm using a 4WD Robotic Car Kit for this project.

Check the attached video to learn assembling.

Components

IMG_20190525_224934__01.jpg

Hardware Connections

4WD Car ps2.png
PS2_Controller-01.jpg

I haven't found PS2 Receiver part in fritzing, so I take out some wire from Arduino Pins, and I will explain its connection, its very simple.

As you can see attached pictures, we are using 6 pins from the PS2 Receiver (DATA,COMMAND,+3.3V,GND,ATTENTION,CLOCK).

Arduino Pin----------------------PS2 Receiver Pin

DATA----------------------------------Pin 12

COMMAND--------------------------Pin 11

+3.3V----------------------------------3.3V pin of Arduino

GND-----------------------------------GND

ATTENTION-------------------------Pin 10

CLOCK--------------------------------Pin 9

Programming Part

Add the attached PS2 controller library in your Arduino IDE software, then upload the code in your Arduino Board.

Note

Please Check the attached video with project for complete procedure.

You can use both joysticks on PS2 remote to control the car, press L1 to use left joystick, and R1 to use right joystick.

Debugging

  1. Make sure the two right side motors are running in same direction and left side motors also runs in same direction. Change the polarity of any one motor from a side if both motors do not run in same direction.
  2. If you pushed the joystick forward and car goes reverse, alter the polarity of motors, or simply change the Arduino pins.

Attention Please

Hope this procedure help out you in some way to achieve your goal, please subscribe our youtube channel to motivate us to make more tutorials.

Thank You