Sir, great tutorial about how to use a PlayStation to control your Arduino projects. Sir, can you make a video on youtube on making a video about 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 using the Xbox 360 controller? Sir, can you make a video on youtube on making a video about how to interface an Xbox controller to control your Arduino Uno?
Hi, I can’t seem to understand how to link this video with the hoverboard one. Like how do I get the connected ps3 controller to output to the DAC script and control the hoverboard?
hi, yes control the output of the DAC with the ps3 controller, it will be outputting a voltage, you can test it by plugging the DAC output into an analog pin and reading the voltage when sending different signals to confirm its working, hope this helps
this looks very cool. so what i am thinking is, if i build a racing wheel for a ps3, full of buttons potentiometer, hall effect sensors and leds. if you can send code from the ps3 controller which i want be using. once the steering wheel is all mapped to your code, could the code then send driver inputs to the ps3 console thus then driving a car, without a ps3 controller? this would be a hugh project for me but a great learning curve
Hi, I prefer to use the PS3 controller as an actual video game controller on PC but the input lag sucks. I was thinking about using the shell/buttons with the micro pro + arduino software to "recreate" the controller but could I use a simpler method? I don't not need BT as it will increase input lag. Thanks for your help.
Nice video and great repurpose of PS3 controller. Any ideas of how to interrupt on a button push so I can put set a flag for Loop to read? I want this part of a larger controller code for my bot, so can't have it constantly polling (I think).
hi, so you only want it to read all the control functions when it detects a button press or a change? its not a bad idea to make the code run faster, i find using less functions works too, not sure if this helps?
@tuber8363 , yes still have the code for most of the projects ive had a play with, will have to refresh me on which one inparticular, is this hc12 comms with arduino to output dac output as theres 3 sets of code for that project, transmitter, receiver and hoverboard code/ firmware
hi, thanks, unfortunately the ps3 controller only uses bluetooth, if you have to use rf, you can make an rf transmitter that can receive the bluetooth from the controller, i did something like that with the rc tank mk2
I would like to connect my PS3 controller to my MKR 1010 shield. It does not have a port for connecting a USB hub. Is it imperative to connect the controller with a cable to the board to pair the devices?
hi, i would but there is a problem that i dont want others to have, something happens with the ps3 control and causes the arduino to freeze and the hoverboard motors keep going! so at the moment its not safe, thanks
I've been messing with Arduino for the 1st time today and since I happened to have a PS3 controller, the same BT dongle, and USB host shield (where I had to do some bridging) I figured I'll try follow your example. It seems to be working, except on my monitor I get some gibberish instead of "button up"... it's appearing as I press the buttons (the circle vibrates as well) but makes no sense. It's mostly question marks but other special characters too. Any idea what might be the cause of it?
solved. Dunno yet what the "baud" number under the serial monitor is, but it was set to different from what was in the example code "Serial.begin(115200)" setting it to the same number now gives me propper results
Hello, I uploaded the BT code and was able to connect my controller using usb hard cable but when I use my Bluetooth dongle my controller connects but I am not seeing any data in my serial monitor. Any ideas on what is wrong, thanks.
hi, im not sure if you can, the usb shield uses some of the pins for its thing, depending on what pins the motor shield uses it might be ok, im pretty sure pins 2,3,4,5 and 6 are ok to use, thanks
I dont seem to get it to work. Im new to this programming, so i might do something wrong. but i have tried 2 different USB bluetooth dungles and both a ps3 and ps4 controller (for the ps4 controller i did use PS4USB and PS4BT). Both controllers work when i connect them via cable, they do give an output in the serial monitor, but they wont connect via bluetooth with the dongle. Do you have any tips or ideas i could try?
@@A-tech also, im not sure if its thanks to the code, but when i connect my controller with the arduino and load the PS3USB on it, when i try the serial monitor it doesnt show like you have "cross" or "Square", it just writes some question marks and all kinds of symbols. I though it might be that i use a 3th part controller, but when i tried my official ps4 controler with the ps4 programming it still doesnt work any way. Could it be that i installed the worng libary, eventhough i am sure i used the one in this video?
@@WimpieObama the serial monitor normally puts up lots of question marks when the serial speed settings are not matched ... i see this is 3 years old so i assume you found the problem?
Why i get the error: ''no matching function for call to 'PS3BT::getAnalogButton(Button)'' constantly? What do i have to do to upload correctly the code?
@@A-tech Oke i understand but i don't see ''getAnalogButton(Button)'' even in the code. Only in the error. In the code it is ''getAnalogButton(L2)'' and ''getAnalogButton(R2)''
@@A-tech I used exactly the same code as you from USB_Host_Shield_Library_2_0-1.3.2 and in all videos i watch there is no problem with uploading but i don't understand why the error comes by me