Arduino Robot with PS2 controller (PlayStation 2 joystick)

  Рет қаралды 47,170

Igor Fonseca Albuquerque

Igor Fonseca Albuquerque

Күн бұрын

Пікірлер: 71
@5minutehacks989
@5minutehacks989 3 жыл бұрын
Amazing video! Only easy, cheap, and stylish solution I found to controllers with Arduino.
@IgorFonsecaAlbuquerque
@IgorFonsecaAlbuquerque 3 жыл бұрын
Thanks, 5 Minute Hacks! I’m glad you liked it!
@fouzanjaved5441
@fouzanjaved5441 2 жыл бұрын
Sir, can you make a video on youtube on how to interface Xbox 360 wireless controller to control Arduino 4WD robot with Xbox 360 wireless controller?
@justOVERCH
@justOVERCH Жыл бұрын
Please help if you know what's wrong: the joystick has stopped connecting. only red light on receiver, And on the joystick both blink
@RandomPerson494-12c
@RandomPerson494-12c 3 жыл бұрын
I have a question. Can I replicate a ps2 controller using Arduino + hc-05 for this kind of operations ? I don't have a ps2 controller :(
@IgorFonsecaAlbuquerque
@IgorFonsecaAlbuquerque 3 жыл бұрын
Sure, you can design a controller that looks like a PS2 controller, and use it to drive the robot using a hc-05 or a nfr24l01 for wireless commands. Please let me know if you want to know how to do that and I can make a video explaining that for you.
@RandomPerson494-12c
@RandomPerson494-12c 3 жыл бұрын
There is one thing I want to know that, Can hc-05 communicate with smartphones , laptop... Just like a Bluetooth Gamepad. If yes then what kind of protocols and commands we gotta use?
@IgorFonsecaAlbuquerque
@IgorFonsecaAlbuquerque 3 жыл бұрын
@@RandomPerson494-12c I've never tried to comunicate a HC-05 with a laptop, but I've already used it with a smartphone. There are several apps you can find to send commands from a Android phone to a HC-05 module. I've used Blynk app to control a robot using Wi-Fi. But it is possible to use the same app and a Bluetooth module. www.instructables.com/Wi-Fi-Controlled-Robot-Using-Wemos-D1-ESP8266-Ardu/
@tbrandx2
@tbrandx2 Жыл бұрын
Excellent tutorial for PS2!! Can't thank you enough!
@mohammedasifm3760
@mohammedasifm3760 2 жыл бұрын
I am not able to add the library from the link. It shows Error. Could you please help?
@theod2403
@theod2403 9 ай бұрын
is it posible to use ps2 controller to control motor without motor driver? i need to active 4 motor but don't have any motor driver.
@shahabsotouni8279
@shahabsotouni8279 4 жыл бұрын
Hi Igor, Nice Video. How much lag do you experience with the PS2 Remote controller?! I recently tried this method, but the excessive amount of lag is frustrating!
@IgorFonsecaAlbuquerque
@IgorFonsecaAlbuquerque 4 жыл бұрын
Thanks, Shahab! I noticed almost no lag between the commands and the actual movement. There’s little processing on the Arduino (it isn’t reading any sensors in parallel) and I think it helped.
@16sushantgangurde77
@16sushantgangurde77 4 жыл бұрын
Hii sir in starting how do u control that car with mobile Without any bluetoory receiver . I didnt get that .
@IgorFonsecaAlbuquerque
@IgorFonsecaAlbuquerque 4 жыл бұрын
Hi there! This PS2 controller has a wireless receiver, which’s connected to the Arduino and “talks” with it using serial communication. This way, there’s no need for a Bluetooth or another receiver.
@BharatMohanty
@BharatMohanty 5 жыл бұрын
Hi Igor in which section of circuit you published this project on instructables
@IgorFonsecaAlbuquerque
@IgorFonsecaAlbuquerque 5 жыл бұрын
Hi, Bharat Mohanty ! It was published on Instructables > Circuits > Robots 🤖
@BharatMohanty
@BharatMohanty 5 жыл бұрын
@@IgorFonsecaAlbuquerque thank you
@wandersonsilva-fx1cs
@wandersonsilva-fx1cs Жыл бұрын
Sr. Igor, você é Brasileiro ? primeiramente parabéns pelo seu video bem explicado com exemplos. Muito bom mesmo obrigado por compartilhar. No último exemplo que é Step 7: Sketch #2 - Analog Stick and Digital Buttons (L2 and R2). Pode me ajudar como adcionar um motor de passo e um servo? quero fazer esse tanque com um simples braço robótico. Mas não estou sabendo como controlar com o joystick o motor de passo e o servo para a garra.
@fouzanjaved5441
@fouzanjaved5441 2 жыл бұрын
Sir, can you please also make a 4 dof ps2 controlled robotic arm car and give me the circuit diagram and the code to the 4 dof ps2 controlled robotic arm car?
@pushkarjaiswal6724
@pushkarjaiswal6724 3 жыл бұрын
Which Arduino have used And which all Arduino can be used to link with PS2 Please help sir
@IgorFonsecaAlbuquerque
@IgorFonsecaAlbuquerque 3 жыл бұрын
I used an Arduino Uno, but it would work with any other Arduino board.
@AmbieWolfie
@AmbieWolfie 4 жыл бұрын
Thanks for the vid! Love it. I am in the process of designing a hexapod, and hope to use a PS2 controller with it. However, I need to use 12 signal pins for the servomotors. I would rather not have to use a shield component. Is it possible for me to only use one part of the PS2 (aka only need one signal pin?) or do all 4 have to be connected? Is it possible to connect two of the pins to one signal pin (through a breadboard) to try to 'save space', even if it leads to two of the controls doing the same thing?
@IgorFonsecaAlbuquerque
@IgorFonsecaAlbuquerque 4 жыл бұрын
Hi there! I'm glad you liked the video! :D Regarding your question, unfortunatelly I don't think it would be possible to ignore sobre of the pins of the receiver..
@danimaster6647
@danimaster6647 4 жыл бұрын
You can add a shift register to add more pins
@AmbieWolfie
@AmbieWolfie 4 жыл бұрын
@@IgorFonsecaAlbuquerque Okay, thanks!
@AmbieWolfie
@AmbieWolfie 4 жыл бұрын
@@danimaster6647 I'll have a research. Thanks!
@reignalden8056
@reignalden8056 3 жыл бұрын
i guess im asking the wrong place but does any of you know a tool to get back into an instagram account..? I was dumb forgot my login password. I love any help you can give me!
@doriano5744
@doriano5744 2 жыл бұрын
Hey Igor, this video was very helpfull. Do you have the arduino code for this project? I cant control my robot with the Joystick Buttons on my controller. Only the other buttons are working. OIt would be very nice if you can send me a link of your code. thank you very much. Doriano
@enfermero23
@enfermero23 6 ай бұрын
Can it go faster?
@shajudeen4554
@shajudeen4554 Жыл бұрын
Hai, Nice Video , you explained it well coding in this video,. I tried three of them 👍💯 Thank you 🥰
@ramanasai330
@ramanasai330 3 жыл бұрын
Nice video, but can you make a video about how how to customise a ps2 controller to make it work with a 6dof robotic arm , please
@IgorFonsecaAlbuquerque
@IgorFonsecaAlbuquerque 3 жыл бұрын
Hi there! Sure! I think it's a great idea! I'll try to make a video on how to control a robotic arm with a PS2 controller. Meanwhile, you can check this video on how to control a robotic arm with a Nunchuck: kzbin.info/www/bejne/i4CWqoSIbcRjeLs
@justinlee5298
@justinlee5298 3 жыл бұрын
Thank you for this! Super helpful. I'm building one now using 2 sticks but I need a bigger motor control and am using a BTS7960. Is there any way you could help me with the wiring of the inputs? The pinouts I found were different than the wiring in your writeup.
@IgorFonsecaAlbuquerque
@IgorFonsecaAlbuquerque 3 жыл бұрын
Thanks, Justin! I'm glad you found this helpful! Sure! How can I help you?
@adeiltonad7001
@adeiltonad7001 3 жыл бұрын
Muito bom! Se der, me ajuda com uma coisa: Quando movo o joystick para a direita, as rodas giram cada uma para um lado e quando movo para frente, ambas giram para o mesmo lado. Porém, quando movo para a esquerda, apenas uma roda gira. E quando movo para trás, apenas uma também. Pode me ajudar com alguma informação sobre isso? Escolhi esta opção: Step 9: Sketch #4 - Left Analog Stick Only
@IgorFonsecaAlbuquerque
@IgorFonsecaAlbuquerque 3 жыл бұрын
Olá! Você já checou as conexões (os pinos)? Talvez pode ser algum erro nas conexões...
@joseheliojunior242
@joseheliojunior242 5 жыл бұрын
Como faço se caso eu só tenho controle de ps2 com fio? Dá pra embarcar um esp32 dentro?
@IgorFonsecaAlbuquerque
@IgorFonsecaAlbuquerque 5 жыл бұрын
Olá! Não testei com um controle com fio para ver se funciona. Se funcionar, uma alternativa seria usar um microcontrolador (um esp ou outro Arduino) para transmitir os comandos por Bluetooth para o Arduino do robô.
@pecora31
@pecora31 3 жыл бұрын
How far can this reaches? thanks.
@IgorFonsecaAlbuquerque
@IgorFonsecaAlbuquerque 3 жыл бұрын
Hi there! I only used it indoors, and it worked fine around up to 5 meters (I'm not sure about this number).
@pecora31
@pecora31 3 жыл бұрын
@@IgorFonsecaAlbuquerque Thank you.
@fouzanjaved5441
@fouzanjaved5441 3 жыл бұрын
Sir, Thank you for your help.
@IgorFonsecaAlbuquerque
@IgorFonsecaAlbuquerque 3 жыл бұрын
You're welcome.
@cacoartist
@cacoartist 4 жыл бұрын
Olá Igor, tem algum contato para conversarmos sobre arduíno ? Estou com problemas com o meu setup de um projeto de carrinho de controle remoto. Os vídeos que vi são muitos antigos e não consegui ninguém para me dar um suporte a respeito.
@IgorFonsecaAlbuquerque
@IgorFonsecaAlbuquerque 4 жыл бұрын
Olá, Carlos. Você ainda está precisando de ajuda?
@danielsorin3448
@danielsorin3448 3 жыл бұрын
THE CODE FOR 2 STICK DOSE NOT WORK. WHY ?
@IgorFonsecaAlbuquerque
@IgorFonsecaAlbuquerque 3 жыл бұрын
Please tell me more about the issue. None of the motors are running?
@scriptthisshiet4272
@scriptthisshiet4272 3 жыл бұрын
hey man i cant use the library, why??
@IgorFonsecaAlbuquerque
@IgorFonsecaAlbuquerque 3 жыл бұрын
Hi there. Which error do you get when you try to upload the code? Please check if the library was properly added to the Arduino IDE before uploading the code.
@roscoe3dp470
@roscoe3dp470 3 жыл бұрын
Why not just use an ESP32 with built in bluetooth ?
@IgorFonsecaAlbuquerque
@IgorFonsecaAlbuquerque 3 жыл бұрын
Hi there! It's possible to do that (use an ESP32 with built in bluetooth an a remote controller). Although, PS2 controllers uses another protocol, and thus I had to use its receiver to read signals between PS2 controller and the Arduino.
@abhiseksingh7047
@abhiseksingh7047 3 жыл бұрын
Hello Can you tell me program psx
@IgorFonsecaAlbuquerque
@IgorFonsecaAlbuquerque 3 жыл бұрын
Hi. You can find the code in the link on the description of this video. I use Arduino IDE for programming.
@donlorentz4847
@donlorentz4847 5 жыл бұрын
what is the maximum operating distance?
@IgorFonsecaAlbuquerque
@IgorFonsecaAlbuquerque 5 жыл бұрын
Lorentz Technology I’ve tested if for a short range (less than 5 meters without any barrier) and it work fine. I can test if for a longer range if you need it.
@ernest_4104
@ernest_4104 5 жыл бұрын
@@IgorFonsecaAlbuquerque yes, please, test it. I need it, because I want to make one thanks!!!!
@avigyanmallickstd-iiib4226
@avigyanmallickstd-iiib4226 Жыл бұрын
Make a small head and that moves and connect your robot body
@tuanminhle8460
@tuanminhle8460 2 жыл бұрын
i want to use ps4 controller
@sanjayvasava2262
@sanjayvasava2262 4 жыл бұрын
Remot control helicopter banao please
@IgorFonsecaAlbuquerque
@IgorFonsecaAlbuquerque 4 жыл бұрын
Unfortunately I don’t have a drone (or a real helicopter 😅) to try it. If you know some one that can help me with that, please let me know! 😜
@Techknowledge23
@Techknowledge23 4 жыл бұрын
5:05
@IgorFonsecaAlbuquerque
@IgorFonsecaAlbuquerque 4 жыл бұрын
Tech knowledge Lol
@synapsido
@synapsido 2 жыл бұрын
ps2 controller...??? 🤣😆😂
Wireless PS2 Controller with Arduino
15:14
whizzbizz
Рет қаралды 9 М.
Flipping Robot vs Heavier And Heavier Objects
00:34
Mark Rober
Рет қаралды 59 МЛН
Ozoda - Lada ( Official Music Video 2024 )
06:07
Ozoda
Рет қаралды 31 МЛН
How I Turned a Lolipop Into A New One 🤯🍭
00:19
Wian
Рет қаралды 11 МЛН
I Built a Robot that Plays FPS Games
21:23
Basically Homeless
Рет қаралды 540 М.
The Midnight Release of the Playstation 2 in 2000 | Gamestop PS2
3:14
The Racing Controller No Company Ever Made-So I Built It
11:16
3D Printer Art
Рет қаралды 828 М.
PS2 Controlled Botboarduino Robot
9:42
Kepler Electronics
Рет қаралды 20 М.
RC Robot Car - RC Controls and Arduino
47:53
DroneBot Workshop
Рет қаралды 217 М.
PS2 Controller repair
38:04
Restart Repairs
Рет қаралды 92 М.
Transform Your Hot Wheels into a micro FPV RC Car!
24:37
Max Imagination
Рет қаралды 675 М.
Cómo hacer un robot controlado por un jostick de ps2
24:15
vt en linea
Рет қаралды 228 М.