Это видео недоступно.
Сожалеем об этом.

Use a PlayStation Controller to Control... ANYTHING!

Поделиться
HTML-код
  • Опубликовано: 17 авг 2024
  • Because a PS5 isn't the coolest thing a controller can be used for
    ___
    GitHub for PS4 Arduino Library: github.com/aed...
    Some projects you can apply this to:
    "Control your DSLR Camera with an Arduino": www.circuitbas...
    "Drone Flight Controller":
    github.com/lob...
    "Arduino IRremote" (for sending signals to your TV: github.com/Ard...
    Arduino board I'm using: www.amazon.com...
    ___
    Timesteps:
    0:00 Intro
    0:59 How video game consoles connect to other devices
    3:01 How devices understand the signal coming from a controller
    3:54 Making sense of the PS4's signal with bits
    5:01 Example use cases
    6:32 Applying this to other consoles' controllers
    7:48 I'm terrible at promoting myself...
    8:07 A hint to what's next
    ___
    I started this channel for three reasons:
    1. Increase representation in the engineering community
    2. Improve at talking into a camera
    3. Include tasks I'm fine with putting less effort towards in my day
    Some of the goals are more far-fetched than others, but I'll see what I can do.

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

  • @julan6839
    @julan6839 Год назад +10

    time to control a submarine with it and dive to the titanic with it

  • @fhujray
    @fhujray 3 года назад +32

    It's great seeing young people get into microcontrollers. I will try using your library to control an RC car with the DS4. Keep up the good work!

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

      @Swim Fan What?

    • @mikey38632
      @mikey38632 9 месяцев назад

      I'm wondering if you tried this, and how it went. Any comments?

  • @masterpig5s
    @masterpig5s 3 года назад +4

    Okay. Doing electronic engineering, that battle bots thing looked dope

  • @FatedCaliber
    @FatedCaliber 2 года назад +2

    This is one of the coolest channels I've come across! Really highlights how practical and feasible programming can be. Thanks!

  • @OrinSorinson
    @OrinSorinson 3 года назад +8

    Thanks for the library. The amount of times I've used the bluetooth on the ESP is somehow less than 0 but I might have some uses for it with a controller.

  • @tinyfluffs
    @tinyfluffs 2 года назад +2

    The Nintendo Switch controllers use the Bluetooth HID protocol, and to get the pairing mode to work correctly, it requires you send an HID feature request packet to the controllers. The Switch Pro controller, you might have better luck with
    Awesome work btw! A friend just linked me to the channel. Really looking forward to seeing what else is to come :)

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

    Loving the content, Dyson. Hell of a channel. Keep it up!

  • @mikey38632
    @mikey38632 9 месяцев назад

    Awesome video! I'm just getting into microcontrollers, I'm thinking of starting with the ESP32, and after seeing the PS3 controller project I was excited. But then I saw the PS4 controller ((I'm not much of a gamer, and when I was playing, it was XBOX)) and I am pumped to get one and see if I can make it work! Thank you for your work on this project, and also keeping the code in to detect data patterns from all remotes! Admittedly, the remote I use won't be an official one, but I'm okay with that. It's going to be used for a menu system, mainly, if I get to build the project I want to build.

  • @kcnl2522
    @kcnl2522 4 месяца назад

    I am really interested to see you do more arduink projects!!!

  • @ikarib
    @ikarib 3 года назад +4

    Thanks!! Worked perfectly with M5StickC except the x,y’s coordinates are noisy when nothing is pressed. Sensor information (accelerometers and/or gyro) is not detected. Mouse pad events and clicks are not detected.

    • @TheThirdBuild
      @TheThirdBuild  3 года назад +5

      That noisiness seems to be on the controller side as joysticks rarely rest at their perfect (0,0) position. I normally just have the code not react to the joystick unless it's >5 or

  • @lukasw.7614
    @lukasw.7614 Месяц назад

    legend

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

    I think I read somewhere that the switch controllers make sure they are connecting to a switch before fully handshaking.

  • @kevbomtb6078
    @kevbomtb6078 Год назад +2

    I really appreciate the work you put into this! I've recently built a rover with a water cannon that uses your library and esp32 / PS4 controller. It works great. I'd love to add an audio pass through from plugging in a headset to the PS4 and passing the audio to / from the rover with the headset. Is this possible with your library? I'm pretty fresh to coding and have watched some videos on bluetooth audio with esp32 - but.... not with a PS4. Any ideas?

  • @MadBunnyLabs
    @MadBunnyLabs Год назад +2

    How hard would it be to make it so R2 and L2 provide a distance sensitive (pressure sensitive) value. At the moment they return a 0 or a 1 This is an absolutely fantastic library by the way, thank you for creating it!

  • @maximilianomorin5951
    @maximilianomorin5951 Месяц назад

    Hi Guys. There is a section saying "By query each button individually: a(), b(), x(), y(), l1(), etc..."
    Would someone have the rest of the buttons individual assignments?

  • @user-en8be5py8g
    @user-en8be5py8g 8 месяцев назад

    This is definitely interesting - curious though if it could work the other way - use an esp32 to send button commands to the PS4, essentially working like a DS4?

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

    first of all, thanks for your great video,but i still got a problem,i already change mac adress to make it the same,using 2 method, getting adress from saved address from controller then pasted on esp32,and getting esp32 address then write to the controller,but it doesnt work for me,i already comment some line on ps4spp files like in the video,but doesnt work,when im pressing home button led just blinking then turned off,then im trying to connect my controller to pc for testing playing some games its just fine,then im trying connecting esp32 bluetooth with my android using SerialBluetooth example and its perfectly fine, i mean both device function just normal,but still didnt work when trying to pairing my controller to the esp, need help here
    im using used ps4 controller,probably clone, idk, but it working fine in console, and generic esp32 devkit 1

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

    May I ask how to write the codes for beginners I mean control servos or some tutorial thanks

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

      I highly recommend Paul McWhorter's arduino tutorial series--I've used it extensively for help on my first arduino project, and his explanations are perfect for a beginner: ruclips.net/p/PLGs0VKk2DiYw-L-RibttcvK-WBZm8WLEP

  • @TheRealUtkarsh
    @TheRealUtkarsh 10 дней назад

    I have a question, will a fake one work?

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

    Great job, thank you!

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

    finally i dont feel like raj is telling me to click his grabify

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

    Wow this was a realy cool and gread vind. I loved it.

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

    Thanks man you are the bomb.

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

    So... Is there footage of those robot battles somewhere?

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

    6:09 I’m not buying anymore controllers for my switch just for them to break. Playstation controller in switch it is

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

      🤣🤣🤣 facts their $10 cheaper and last way longer

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

    Al principio se conectó, después dejó de reconocer mi ESP32 y ya más no se pudo conectar...

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

    Awesome!

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

    Can you combine mouse and controller to operate a console?.

  • @ArtisChronicles
    @ArtisChronicles 2 года назад +2

    I feel as if there's definitely valid reasons to use PS4 controllers on the Switch.

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

      I was just thinking how I would use it for fighting games exclusively

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

    Any chance on fixing issue #19 for aftermarket controllers?

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

    Can I get the gyro data of a PS5 dualsense controller to send to ESP32?

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

    Is the library Arduino compatible, or it only works with a esp32? Besides, do you think I can have any luck trying to connect any third party wireless controller?

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

      This library is about Bluetooth. Does standard Atmega-based Arduino have Bluetooth? No, so you can't use it

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

    Well nice job..... But when i connect to esp32 it stay 2 second and than disconect... I am using original ps4 Sony controller...

    • @TheThirdBuild
      @TheThirdBuild  3 года назад +3

      This is an error I came across several times as well and something I'm actively trying to fix. My current solution, which isn't ideal, is to keep trying to pair until it does. Eventually I always get it to work when doing this, but I wish there was a more reliable solution.

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

      Hi... maybe I fix it... not all esp32 boards are the same ... they have different signal measurements.....for example esp32 DEVKIT V1 will not work correctly... TTGO is a best option.. I will try another esps when I get them

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

      Hi I was wondering if anyone cam up with a solution for this. I cannot get my controller to connect. I noticed if ESP32 is off it will blink for a long time. However, when the esp32 is on it will only blink for a couple seconds then go off. Then after that the Bluetooth will blink less and less until the controller does not respond anymore. Battery is fully charged and will connect happily to my windows PC.

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

    Sir, love the video on how to use the PlayStation controller to control any robot. Sir, can you make a video on youtube to make an Xbox-controlled 6-dof robotic arm car using the Xbox 360 controller and give me the circuit diagram and the code for the Xbox-controlled 6-dof robotic arm car with the Xbox 360 controller?

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

    New sub. You’re humble as fuck dude great work

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

    God dammit now I want to make something with it.

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

    why were you working ar 2:00 am you need to get some sleep and thats coming from a guy who never sleeps!

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

    hola, me encanto tu video y lo quice probar con un esp32 pero a subir me aparecio un error y como soy nuevo te quice preguntar si puedes encontrar el error: /home/estudiante/Arduino/libraries/PS4-esp32-master/src/ps4_parser.c: In function 'parsePacketSensor':
    /home/estudiante/Arduino/libraries/PS4-esp32-master/src/ps4_parser.c:278:10: error: 'ps4Sensor' is used uninitialized in this function [-Werror=uninitialized]
    return ps4Sensor;

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

    Shouldnt the thumbnail say "Use this to control all of these" ?

  • @user-ig7nz9io6m
    @user-ig7nz9io6m 2 года назад

    you just cannot control xbox with esp32

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

    SHOW......😁🇧🇷👏👍🇧🇷👏👍