Use Your PS4 Game Controller with an ESP32 via Bluetooth: The Complete Guide

Поділитися
Вставка
  • Опубліковано 12 жов 2024

КОМЕНТАРІ • 79

  • @ricardoquesada
    @ricardoquesada Місяць тому +22

    (Bluepad32 author here)
    What a nice surprise. Thanks for doing this video. I'll add link to it in the BP32 documentation.

    • @RachelDeBarrosLive
      @RachelDeBarrosLive  Місяць тому +11

      Thanks for creating such a great library! I've enjoyed using this library and have another video where I control LEDs, servos and motors with the game controller coming out next week.

    • @pierredelport7187
      @pierredelport7187 Місяць тому

      Hi. Excellent video. Do you maybe know if the library can also report on the battery status of the controller and if it is charging. I cannot find it anywhere on the website documentation. Some of the other PS3 and PS4 libraries do have those functions as part of the library. I like this one as the code for pairing is already there and will save me a lot of time.

    • @daniellehwing4667
      @daniellehwing4667 7 днів тому

      Hi Ricardo!
      Thank you for the Bluepad32!
      I have a ESP32-S3-WROOM-1 board (the normal S3, I think)... does the Bluepad32 works with it?
      All I get in the serial monitor is:
      "02:56:30.561 -> Bluepad32 (C) 2016-2024 Ricardo Quesada and contributors."
      What am I doing wrong?
      Please help me, hehe...

  • @ZenHulk
    @ZenHulk Місяць тому +3

    Thank you, i needd this today. Cornea transplant 5 months in and painful and not real clear still have stitches, so i can listen to you and get back to this.

  • @paulvernon624
    @paulvernon624 Місяць тому +2

    Well done Rachel. Your content , presentation and teaching skills are awesome!!! Your step by step approach is easy to follow even for an old guy like me. Keep up the excellent teaching. Your channel is friggin awesome a real great place to start. Thanks

    • @RachelDeBarrosLive
      @RachelDeBarrosLive  Місяць тому

      Glad to help! Hopefully I can help jump start everyone into their next project!

  • @tealknight6665
    @tealknight6665 Місяць тому

    Thank you so much for this i had just learned about Bluepad and figured it would be good for my first project, but i was having trouble with the syntax. You posting this now is like fate. Thank you

  • @ebrahimajam9299
    @ebrahimajam9299 Місяць тому

    Must love all the way from Cape Town , wish I had you while I was still at college
    Never looked so forward to receiving new content from you❤

  • @SerendipityOwens
    @SerendipityOwens 18 днів тому

    Thank you!
    I have a little robot project and I was wondering how to connect my 8bitDo pro2 game controller and you helped me a lot with you video !

  • @elektron2kim666
    @elektron2kim666 Місяць тому +1

    That was awesome. I'm a fan of ESP32/M5Stack at the moment.

    • @RachelDeBarrosLive
      @RachelDeBarrosLive  Місяць тому

      Me too! I've been incorporating the ESP32 in most of my new projects!

  • @kraftaculousgreekgodofcraf1113
    @kraftaculousgreekgodofcraf1113 Місяць тому

    This was very well explained. Thank you! Also cool shirt!

  • @RiddledReality
    @RiddledReality 13 днів тому

    you do amazing work! you've helped me past certain things that were keeping my project on the self. while messing around with your code provided on your well put together website i noticed if you hit circle and x at the same time it puts out more numbers in the serial monitor. i think it could be a useful addition to the information provided in your video. i don't recall seeing anything about that. it can be useful if you need more button inputs for whatever project one has going. i dont know how requesting videos work on your channel but i would like a tutorial on how to control a brushless motor with an esc, esp32 and a "bluetooth gamepad".

  • @lgallant2486
    @lgallant2486 Місяць тому

    Just imagine the array of Halloween displays needing this!❤

  • @palmira8940
    @palmira8940 Місяць тому +4

    gosto muito dos seus projetos e estou aprendendo muito com vc. vc explica muito bem e é muito divertida.

  • @gustavoapasquel9715
    @gustavoapasquel9715 Місяць тому +1

    this is awesome uploaded the blue pad and paired my ps3 controller wow wow that was painless Ricardo Quesada thanks you are awesome Rachel this goes for you too your channel is great thanks for your content.

    • @RachelDeBarrosLive
      @RachelDeBarrosLive  Місяць тому

      It's a great library for pairing controllers. Hope this helps jump start your project!

  • @iliyannaydenov4186
    @iliyannaydenov4186 Місяць тому

    Hello Rachel. Hope to see some IDF tutorials from you.

  • @meiowalot7570
    @meiowalot7570 Місяць тому +1

    Oooh project! This sounds awesome.

  • @DarbyJGeorge
    @DarbyJGeorge Місяць тому

    So awesome! I've been trying to figure out how to control one of my projects. Thanks!!

    • @RachelDeBarrosLive
      @RachelDeBarrosLive  Місяць тому

      Glad you found it useful! Hopefully this jump starts you in the right direction 🥳

  • @peliloma-kanava
    @peliloma-kanava Місяць тому

    take two of those controllers and use their gyros to make hand move tracker robot arms. that would be awesome🤗thanks for the great content 🤩

  • @clifc6351
    @clifc6351 Місяць тому

    Sahweeet! Thank You for showing us this project.

  • @michaelgarcia5493
    @michaelgarcia5493 Місяць тому +1

    Cool video girl I made my ps4 controller work on my n64 so ya thank u

  • @Mr76Pontiac
    @Mr76Pontiac Місяць тому +2

    Your code is broken unless the assumption is that you just want to monitor for one single button at a time and do nothing if multiple buttons are pressed. The buttons are bit-masked, so, X and square are going to give 0x0001 and 0x0004, but, when you press X and Y together you're going to get 0x0005 and you're not testing for that, so you're going to get no operation in your test.
    You need to do something like "buttons() and 0x0001 == 0x0001" to do the proper masking.

    • @RachelDeBarrosLive
      @RachelDeBarrosLive  Місяць тому

      I reserved multiple button presses for a future video! This one was geared for the absolute beginner to cover the basics 👍

    • @Mr76Pontiac
      @Mr76Pontiac Місяць тому

      @@RachelDeBarrosLive So the assumption in this video IS that you're just looking at one button at a time then. ;)

  • @DBB-KE5DUO
    @DBB-KE5DUO Місяць тому

    ...and the unigoyal doesn't even have any dragons! 😊😂
    although it does remind me of old fashioned stuff -- like fried chicken leg TV dinners! 🍗🍗🍗

    • @RachelDeBarrosLive
      @RachelDeBarrosLive  Місяць тому +1

      So true! You know we're revisiting those after the unigoyle!

  • @GoatZilla
    @GoatZilla Місяць тому

    I've always wanted to use that touchpad on there too.

    • @RachelDeBarrosLive
      @RachelDeBarrosLive  Місяць тому +1

      Great idea! I'll have to incorporate it into my starter template!

  • @JimSolderitsch
    @JimSolderitsch Місяць тому

    Thanks for the video. I have been using bluepad32 for over a year. I can control a DJI/Ryze Tello drone with a variety of gamepads including PS4, Xbox and an Android knockoff. The better controllers have better joystick behavior and accuracy. Just recently started experimenting with controlling a CrazyFlie drone.

    • @RachelDeBarrosLive
      @RachelDeBarrosLive  Місяць тому +1

      That sounds like a great project! 🥳

    • @wewe365
      @wewe365 Місяць тому

      So what brand and model are the better controllers ?

    • @JimSolderitsch
      @JimSolderitsch Місяць тому

      @@wewe365 I have used official PS4 and Xbox controllers that are on the more expensive side but the Joystick jitter is less than with cheaper brands. The Android game system controllers tend to work for buttons but joystick readings are less reliable for precise control. The Steel Series Nimbus is also quite good.

    • @wewe365
      @wewe365 Місяць тому

      @@JimSolderitsch thanks. A lot.

  • @aakburns
    @aakburns Місяць тому

    Will you be getting into how to get the controller to pair automatically every time?

  • @daniellehwing4667
    @daniellehwing4667 9 днів тому

    I have a 8BitDo SN30 pro purple controller and a ESP32-S3.
    Does it work together or is it just the PS4 controller?
    Love ya!

  • @jackrichards1863
    @jackrichards1863 Місяць тому

    My word you're a lovely person Rachel. I hope you have a superb family life and a heap of prosperity in your life! This may be basic to a lot of our population but it's world changing to some of us.

    • @RachelDeBarrosLive
      @RachelDeBarrosLive  Місяць тому +1

      Glad you enjoyed it! It definitely wasn't basic to me when I started so when I figure something out I try to put a video together about it 👍

  • @war4tek
    @war4tek 25 днів тому

    Awesome!

  • @louiepauda6275
    @louiepauda6275 Місяць тому

    You're working? Rather! Unique, jiro!

  • @hafzamhasan8532
    @hafzamhasan8532 20 днів тому

    can you help on how to make a 4dof arm that can be controlled using ps4 joysticks...

  • @hecticaperture
    @hecticaperture Місяць тому

    i abandoned BT ps4 controllers with esp32s about a year ago cause no matter what library i would use i would get the problem where the controller would just disconnect from the esp32 after a bit of time. is this suffering from the same problems as well?

  • @arliewinters2776
    @arliewinters2776 Місяць тому +1

    There's an OceanGate joke in here somewhere....

  • @DarksoldierX2
    @DarksoldierX2 Місяць тому

    I have an generic wired XBOX controller with no Bluetooth. I also don't have an ESP32 but an Arduino Uno, Nano, and Mega. Is this process similar? Just with USB pinouts?

  • @banglarif
    @banglarif Місяць тому

    Than you for this attractive video. 🌹🌹🌹

  • @bryanhenderson9637
    @bryanhenderson9637 Місяць тому

    I want to add that everyone should be careful using bluetooth because the range isn't the greatest and if you are in any sort of con setting, the distance between the controller and your robot/prop can dwindle down to only a few feet or could drop out completely.

  • @gustavoapasquel9715
    @gustavoapasquel9715 Місяць тому

    Would this work on ps3 controllers also? I have tried for a long time without success using the six axis pair tool very frustrating. Going to try this out want to build a remote controlled tracked lawn mower for mowing ditches and embankments fun project too

    • @RachelDeBarrosLive
      @RachelDeBarrosLive  Місяць тому

      It should be compatible. Here's a list of compatible controllers from Bluepad32's site: bluepad32.readthedocs.io/en/latest/supported_gamepads/

  • @jackipiegg
    @jackipiegg Місяць тому

    What about the opposite? Can we have esp32 to control our PS4?

  • @monsvillerailways5736
    @monsvillerailways5736 Місяць тому

    Is it possible to add Bluetooth to an old USB Logitech RumblePad to do something similar?

    • @RachelDeBarrosLive
      @RachelDeBarrosLive  Місяць тому

      Perhaps! The Bluepad32 documentation has a list of compatible controllers here: bluepad32.readthedocs.io/en/latest/supported_gamepads/

  • @mateszeman1982
    @mateszeman1982 8 днів тому

    Hi
    I was able to connect my ps4 controller but on serial port monitor I got a lot of question mark and so on.
    Do you have any idea ?
    thanks

    • @RachelDeBarrosLive
      @RachelDeBarrosLive  3 години тому

      Be sure your baud rate in the serial monitor is set to 115200. Also reset the ESP32 by pressing the EN button, then pair your controller.

  • @jasonmushersee
    @jasonmushersee Місяць тому

    my $90 walmart stunt drone has a ps4 knock off controller its suppose to hover the drone stable after trim adjustments it does'nt even if batteries are left in every time i start it have to adjust trim again

    • @RachelDeBarrosLive
      @RachelDeBarrosLive  Місяць тому

      Some of the knock-off controllers can be finicky for sure 👍

  • @bektinurwanto
    @bektinurwanto Місяць тому

    how to show signal strength rssi from esp32 - controller ps4 ?

  • @شيماءالحربي-س3ت
    @شيماءالحربي-س3ت Місяць тому

    Can you please make jarvis system Ai and post a full tutorial? And can you make it answer about anything as if im asking google .

    • @RachelDeBarrosLive
      @RachelDeBarrosLive  Місяць тому

      It's funny you mention a Jarvis, system! I'm working on that now and will post a video after I get everything working.

    • @شيماءالحربي-س3ت
      @شيماءالحربي-س3ت Місяць тому

      ​@@RachelDeBarrosLive i cant wait to see it

  • @no-ei4jw
    @no-ei4jw 6 днів тому

    Compilation error: Bluepad32.h: No such file or directory you didn't give any library named Bluepad32

    • @RachelDeBarrosLive
      @RachelDeBarrosLive  3 години тому

      The links you need are in the description. Be sure to add both the ESP32 and Bluepad 32 board managers. Then, after that, add the board packages and you'll have access to the libraries.

  • @wildhostage
    @wildhostage 10 днів тому

    Doesn't work with ESP CAM :(

  • @wildhostage
    @wildhostage 15 днів тому

    How does it pair?

  • @kevinnelundeniya6489
    @kevinnelundeniya6489 16 годин тому

    I Cant Get Mine To Pair?😥

  • @Ducerobot
    @Ducerobot Місяць тому

    😁🤖👍

  • @sampamnl.8964
    @sampamnl.8964 Місяць тому

    ขอบคุณมากครับกับสาระดีๆเช่นเคยครับ❤❤❤