Using PS3 Controllers with ESP32 | Build Custom Remote Controls

  Рет қаралды 109,340

DroneBot Workshop

DroneBot Workshop

Күн бұрын

Пікірлер: 180
@Dronebotworkshop
@Dronebotworkshop 9 ай бұрын
Hi everyone - It's come to my attention that there has been someone masquerading as myself, responding to some comments here with a link to a Telegram chat to win a prize from me. THIS IS A SCAM, I am not holding a contest, nor do I have a Telegram account. PLEASE DO NOT RESPOND TO THESE MESSAGES!! It's happening on a lot of my videos, I'm taking steps to remove them manually, but as I have 162 videos, it will take some time. If you do run across a suspicious comment, I would appreciate you letting me know at info@dronebotworkshop.com. Thanks! Bill (The real one!)
@duanebeyer950
@duanebeyer950 Жыл бұрын
One of the best videos I have seen. You really did a great job bringing all the different elements together and it is hard to believe you have not spent 30 years in the front of a classroom. Your cadence is perfect, and you break each task into simple to understand steps and build on that. Not just in this video, but all of yours. This one is particularly a gem covering so many interesting topics and then bringing them all together. I have been working on a lot of ESP32 projects and your videos have been very helpful. Thanks and keep it up. -Duane
@paulbrouyere1735
@paulbrouyere1735 Жыл бұрын
Love it: my favorite construction material is scrap wood. Says a man knowing to teach computer science. Thank you for sharing your knowledge. I’m impressed you can make it look so simple.
@the1spyderryder
@the1spyderryder Жыл бұрын
Have missed your videos! I hope you are well.
@seabeepirate
@seabeepirate Жыл бұрын
100% agree on the micro vs mini usb. The thinner metal jacket on the micro is much more susceptible to prying loose from a fall/drop or even from regular use on something that sees a lot of connecting/disconnecting. The micro is good for small devices where space is more of a premium than durability. If USB-C isn’t and option, the mini would be my second choice.
@SNStuart
@SNStuart Жыл бұрын
Really enjoy the video. I got myself a cheap, unbranded ps3 controller of eBay but found it didn't work. After that, I got a Sony one and found that one worked.Thank you for the videos
@kylereed3577
@kylereed3577 Жыл бұрын
Thanks Bill! Another great video to get my creative juices flowing. It got me thinking about automating my wood shop. Not with a PS2 controller but laser sensors and such. 😃
@Dronebotworkshop
@Dronebotworkshop Жыл бұрын
Thank you Kyle. And I agree that automating a table saw with a video game controller might not be the wisest thing to do!
@CDRaff
@CDRaff Жыл бұрын
​@@DronebotworkshopDon't knock it until you try it; I use an Xbox controller to control my CNC and it works great.
@codecage9333
@codecage9333 Жыл бұрын
Amazing video Bill! Well worth the wait. And great to have the PDF of the article after the forum upgrades. Maybe soon I can get back to my Neo-Pixel issue. I have a great, IMHO, plan all worked out.
@jarekf3083
@jarekf3083 Жыл бұрын
I bought the most recent ps3 controller clone on ebay. Looks exactly like in the video. Installs on Windows fine, shows as Xbox 360 and works. But the Sixaxis pair tool does not find it, with "no device found" error. Tried on 4 different Windows computers.
@roland5469
@roland5469 Жыл бұрын
You will never get the desired result. This SixaxisPairTool 0.3.1 tool seems to be infectected by virus which this tool is downloading during installation as explained in the video. I have tested with Windows 10 in different laguage versions. After installation, Windows was no longer able to accept the PS3-controller via USB, not even simple deinstallation of the SixaxisPairTool did cure the Windows-Sytem. Backup Windows before you touch this SixaxisPairTool
@samirale6774
@samirale6774 11 ай бұрын
i am in the same situatione!
@ryananum4953
@ryananum4953 11 ай бұрын
Did you connect it via usb to your computer? That usually works when you press the ps button ​@@samirale6774
@dellalioussama1124
@dellalioussama1124 10 ай бұрын
did you find any solution ? i tried pairing with my android phone and retrieving the bluetooth mac address but it didnt work
@DucatiKing
@DucatiKing 8 ай бұрын
Turn off your fire wall that helped me
@mikey38632
@mikey38632 Жыл бұрын
You pointed out something that I run into with RGB fixtures in event production. You can't make pure white from R, G, and B LEDs. These days the better fixtures are using dedicated white LEDs alongside the RGB LEDs. There are some other dedicated colors, too, like amber and UV. RGB "white" always comes off as a little blue. Just my observation. I'm loving this video!
@MrBobWareham
@MrBobWareham 3 ай бұрын
Hi bill yes I wish they kept Mini USB it was so much better then Micro USB thanks for the video very interesting.
@noahb7947
@noahb7947 Жыл бұрын
you make the best videos, ive really gotten into robotics because of you. thank you!!
@billverine765
@billverine765 Жыл бұрын
You are a gentlemen and a scholar. Another in a long line of Top Shelf instructional videos my friend.
@beau.seidon
@beau.seidon 10 ай бұрын
Well now I know what I'm using to build my next MIDI controller!
Жыл бұрын
There is also L3 and R3 which you can use by pressing the analog stikcs. ;)
@lyricalnatty
@lyricalnatty Жыл бұрын
@DB Workshop, First of let me thank you for another master class. And btw The joy sticks the both click in for extra commands.🤐🤐🕳💡
@danny117hd
@danny117hd Жыл бұрын
I'll watch this later! Showed up on Google feed good job.!
@schoenepaparillo5902
@schoenepaparillo5902 Жыл бұрын
For a man who doesn’t know how to play video games you’re quite a wizard 👍
@codecage9333
@codecage9333 Жыл бұрын
Maybe I need to learn how to play video games as well. My last one was Trek80 back in the 80s! 😂
@peterashford7364
@peterashford7364 Жыл бұрын
Thanks Bill, a brilliant project, I've finally found a simple, reliable way to control a robot car! It took me a while to understand I needed to get the MAC address from the ESP32 and insert this into the sketch code and also to modify the PS3 controller so it has the same MAC address. Then worked perfectly, even has proportional control! Thanks for your meticulous documentation. I'm looking forward to further updates.
@pareshmhatre4019
@pareshmhatre4019 Жыл бұрын
Right from today you are gamer! Best of luck 🤞
@Moved2Rumble
@Moved2Rumble 18 күн бұрын
Something you didn't mention was that both the right and left joysticks also work as individual buttons, L3 and R3 respectively.
@marcantony7075
@marcantony7075 Жыл бұрын
Impressive👏, I have been looking for such a video with detailed information. Thanks sir👍
@LiddersTube
@LiddersTube Жыл бұрын
Great presentation, as always. But WOW, so many adverts. It's worse than commercial TV. However, the content was well presented, and full of great ideas.
@sameh_elmahdy
@sameh_elmahdy 7 ай бұрын
Thanks from Egypt >>>>>> you are the best father >>>>>>>
@sevenday7969
@sevenday7969 Жыл бұрын
Abi adamın dibisin çok teşekkür ederim kaç gündür projem için böylesi detaylı bir video arıyordum
@turkfx
@turkfx Жыл бұрын
Applause, masterwork, thanks
@slakjawnotsayin5451
@slakjawnotsayin5451 7 ай бұрын
WOW, I'm only finding this out now. This is awesome!
@rohangupta8414
@rohangupta8414 Жыл бұрын
He is best till now
@codecage9333
@codecage9333 Жыл бұрын
And forever going forward!
@abpccpba
@abpccpba Жыл бұрын
I like your New Web Page layout lots of nice tweaks; like change size of text 😊
@user-mr3mf8lo7y
@user-mr3mf8lo7y Жыл бұрын
Similarly, would ove to see some videos about ESP32 USB (host), someday. Thanks,.
@collinb5524
@collinb5524 Жыл бұрын
Cool video, i used a ps3 controller and an esp32 to control a robot arm.
@kennethbeal
@kennethbeal Жыл бұрын
Thank you, love your work! I noticed a two second delay in the loop(), after it detects that it's connected. Then I noticed errant display in the console log. I deduce that this delay is the reason that @33:00 it's not immediately showing in the console log, when you press and release the buttons -- but it does "catch up" a few seconds later. A bit later I noticed a 300 ms delay in what appeared to be a critical section, but didn't notice any issues from that (a third of a second happens fairly quickly, also. :) ) Thanks again!
@Technical_Failure
@Technical_Failure 7 ай бұрын
HI I have a problem when trying to use my servo motor (which is a different one than in the video, maybe thats the problem). Because I connected everything like shown but the servo cannot be controlled with the controller and it moves somehow randomly to different positions and I cant interfere with it. PLEASE help...
@klif_n
@klif_n Жыл бұрын
Interesting. Thanks for sharing this great info. I'm going to pick up one of those PS3 controllers as an input device for future projects.
@gerhardvandernest435
@gerhardvandernest435 Жыл бұрын
Thank you very much Bill. Much appreciated education. I will be attempting to adapt to PS5 controller to use in a RC flail mower.
@davydbar
@davydbar Жыл бұрын
Muchas gracias por el excelente tutorial! muy completo y explicado de una forma impecable como siempre. Había estado probando un pequeño vehículo con el esp32 y el joystick de ps3, si bien logré hacerlo funcionar a veces mi problema era la conexión inestable y una especie de delay en el control.
@samirale6774
@samirale6774 11 ай бұрын
como hiciste para conectar el esp32 al joystick?
@gearscodeandfire
@gearscodeandfire Жыл бұрын
This is wonderful- thank you for saving me so much time when i finally implement this!
@snoob1674
@snoob1674 8 ай бұрын
Just was thinking about doing this the other day, and Bamm! I find this vid, thanks!!
@neojohn9335
@neojohn9335 Жыл бұрын
thank you bill, your awesome................... however its been a year and i still cannot for the life of me even get the ESP32 to even connect to my computer, tried different cables, different downloads. Now the project just takes up space on my desk.
@revvy13
@revvy13 Ай бұрын
Sounds like you either have a bad ESP32 or the serial driver isn't properly installed. Try reinstalling the com port driver.
@CDRaff
@CDRaff Жыл бұрын
Fancy stuff! Can't wait to try it out.
@jstro-hobbytech
@jstro-hobbytech Жыл бұрын
They aren't dualshock. But you're right they do the job. I've taken to using rc remotes.
@KG4JYS
@KG4JYS Жыл бұрын
Sixaxis and DualShock 3 were not the same. Sixaxis doesn't have a vibration or "rumble" feature for haptic feedback to the user. Dualshock 3 does. That also makes the Dualshock 3 a little heavier, which most people prefer. Sony couldn't get vibration and motion sensing working together on their sixaxis design. The Dualshock3 was made by Immersion Corporation (after a patent lawsuit that banned the import of PS3 systems with sixaxxis to the USA). Dualshock 3 (design licensed by Immersion) did have working motion sensing with vibration. Presumably subsequent dualshock4 and dualsense controllers also are based on the design by Immersion.
@alankhabitsov7542
@alankhabitsov7542 11 ай бұрын
Thank you. The best tutorial ever!!!
@pfft.7532
@pfft.7532 Жыл бұрын
Lovely video as always!!Can you please make a video on sabertooth motor driver with an esp32
@tin2001
@tin2001 Жыл бұрын
I have no real interest in using one of these with a microcontroller, but thanks for the video... You reminded me I wanted to order one of these cheap PS3 controllers for Steam remote play on an Android TV box. Edit: still watching the whole video because I'm interested in the protocol and oddities of the PS3 controllers.
@petermolnar6017
@petermolnar6017 Жыл бұрын
Brilliant video, thanks for sharing it with us!
@initialb123
@initialb123 Жыл бұрын
really appreciate the dark mode , my eyes aren't what they used to be
@joymakerRC
@joymakerRC Жыл бұрын
I have been flying rc planes this way with LoRa modules for the last two years. I wrote code that includes secondary functionality for trimming the plane and using landing gear. I wish you would have made this video back then because it took me a month or two to work every thing out, also not every ps3 controller works , i have five different variations some only work with esp32 and some will only pair to a dongle with USB host shield arduino. Im gonna post my code
@guima617
@guima617 Жыл бұрын
Excelent video !! The best I have seen !! Congrats !! One question: Could you please, share some example codes to activate Ambulance leds (led red and blu led) and some code to activate Ambulance Siren ? Warm Regards
@elihoungo4552
@elihoungo4552 Жыл бұрын
You are the best Thank you for your videos
@paulpvhl1930
@paulpvhl1930 Жыл бұрын
Excellent overview. Thanks.
@wandersonsilva-fx1cs
@wandersonsilva-fx1cs Жыл бұрын
Teacher! Congratulations, I follow your classes whenever I can! I have a question does the generic playstation 3 joystick connect with esp32 or only if it is original?
@lankeylad
@lankeylad Жыл бұрын
If your wondering whether you need an offcial branded PS3 Controller, I don't think you do. I haven't got one and its working well enough here.
@davydbar
@davydbar Жыл бұрын
@@lankeylad generic controllers works fine
@collinsappiah9744
@collinsappiah9744 Жыл бұрын
Please I'm begging you to do a video on ps3 controller with Arduino uno or mega
@philgo2024
@philgo2024 Жыл бұрын
Vraiment intéressant et excellente vidéo comme d'habitude !
@ioannisypatidis9170
@ioannisypatidis9170 Жыл бұрын
Hi! The library doesn't compile with the 2.0.1 ESP32 board manager . Do you know why? Is there any work around? I am trying to use the ESP32 S3 Devkit
@bakedbeings
@bakedbeings Жыл бұрын
I'd love to see this ported to microbit (with MakeCode blocks) - robots for the platform are great and affordable, but the controller boards are relatively pricey and/or have no friendly blocks.
@vicmac3513
@vicmac3513 Жыл бұрын
In next video you'll build the Open Source Alpakka-controller and make it wireless the same way?
@MyInnerChild81
@MyInnerChild81 Жыл бұрын
This is awesome. Can u create a light show with music?
@rifqifirlian1559
@rifqifirlian1559 Жыл бұрын
I've been tried to build my own robot with ps3 controller, but when i pluged my ps3 controller and run sixaxis pair tool appear "no device found" Does anyone have same problem? and how to solve this?
@dellalioussama1124
@dellalioussama1124 10 ай бұрын
i got the same problem i already got the esp32 with me , i tried the displayed mac address 01:02:03:04:05:06 and it worked , i have a clone one i guess but it didnt show
@Ducerobot
@Ducerobot Жыл бұрын
Nice video ! Amazing idea😁👍
@hermandarr6274
@hermandarr6274 Жыл бұрын
great job Bill.
@natureloverJ
@natureloverJ Жыл бұрын
Hi Sir, I am very big fan of your videos and the passion you have for electronics. Please tell me the name of the company of PS3 console you bought. I bought one of VOYEE. Sixaxis software (windows) could not detect it. Thank you so much in advance.
@usefulelectronics
@usefulelectronics Жыл бұрын
Awesome idea!! I wonder if it is possible to achieve the communication with BLE
@devilvortex1
@devilvortex1 2 ай бұрын
Strange! Why is there a return in if statement in the loop function? I would have used the continue statement;
@abpccpba
@abpccpba Жыл бұрын
Great work as usual. Thanks
@Jeff-0621
@Jeff-0621 Жыл бұрын
This is brilliant!
@jerryrichard4994
@jerryrichard4994 9 ай бұрын
Love your new video, I have build a fully functional robot with working hands, what I want to know if I can use L298n motor driver as I have a few of those, after watching your video on ps3, it sound so good that I have ordered one from Amazon and want to venture into this new field, at 90 years old I need a new toy to play with.
@xianzheng5046
@xianzheng5046 27 күн бұрын
Hi, when i wanna upload the coding for motor driver it shows my ledcsetup was not declare. What can I do
@aladinmovies
@aladinmovies Жыл бұрын
As always good video from teacher
@mukageegee
@mukageegee Жыл бұрын
Hi Bill.
@rdyer8764
@rdyer8764 Жыл бұрын
Just a thought on the controller buttons having a "how-hard-you-push" or analog output capability... Might it instead be that you just read the button while it was still in debounce mode? Seems a little too much to expect them to have a "haptic" capability in that manner. Thoughts?? Great and thorough video as usual!
@themonkeydrunken
@themonkeydrunken Жыл бұрын
Good thought, but the buttons on the PS3 controllers are pressure-sensitive. They'll return an analog value up to the 255 max.
@rdyer8764
@rdyer8764 Жыл бұрын
@@themonkeydrunken That's really cool!
@vinxmod793
@vinxmod793 Жыл бұрын
What are common default MAC address numbers that come with replacement controllers?
@jjones503
@jjones503 Жыл бұрын
Next step is building the submarine.
@ingenuus2
@ingenuus2 Жыл бұрын
nice and helpful 👍
@msufaid7586
@msufaid7586 Жыл бұрын
can i do the same withh ps4 controllers?? like is the connection between the esp32 and ps4 stable cause there r many forums that says its not stable and that ps4 gets disconnected after sometime
@fullpower8382
@fullpower8382 Жыл бұрын
You are great!
@andreyl2705
@andreyl2705 Жыл бұрын
nice tutorial. Thank you)
@thomasheroux3146
@thomasheroux3146 Жыл бұрын
Would there be a way to trigger sounds/songs using the controller ESP32??
@sokoloft3
@sokoloft3 Жыл бұрын
Seems there is a library for the xbox series x controller. Been wanting to do that for a cheapo RC I bought a while back. WPL C24, upgrade it to hobby grade.
@SirArghPirate
@SirArghPirate Жыл бұрын
I only get "No device found" with the sixaxis pair tool. Thing is, the controller seem to be able to communicate with Steam (gaming service) and navigate the menues.
@dellalioussama1124
@dellalioussama1124 10 ай бұрын
if you looking for the mac address try using the same one written in the code
@SirArghPirate
@SirArghPirate 10 ай бұрын
@@dellalioussama1124 All zeros you mean? That didn't work.
@analys7622
@analys7622 Жыл бұрын
Awesome guide! Btw have anyone got data frome the 3accelerometer and 1gyro ? Mine is not working properly.
@notsurt
@notsurt Жыл бұрын
FYI it's not "tactical feedback", it's "tactile feedback" (relating to touch), pronounced like "tack tile".
@BlondieHappyGuy
@BlondieHappyGuy Жыл бұрын
ROFL! Well I'm so glad that you cleared that up! 😅😂🤣
@tin2001
@tin2001 Жыл бұрын
Could have been worse... Could have said "testicle feedback".
@mikey38632
@mikey38632 Жыл бұрын
I'm watching you about to do your servo motor test, and I'm wondering if there are various sensitivity/movement curves available to you, instead of just a linear adjustment. This is for continuous movement (perhaps until the limit is reached in the case of servos) versus an absolute position relative to stick position. Imagine traversing a massive menu... For example, selecting your birth year from a listing of years. (That one gets to me now, I used to think the notion was funny). You might press the stick further to go faster. A sensitivity curve might be a great code enhancement in this case. It would be great if some preset curves were part of the library. **edit** I like how you sort of did this with the motor control routine. It's still not a response curve, per se, but it works for its purpose.
@gandhihammoud7252
@gandhihammoud7252 6 ай бұрын
could you please give me the way to connect PS3 with ESp8266
@themonkeydrunken
@themonkeydrunken Жыл бұрын
Fun project!
@NLGeebee
@NLGeebee Жыл бұрын
Shouldn’t MIN_DIST be MAX_DIST or just the neutral THRES_DIST?
@RAJTECHTAMIL
@RAJTECHTAMIL Жыл бұрын
I need mcp4022 digital potentiometer with arduino uno how to control. Please argent
@mikey38632
@mikey38632 Жыл бұрын
Does the ESP32 see when you press the right stick in? I wasn't an avid gamer, so I don't remember whether the left stick presses in. Also, does it see Start, Select and the PS button? I thought I remembered you or someone said it does.
@that70sgamer
@that70sgamer Жыл бұрын
I wonder if the Sony controller is any better for use like this. Gaming, Sony controller better then any aftermarket controller I used with my PS3. Same with PS4. Because of cost, I've been replacing the sticks when they develop drift.
@Undertaker1134Tx
@Undertaker1134Tx 10 ай бұрын
New to the esps, Is it possible to connect the esp32 directly to the controller through USB and transmit the signal through WiFi to control another esp for a longer range?
@TerboBlitz
@TerboBlitz Жыл бұрын
Can the PS3 controller run the HID protocol over the internal ESP32 WIFI communications link to achieve a longer range?
@gerdsfargen6687
@gerdsfargen6687 Жыл бұрын
Could this project be adapted to a ps4 controller? Any extra steps required? Not asking for a solution just whether it would be the same steps.
@collinb5524
@collinb5524 Жыл бұрын
Its about the same. You use the sixaxis tool and then a ps4 controller library
@gerdsfargen6687
@gerdsfargen6687 Жыл бұрын
​@@collinb5524thanks!
@MorriAelthyn
@MorriAelthyn Жыл бұрын
Is this how they made the controller for the Titan sub?
@zaqwsx28
@zaqwsx28 Жыл бұрын
Which version of the ps3 library and ESP32 board manager you have?
@thisoldjeepcj5
@thisoldjeepcj5 Жыл бұрын
Very good. Thank you.
@Rainer_Landes
@Rainer_Landes Жыл бұрын
This is really great! But how to do it the other way round? Emulate a sixaxis controller by an ESP32 or an Arduino or a RasPi and control the PS3 remotely? Is this possible, too? Where to start? [Background to that question: I use my PS3 as a media player / BlueRay player and other functions. I have set up a home automation on RasPi that controls my video beamer, the Surround Sound system, the NAS data source, the HDMI matrix, the TV, the ceiling lights.... The home automation controls different Scenarios like "start the video", preparing all components and the light, and so on.... only the PS3 control is still missing...]
@enekojuanenalodeiro3794
@enekojuanenalodeiro3794 Жыл бұрын
Great video BTW!!!
@mangalarupasinghe
@mangalarupasinghe Жыл бұрын
Excellent Tutorial. I had quick test with my PS3 controllers (two) and it seems accelerometer /gyroscope does not seems to work on both controllers and only getting " -4 0 -132 0 " in the serial monitor but all other functions are working ok. Do you think they have dead DOA accelerometer /gyroscope ? or do i have do some trick to enable them to work? Thank you for suggestions.
@moofficial1153
@moofficial1153 8 ай бұрын
hello bill thx for the video, am using esp32-wroom-32 but non of the codes are working for me. the ps3 controller just blinks with out connecting to the esp please let me know if there is some update or fix I should do
@melonpip
@melonpip 2 ай бұрын
shout out Ocean Gate for the inspiration
Mecanum Wheel Robot Car & ESP-NOW Remote
1:26:38
DroneBot Workshop
Рет қаралды 135 М.
IR Remotes & Microcontrollers - Arduino & ESP32
1:31:50
DroneBot Workshop
Рет қаралды 216 М.
КОГДА К БАТЕ ПРИШЕЛ ДРУГ😂#shorts
00:59
BATEK_OFFICIAL
Рет қаралды 8 МЛН
小路飞还不知道他把路飞给擦没有了 #路飞#海贼王
00:32
路飞与唐舞桐
Рет қаралды 81 МЛН
How Much Tape To Stop A Lamborghini?
00:15
MrBeast
Рет қаралды 199 МЛН
Unreal Engine 5 | Blueprint For Beginners (2023)
2:52:04
Smart Poly
Рет қаралды 497 М.
RC Car using PS3 Controller and ESP32 | DIY 🔥
7:29
hash include electronics
Рет қаралды 58 М.
ConsoleCraft EP#1 Introduction to game console making
44:52
Deriv'era
Рет қаралды 3,6 М.
RC Robot Car - RC Controls and Arduino
47:53
DroneBot Workshop
Рет қаралды 220 М.
Unique Projects with Digital Potentiometers
53:23
DroneBot Workshop
Рет қаралды 43 М.
Driving DC Motors with Microcontrollers
1:04:32
DroneBot Workshop
Рет қаралды 691 М.
Transform Your Hot Wheels into a micro FPV RC Car!
24:37
Max Imagination
Рет қаралды 705 М.
Tech Toolkit | The Ultimate Electronics Tool Round-Up
1:18:17
DroneBot Workshop
Рет қаралды 50 М.
ESP32 vs Arduino: Servo Motor Control!
30:01
Anyone Can Build Robots!
Рет қаралды 35 М.
Seeeduino XIAO - 32-bit Arduino-compatible Microcontroller
41:54
DroneBot Workshop
Рет қаралды 252 М.
КОГДА К БАТЕ ПРИШЕЛ ДРУГ😂#shorts
00:59
BATEK_OFFICIAL
Рет қаралды 8 МЛН