Arduino Robot with PS2 controller (PlayStation 2 joystick)

Поделиться
HTML-код
  • Опубликовано: 25 окт 2024

Комментарии • 71

  • @5minutehacks989
    @5minutehacks989 3 года назад +1

    Amazing video! Only easy, cheap, and stylish solution I found to controllers with Arduino.

  • @tbrandx2
    @tbrandx2 Год назад

    Excellent tutorial for PS2!! Can't thank you enough!

  • @fouzanjaved5441
    @fouzanjaved5441 2 года назад +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?

  • @RandomPerson494-12c
    @RandomPerson494-12c 3 года назад +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 года назад +2

      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 года назад +1

      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 года назад +2

      @@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/

  • @shajudeen4554
    @shajudeen4554 Год назад +1

    Hai, Nice Video , you explained it well coding in this video,. I tried three of them 👍💯
    Thank you 🥰

  • @fouzanjaved5441
    @fouzanjaved5441 3 года назад +2

    Sir, Thank you for your help.

  • @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

  • @shahabsotouni8279
    @shahabsotouni8279 4 года назад +1

    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.

  • @ramanasai330
    @ramanasai330 3 года назад +1

    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: ruclips.net/video/UO3yQR8_0BY/видео.html

  • @BharatMohanty
    @BharatMohanty 5 лет назад +1

    Hi Igor in which section of circuit you published this project on instructables

    • @IgorFonsecaAlbuquerque
      @IgorFonsecaAlbuquerque  5 лет назад +1

      Hi, Bharat Mohanty ! It was published on Instructables > Circuits > Robots 🤖

    • @BharatMohanty
      @BharatMohanty 5 лет назад +1

      @@IgorFonsecaAlbuquerque thank you

  • @mohammedasifm3760
    @mohammedasifm3760 2 года назад

    I am not able to add the library from the link. It shows Error. Could you please help?

  • @16sushantgangurde77
    @16sushantgangurde77 4 года назад +1

    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.

  • @fouzanjaved5441
    @fouzanjaved5441 2 года назад +1

    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?

  • @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.

  • @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.

  • @AmbieWolfie
    @AmbieWolfie 5 лет назад +1

    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 года назад +1

      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 года назад +1

      You can add a shift register to add more pins

    • @AmbieWolfie
      @AmbieWolfie 4 года назад +1

      @@IgorFonsecaAlbuquerque Okay, thanks!

    • @AmbieWolfie
      @AmbieWolfie 4 года назад +1

      @@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!

  • @joseheliojunior242
    @joseheliojunior242 5 лет назад +2

    Como faço se caso eu só tenho controle de ps2 com fio? Dá pra embarcar um esp32 dentro?

    • @IgorFonsecaAlbuquerque
      @IgorFonsecaAlbuquerque  5 лет назад +1

      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ô.

  • @justinlee5298
    @justinlee5298 3 года назад +1

    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 года назад +1

      Thanks, Justin! I'm glad you found this helpful!
      Sure! How can I help you?

  • @pecora31
    @pecora31 3 года назад +2

    How far can this reaches?
    thanks.

    • @IgorFonsecaAlbuquerque
      @IgorFonsecaAlbuquerque  3 года назад +1

      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 года назад +1

      @@IgorFonsecaAlbuquerque Thank 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...

  • @pushkarjaiswal6724
    @pushkarjaiswal6724 3 года назад

    Which Arduino have used
    And which all Arduino can be used to link with PS2
    Please help sir

  • @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

  • @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.

  • @enfermero23
    @enfermero23 6 месяцев назад

    Can it go faster?

  • @avigyanmallickstd-iiib4226
    @avigyanmallickstd-iiib4226 Год назад

    Make a small head and that moves and connect your robot body

  • @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.

  • @danielsorin3448
    @danielsorin3448 3 года назад

    THE CODE FOR 2 STICK DOSE NOT WORK. WHY ?

  • @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.

  • @sanjayvasava2262
    @sanjayvasava2262 4 года назад +2

    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! 😜

  • @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 лет назад +1

    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!!!!

  • @tuanminhle8460
    @tuanminhle8460 2 года назад

    i want to use ps4 controller

  • @Techknowledge23
    @Techknowledge23 4 года назад

    5:05

  • @synapsido
    @synapsido 2 года назад

    ps2 controller...??? 🤣😆😂