Это видео недоступно.
Сожалеем об этом.
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.
time to control a submarine with it and dive to the titanic with it
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!
@Swim Fan What?
I'm wondering if you tried this, and how it went. Any comments?
Okay. Doing electronic engineering, that battle bots thing looked dope
This is one of the coolest channels I've come across! Really highlights how practical and feasible programming can be. Thanks!
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.
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 :)
Loving the content, Dyson. Hell of a channel. Keep it up!
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.
I am really interested to see you do more arduink projects!!!
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.
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
legend
I think I read somewhere that the switch controllers make sure they are connecting to a switch before fully handshaking.
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?
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!
Did you find anything for that???
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?
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?
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
May I ask how to write the codes for beginners I mean control servos or some tutorial thanks
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
I have a question, will a fake one work?
Great job, thank you!
finally i dont feel like raj is telling me to click his grabify
Wow this was a realy cool and gread vind. I loved it.
Thanks man you are the bomb.
So... Is there footage of those robot battles somewhere?
6:09 I’m not buying anymore controllers for my switch just for them to break. Playstation controller in switch it is
🤣🤣🤣 facts their $10 cheaper and last way longer
Al principio se conectó, después dejó de reconocer mi ESP32 y ya más no se pudo conectar...
Awesome!
Can you combine mouse and controller to operate a console?.
I feel as if there's definitely valid reasons to use PS4 controllers on the Switch.
I was just thinking how I would use it for fighting games exclusively
Any chance on fixing issue #19 for aftermarket controllers?
Can I get the gyro data of a PS5 dualsense controller to send to ESP32?
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?
This library is about Bluetooth. Does standard Atmega-based Arduino have Bluetooth? No, so you can't use it
Well nice job..... But when i connect to esp32 it stay 2 second and than disconect... I am using original ps4 Sony controller...
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.
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
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.
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?
New sub. You’re humble as fuck dude great work
God dammit now I want to make something with it.
why were you working ar 2:00 am you need to get some sleep and thats coming from a guy who never sleeps!
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;
Shouldnt the thumbnail say "Use this to control all of these" ?
you just cannot control xbox with esp32
SHOW......😁🇧🇷👏👍🇧🇷👏👍