Control Motors, Servos and LEDs with a Game Controller & ESP32

Поделиться
HTML-код
  • Опубликовано: 8 фев 2025
  • НаукаНаука

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

  • @member3DoesStuff
    @member3DoesStuff День назад

    Your video is exactly what I was looking for. Thank you for breaking everything down into simple, easy-to-understand steps.

  • @tjdoozer9387
    @tjdoozer9387 2 месяца назад +6

    I'm not a novice, but I often learn nothing from vids twice as long. Thanks for doing a great job of explaining things in a way that is actually understandable. Rachel, you rock! 👍

  • @ewasteredux
    @ewasteredux 4 месяца назад +3

    Thanks for this. Trying to expose my children to your content to see if they develop an interest. The integration of the game controller certainly helped. Anything that makes it seem like a live video game gets their attention.

  • @phtskllz
    @phtskllz 2 месяца назад +1

    These explanations are so so sooooo valuable! Thank you Rachel, i'm learning a ton!

  • @richardgarcia3016
    @richardgarcia3016 4 месяца назад +1

    This is so awesome! There are so many possibilities that I don't know where to start. Please keep these videos coming!!!

  • @robertmccully2792
    @robertmccully2792 4 месяца назад +1

    You have a gift for simple explanations,, with a good attitude.

  • @sergeantsapient
    @sergeantsapient 2 месяца назад

    You did such a great job explaining this that I feel like even a child could keep up.

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

    That is so amazing how many functions those controllers have AND you can utilize ALL of them in code AND those controllers are relatively inexpensive. I am going to bring my iRobot CoWorker Robot back to life! You are so good at this, Rachel! Thank You!! 🙂

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

      I'd love to see that project! 👍 The Bluepad32 library also lets you use balance boards, steering wheel controllers and more so there are values I didn't even go over in this video.

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

    CALL ME A DUMB BUT THE AMOUNT OF CLARITY SHE GIVES THROUGH HER VIDEOS IS IMPRESSIVE AND VERY FEW RUclipsRS ACTUALLY GIVES YOU THIS MUCH OF CLARITY....IN TERMS OF HARDWARE AND SOFTWARE.

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

    @12:24 "Deactivate". That is what you were searching for. You are still brilliant. 😊

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

    Love your videos, clear, concise and detailed. Well done

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

    This is a great series.
    I've done a project liek this with different libraries (prior to bluepad32 being as mature as it is now). The handy thing about ESP32 is you can also pop up a webserver on demand if you want to configure settings.
    For example: not all game controllers are created equal (as you were discovering around 11:00), so sometimes you want to configure the center, deadband, and max travel. And if you've got old man thumbs like me, you'll want a configurable expo. Basically options you'd find on RC transmitters/flight controllers.
    So push a button (or use a magnet since the ESP32 has a built-in hall sensor...), turn on the WiFi and web server, configure settings, save to the flash filesystem and go mow the lawn.
    The most difficult things, believe it or not, were all the safety considerations. Like detecting things like a dropped or disconnected controller and putting the system into the safest condition possible.

  • @joehicks2918
    @joehicks2918 4 месяца назад +2

    Omg I think I love you!:)

  • @Balaur-Zmeu
    @Balaur-Zmeu 4 месяца назад

    I like that you chose esp32 for this project.

    • @RachelDeBarrosLive
      @RachelDeBarrosLive  4 месяца назад +2

      I've been using the ESP32 more and more for my projects. This is the 30-pin version. I'm getting the 36-pin next!

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

      @@RachelDeBarrosLive Hey Rachel, thanks for the video.
      The 36-pin ESP32 doesn't have much more of an advantage. Because some of the pins can't be used.

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

    You would fit in perfectly in the r/c community.

  • @LampFall-cs1mo
    @LampFall-cs1mo Месяц назад

    You’re really doing great job. May God bless you sister 👩

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

    Very cool content, Rachel. Many applications for this!

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

      I'm thinking of motorizing some of my Halloween props and using something similar to this to interact with visitors.

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

      @@RachelDeBarrosLive please share what you come up with!

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

    Thanks for another great video. Added to to the Bluepad32 documentation.

  • @emmamarx9284
    @emmamarx9284 4 месяца назад +1

    ahhhh! this is exactly what i was looking for! my cats favorite motorized mouse finally died so i'm salvaging its corpse and giving it a major upgrade lol RC mouse with some n20 geared motors and bigger wheels so it doesn't get stuck on the rug and an esp cam for FPV so we both can have fun! 😊 Also gotta figure out a compact way to add a squeak because that lil psychopath loved the panicked squeaks the original made when it was bopped and picked up lol

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

    Sweet 😍love this Video!

    • @RachelDeBarrosLive
      @RachelDeBarrosLive  4 месяца назад +1

      So glad! I hope it helps with your next cool project!

  • @visualmunchables
    @visualmunchables 3 месяца назад

    Hi Rachel, thanks for the best arduino tutorials on the internet ❤ I was wonding if you would be able to do a short video on wiring a 1080p 60fps cam to an arduino with a few buttons & code to use the cam as a dash cam?

  • @richardmineo8502
    @richardmineo8502 3 месяца назад

    Rachel,
    Thank you so much for your videos. I have learned more viewing your videos than I did in five day C++ class. Great job. I am having a problem pairing my PS4 controllers. I ordered one from Amazon and it paired after playing with all the buttons and I got to see all the data valves. Made notes of the values, I unplugged it from my PC and it never paired again. I figured it was because it was not a Sony PS4 like you show so I purchased a Sony PS4. Now I have two controllers that will not pair. Any help you can provide would be deeply appreciated.

  • @ryteulopki8069
    @ryteulopki8069 29 дней назад

    👍THANK YOU 👍

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

    You're like totally intelligent!

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

    Oh no, don't tell me you had your gorgeous hair cut. You are such a doll with a maker mind. What a catch you would be.

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

      It's in a pony tail in the thumbnail pic 🤣

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

      @@RachelDeBarrosLive Wooowser, thank goodness. I really like your videos. While trying to learn Arduino, you have been a tremendous help. Thank you for the effort you put into your work and sharing it with us. Great work Kid.

  • @wbillich
    @wbillich 2 месяца назад

    Luv Canadian education!!!!!!!

  • @kmkm2108
    @kmkm2108 3 месяца назад +1

    You are beautiful and smart Rachel best programmer

  • @TheEzra0909
    @TheEzra0909 2 месяца назад

    You mentioned creating a dead zone for servers do you happen to have an example of that code trying to figure it out but very confused a video was very helpful and helped me get started with the blue pad

  • @zayedalhajeri2136
    @zayedalhajeri2136 4 месяца назад +1

    Rach., always be sure;,; You are so AWESOME & BEAUTIFUL💖👌🏻,,
    and one of the BEST, noooooo doubt..👍🏻✌🏻💓🎊🎉

    • @RachelDeBarrosLive
      @RachelDeBarrosLive  3 месяца назад

      You're the most awesome and the best! Hope your projects are coming along well!

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

    Graciias Jefa. Me gustan tus videos. Eres Mexicana de origin?

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

    Another awesome video, thank you! Is there is missing power cable to the esp32 in the web site diagram? My first flash and test, which my girls loved, seems a little laggy, might need to add a state machine, so that hardware updates only happen on event changes, not in every loop. More testing for me.🤖

  • @DBB-KE5DUO
    @DBB-KE5DUO 4 месяца назад +1

    I still have to test my PS3 controller... when I get a couple more projects off my bench!!😮
    See ya at the next live stream! 🤗

    • @RachelDeBarrosLive
      @RachelDeBarrosLive  4 месяца назад +1

      Definitely let me know if your PS3 controller works with Bluepad32! 👍

  • @benluke1897
    @benluke1897 13 дней назад

    HI Rachel thanks for a great video, I have almost completed my little project but wanted to know why if two buttons are pushed at the same time they would cancel both outputs for different LED's. For example on the L2 Brake i want this to active an LED and also move the vehicle in reverse. Is this possible? Or activate a left turn indicator and move forward at the same time. Help would be greatly appreciated.

  • @keegancadiz1477
    @keegancadiz1477 2 месяца назад +1

    How can I do this with rf for long range communication?

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

    Your videos are amazing! I am pretty new to working with the ESP32 board, but I have learnt a lot from your content. My question is, if you have built your own gamepad using an ESP32 is it possible to use this instead of a Playstation controller using BLUEPAD32 ? I am unsure of how you would initiate a sync command with a controller built using an ESP32. Any help would be much appreciated. Thank You.

  • @Rama-er7ct
    @Rama-er7ct 3 месяца назад

    I'm still learning how to make a battle bot using the bts7960 motor driver with a ps4 controller, can you make a tutorial?

  • @bradhayworth2926
    @bradhayworth2926 4 месяца назад +1

    What happens in the code if you have x and y inputs for the motors at the same time? I think addressing that would be the next logical step in writing the code.

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

      You can definitely set up ranges in both the X and Y where you want specific things to happen, like when you thumb the joystick diagonally. That will be version 2 of this video 🥳

  • @owie6726
    @owie6726 3 месяца назад

    Hello! I was wondering if it's possible to use controllers that have Bluetooth connectivity like a Guilikit King Kong Pro 2 Controller as well as potential shortcomings when creating a surface water drone with the same design principle.

  • @Graemecns
    @Graemecns 3 месяца назад +1

    I have a problem I have hooked all up and using a esp23cam with a pca9685. ps4 controller. On a robot arm. Just setting it up using one channel left joystick to rotate base.x axis left rotates one direction but y axis up is required to rotate in the other direction x right does not work. Is there a problem in bluepad32?

  • @LampFall-cs1mo
    @LampFall-cs1mo Месяц назад

    Master Rachel thanks to much. Im new here , when will you code a drone and flight controller??😊

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

      That's a great idea! I'll have to put it on the list!

    • @LampFall-cs1mo
      @LampFall-cs1mo Месяц назад

      @ thanks 🙏🏼, please try to get a sponsorship about electronic because your content is rich and you have many followers , and you can earn money, in turn, we can buy electronic chips that you are using from your sponsorship.

  • @brendenbradshaw1422
    @brendenbradshaw1422 2 месяца назад

    Is there a way to enter a bluetooth pairing pin using serial console on Arduino ide? My wife's wheel chair has bluetooth mouse and joystick functionality but is asking to enter a pin it generates.

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

    Hi, Rachel!! 🥰😘🤓😏📻💻♥⚡👍

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

    This seems like it would be easy to use for a deep ocean submersible.

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

      🤣🤣🤣

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

    I ran in to a snag,I bought a controller on AliExpress but that didn't work,I can blink the led on board though,I think it's because it's a S3 model.then I bought one from Amazon ,like you said and that's another model,isn't it? But here my com port doesn't lite up,I think the micro USB cables I have are charging cables and not data cables so I bought a few data cables now and I am expecting them soon.very interesting video's ,Rachel,always looking out for them,greetings from Belgium.

  • @arthurgamerpro6559
    @arthurgamerpro6559 3 месяца назад

    Thanks for the great video and edit! I was looking at your project and re-made it with a Xbox Controller instead. But in my case I have 2 pairs of the same motors connected in parallel for each side totaling 4 motors. I used 18650 3.7V cells connected in series, to obtain a 7.4V (enough to power everything). However, I burned the esp32 board with the same pin out ( without servos) through the L298V. What could of happen? I know reverse polarity can occur but I made sure no positive and negative connections touched... If you have video recommendations please leave them here.
    Again thanks for your help, this video was awesome! 😁

  • @wappo-m4y
    @wappo-m4y 2 месяца назад

    how much is the latency on this?

  • @m.m55433
    @m.m55433 4 месяца назад

    Robotic arm with deep learning for object manipulation and sorting help please

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

    El Guapo's Plethora of Piñatas!! ¿Que'?!! 🤔😃😆🤣😂 I'd rather have Enchiladas. 🥵
    The guy in the picture looks like Chuck Norris with a bad hair day, from my perspective. 😆😂

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

      🥳 Three Amigos is still one of my favorite movies!

  • @ShichaoChenhongyu
    @ShichaoChenhongyu 2 месяца назад

    I like your video for smart project. However the code link looks broken.

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

    Hey! sorry off topic about another of your videos! on the wiper motors what awg wire would you recommend using? You only seem to use the jumper cables on the video and reference using thicker cable but don't mention a recommended one?

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

    Love the video. I have a question that may be off topic. How would I go about programming different features or options on a small LCD touchscreen display and what software and tools do I need to program it to my needs. Greatly Appreciated

  • @tomasmarques3331
    @tomasmarques3331 3 месяца назад

    I need to power supply de ESP via Vin port, but the dualshock doesn't sync when it's not connected to a PC. Does anyone have any idea why?

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

    So what you are doing with the joystick values (value information) is a "calibration" of sorts, right? Because you can't calibrate the (inexpensive) controller itself, you "teach" the code to compensate. Do I have this right? (Bear with me, I'm learning). 😇

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

      Yep - that's right! You can't really change the values coming from the joystick so you have to figure out a way to carve out specific ranges and what you want to happen in those ranges.

  • @Raven_of_Doom
    @Raven_of_Doom 4 дня назад

    i was never able to get my esp32 module recognized on a port. I tried everything. Then I was beginning to wonder if my computer/laptop needs to have Bluetooth itself?! I don't think so but would be nice if someone chimed in, thanks

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

    Hello.
    Everything works but i faced this problem. My gamepad randomly just disconnects from the ESP32 and I can't seem to beat this problem. When connected to a PC, the gamepad works correctly and does not turn off. I would be grateful for ideas. Thank you!

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

      That could be a power issue, when connected to the computer USB port it receives a steady 5V feed, but the batteries might be struggling to keep up with the demand.

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

      ​@@sdr_print3d887 do you mean when controller connected to PC? If yes, i connect to PC wia bluetooth too

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

    Is it same for Xbox

  • @EngineeringNic
    @EngineeringNic 3 месяца назад

    Can I use esp32 wroom 32?

    • @RachelDeBarrosLive
      @RachelDeBarrosLive  3 месяца назад

      Yep! That's exactly what I'm using in the video. Mine is a 30-pin ESP32-WROOM32.

  • @mt_gaming9775
    @mt_gaming9775 4 месяца назад +1

    Can i control with phone app dabble app

    • @RachelDeBarrosLive
      @RachelDeBarrosLive  3 месяца назад +1

      You can certainly control motors using a phone app but not with the Bluepad32 library.

    • @mt_gaming9775
      @mt_gaming9775 3 месяца назад +1

      @@RachelDeBarrosLive solution?

  • @Dubot-f1v
    @Dubot-f1v 4 месяца назад

    Imagine if you took this and made the Salem's lot kid floating in the window Halloween prop .have a big window set up plastic wrap or whatever and the kid comes out of the fog scratching on the window saying hey open the window .

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

    -25 all the way UP to -508? Are you sure you understand how negative numbers work?

  • @SeanDuranMusic
    @SeanDuranMusic 4 месяца назад +1

    You're talking really creepy.