loading

Hello to everyone.Let's introduce myself.My name is dimitris and i am from Greece.I love very much Arduino becasuse it's smart board.I will try to describe as best as i can this instructable in order to make by anyone.So let's start.

Step 1: Materials

Step 2: Chassis

Every robot needs a chassis.I buy my chassis from ebay and i am very pleased because the materials fits perfectly.If you want you can make your own chassis.You will need 20x20 plywood or plastic.Place the Arduino and usb host shield on the chassis with screws.Also, plug the usb bluetooth on USB host shield.

Step 3: Wiring Scheme

Follow this diagram to make the connections.E1 and E2 are the pwm of motor controller and have to be connected in pwm of arduino.E1 goes on pwm 3 of Arduino,M1 goes on digital pin 2 of arduino.E2 goes on pwm 5 of Arduino,M2 goes on digital pin 4 of Arduino.Connect the VS from the motor controller to vin pin of Arduino.The GND from motor Controller to GND of Arduino.Connect motor A and motor B as the image show and then place the motor controller with a screw near to the Arduino and usb host shield.Finally, place the 9V battery on the chassis and you are almost ready to go.

Step 4: How to Connect a PS3 Controller to an Arduino

The connection between Arduino and PS3 Controller is piece of cake.The only thing you have to do is to follow this video.

Step 5: Arduino Code

After you have paired your arduino with PS3 Controller you have to upload the sketch that i make.When you press X the two motors drive forward and when press Δ the motors drive backwards.When you press the right arrow the right motor drive forward and the other backward.When you press the left arrow the left motor drive backward and the other forward.When you upload the sktech disconnect the cable from pc and put 6 AA batteries on your Arduino power jack and you are ready.

Step 6: Images From the Complete Project

That's it my PS3 project.Have fun

<p>What if you add a camera to the existing project. Would it work and how? </p>
<p>Hello my friend.There is an app on google play called ip webcam.</p><p>Download the app</p><p><a href="https://play.google.com/store/apps/details?id=com.pas.webcam&hl=el&referrer=utm_source%3Dgoogle%26utm_medium%3Dorganic%26utm_term%3Dip+webcam&pcampaignid=APPU_1_pxvkWPrlO4qEgAa1prTwBA" rel="nofollow">https://play.google.com/store/apps/details?id=com....</a></p><p>and then follow this video </p><p><a href="https://www.google.gr/search?q=ip+webcam&oq=ip+webcam&aqs=chrome..69i57j0l3j69i60.6778j0j4&client=chrome-mobile&sourceid=chrome-mobile&ie=UTF-8#" rel="nofollow"><br></a></p><p><a href="https://www.google.gr/search?q=ip+webcam&oq=ip+webcam&aqs=chrome..69i57j0l3j69i60.6778j0j4&client=chrome-mobile&sourceid=chrome-mobile&ie=UTF-8#" rel="nofollow">How to use IP Webcam ( Android) (HD 720p - 3D)</a></p>
Quick question: Did you use a DUALSHOCK 3 controller or a SIXAXIS controller?
<p>Hello.I used the original controller of PS3.</p>
Thanks!
<p>I am glad that i help you.Good luck with your project ;)</p>
<p>in my controller says dualshock 3 sixaxis.i hope that i help you :)</p>
<p>regardd</p><p>you have changed the baud rate of the interfacing code as 9600.</p><p>but the baud rate of your code was 115200. will that work. with different baud rates or we need to change that?</p>
<p>just follow my instructables and you do not have any problem :)</p>
<p>the braud rate should be 115200.i figure out that with 9600 the robot didn`t move at all.</p>
<p>can you please reply to me asap sir, as my project deadline is nearing.</p>
<p>hi sir, i have to control the robot car project. Where the rear wheels in the form of a dc motor is controlled with flex sensors and front wheels in the form of a servo motor controlled by the accelerometer sensor. Robot controller with a car connected with nrf24l01. if one of the sensors to control I can. but if it combines both to control I can not. Both sensors transmit data simultaneously . dc motors and servo motors confused receive data so that its movement is chaotic. How should I fix this? can you help me.? Can I send my program to you and you see.? Please. My email: rema_adhe@yahoo.com</p>
<p>Hello sir.Give me more details about your project like wiring connection,code and materials that you use.</p>
<p>I use : 2 Arduino uno, 2 flex sensor, L298 Dual H Bridge motor driver, 360 degree continuous servo motor, 2 motor dc, 2 NRF2401, Battery 110mah, MPU 6050.</p><p>Flex sensor control motor dc, which one controls for forward and the other controls the moving backward. MPU 6050 controls the servo motors to move the left and to the right serves as navigation or stir.So flex sensors and mpu are in the same board and the controlling dc motors and servo motors with wireless communication. My car robot robotic three-wheeled car, which dc motors and servo motors that material. I have to send the data from both flex sensors and mpu 6050 to control the robot car. If the one sensors used I can control it with one command but when three sensor and they combine all three types of commands to control it I cant. May I have your email to send my program code ?or please contact me back via email :rema_adhe@yahoo.com</p>
<p>Cool robot!</p>
<p>Thank you</p>

About This Instructable

7,369views

23favorites

License:

More by dimitrakis1992:Simple PS3 Arduino Project 
Add instructable to: