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.
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.
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...
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.
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
I really like the idea of this concept of using an ESP32 with a PS4 controller. Would this work with model trains? I would like to try this with a Bluetooth PS4 controller and use the ESP32 in an O Gauge model train on a 11.4v battery supply with a Zimo DCC sound chip. Never done this before so I am doing my research. My plans here is to have an onboard power pack and use the model train on an O Scale Garden Railway where I can use the left stick for the throttle and the right stick for the brakes. But other plans for functions is to use the four buttons to control the sound functions for the horn/whistle and various sound effects that would be on the DCC sound chip that is commonly used in model trains. I quite like the idea of walking around using my PS4 controller to drive the train and have access to most of the functions. Thanks for the video Rachel. All the best, Peter.
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
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".
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.
@@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.
Hi Rachel, Thanks for you very informative videos. However I'm stuck with these tutorial because I can't pair my ps3 controller to the serial monitor of the arduino ide. Which button will I press on the ps3 controller to pair it to arduino IDE. I pressed the middle lower button between select and start and all the 4 led lights flashing up on the front of the controller. Serial monitor displays "BD Addr: 7C:9E:BD:60:CA:7A. I press tried pressing all buttons nothing happens the 4 led lights still flashing. thanks Chito
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.
I'm trying to do it but my Arduino IDE is similar but bit different, I'm able to follow allow up to where I past your board links but at board manager I'm lost where everything is just to different. please help me
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.
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.
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?
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
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
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?
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.
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.
@RachelDeBarrosLive Hi Thank You Soo Much For Responding I'm Using A PS4 Controller But All Is Good I Just Had To Hold The Share Button And Then Press The PS Button To Begin Pairing. I Recently Discovered Your Channel Love Your Stuff I See My Younger Self In Me Light Up When I Watch Your Content🥹
(Bluepad32 author here)
What a nice surprise. Thanks for doing this video. I'll add link to it in the BP32 documentation.
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.
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.
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...
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.
gosto muito dos seus projetos e estou aprendendo muito com vc. vc explica muito bem e é muito divertida.
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
Glad to help! Hopefully I can help jump start everyone into their next project!
I really like the idea of this concept of using an ESP32 with a PS4 controller. Would this work with model trains? I would like to try this with a Bluetooth PS4 controller and use the ESP32 in an O Gauge model train on a 11.4v battery supply with a Zimo DCC sound chip. Never done this before so I am doing my research. My plans here is to have an onboard power pack and use the model train on an O Scale Garden Railway where I can use the left stick for the throttle and the right stick for the brakes. But other plans for functions is to use the four buttons to control the sound functions for the horn/whistle and various sound effects that would be on the DCC sound chip that is commonly used in model trains. I quite like the idea of walking around using my PS4 controller to drive the train and have access to most of the functions. Thanks for the video Rachel. All the best, Peter.
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
Will you be getting into how to get the controller to pair automatically every time?
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 !
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".
That was awesome. I'm a fan of ESP32/M5Stack at the moment.
Me too! I've been incorporating the ESP32 in most of my new projects!
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❤
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.
That sounds like a great project! 🥳
So what brand and model are the better controllers ?
@@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.
@@JimSolderitsch thanks. A lot.
Hi Rachel, Thanks for you very informative videos. However I'm stuck with these tutorial because I can't pair my ps3 controller to the serial monitor of the arduino ide. Which button will I press on the ps3 controller to pair it to arduino IDE. I pressed the middle lower button between select and start and all the 4 led lights flashing up on the front of the controller. Serial monitor displays "BD Addr: 7C:9E:BD:60:CA:7A. I press tried pressing all buttons nothing happens the 4 led lights still flashing. thanks Chito
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.
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 👍
There's an OceanGate joke in here somewhere....
I'm trying to do it but my Arduino IDE is similar but bit different, I'm able to follow allow up to where I past your board links but at board manager I'm lost where everything is just to different. please help me
Hello Rachel. Hope to see some IDF tutorials from you.
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.
It's a great library for pairing controllers. Hope this helps jump start your project!
Muchas gracias por compartir, excelente video la librería funciona hasta con controles de PS4 genéricos. 👍🏻
This was very well explained. Thank you! Also cool shirt!
can you help on how to make a 4dof arm that can be controlled using ps4 joysticks...
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.
I reserved multiple button presses for a future video! This one was geared for the absolute beginner to cover the basics 👍
@@RachelDeBarrosLive So the assumption in this video IS that you're just looking at one button at a time then. ;)
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 🤩
Now you're talking - that's a great project idea! 👍
Oooh project! This sounds awesome.
Hope you build something cool!
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!
Just imagine the array of Halloween displays needing this!❤
Yaaas! 🥳
So awesome! I've been trying to figure out how to control one of my projects. Thanks!!
Glad you found it useful! Hopefully this jump starts you in the right direction 🥳
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
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.
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?
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
Some of the knock-off controllers can be finicky for sure 👍
Does anybody have an idea about this error log?
Sahweeet! Thank You for showing us this project.
Glad you liked it! 🥳
Cool video girl I made my ps4 controller work on my n64 so ya thank u
That's awesome! 🥳
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
It should be compatible. Here's a list of compatible controllers from Bluepad32's site: bluepad32.readthedocs.io/en/latest/supported_gamepads/
how to show signal strength rssi from esp32 - controller ps4 ?
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?
What about the opposite? Can we have esp32 to control our PS4?
I've always wanted to use that touchpad on there too.
Great idea! I'll have to incorporate it into my starter template!
Is it possible to add Bluetooth to an old USB Logitech RumblePad to do something similar?
Perhaps! The Bluepad32 documentation has a list of compatible controllers here: bluepad32.readthedocs.io/en/latest/supported_gamepads/
How does it pair?
.
...and the unigoyal doesn't even have any dragons! 😊😂
although it does remind me of old fashioned stuff -- like fried chicken leg TV dinners! 🍗🍗🍗
So true! You know we're revisiting those after the unigoyle!
Doesn't work with ESP CAM :(
Compilation error: Bluepad32.h: No such file or directory you didn't give any library named Bluepad32
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.
Awesome!
Than you for this attractive video. 🌹🌹🌹
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 .
It's funny you mention a Jarvis, system! I'm working on that now and will post a video after I get everything working.
@@RachelDeBarrosLive i cant wait to see it
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.
You're working? Rather! Unique, jiro!
I Cant Get Mine To Pair?😥
What game controller are you using?
@RachelDeBarrosLive Hi Thank You Soo Much For Responding I'm Using A PS4 Controller But All Is Good I Just Had To Hold The Share Button And Then Press The PS Button To Begin Pairing.
I Recently Discovered Your Channel Love Your Stuff I See My Younger Self In Me Light Up When I Watch Your Content🥹
Can I use this to control, say, a deep-sea submersible for commercial use? No reason, just asking. Hypothetically.
😁🤖👍
🥳
ขอบคุณมากครับกับสาระดีๆเช่นเคยครับ❤❤❤