Use A Raspberry Pi Pico as a HID [Gamepad, Keyboard, Mouse, and Multimedia]

  Рет қаралды 42,298

Print 'N Play

Print 'N Play

Күн бұрын

Пікірлер: 66
@PrintNPlay
@PrintNPlay 2 жыл бұрын
Check out this awesome robot arcade with controls based around this project! kzbin.info/www/bejne/oai2h4pmgJh1kLs
@RickMunday
@RickMunday Жыл бұрын
Your "mode select" is one of the things that eluded me last year (code wise) when I was working on something similar, but for radio control. I wanted to have a mode toggle depending on which radio it is operating. That is absolutely brilliant!
@PrintNPlay
@PrintNPlay Жыл бұрын
I'm glad you found it helpful!
@adambrassard9268
@adambrassard9268 2 жыл бұрын
Love the turtle green and turtle shell brown base. Amazing work on the design and thought. I'm always impressed by the designs and considerations for wiring space. Very cool project and thanks for sharing!
@davidg5898
@davidg5898 2 жыл бұрын
Pretty clever. If you're not an arcade purist, you can add a secondary version of each mode that includes a press-and-hold function to make the buttons turbo. Despite having seen multiple Pico tutorials, yours is the first that really shows how easy it is to register inputs. Perhaps it's time to actually start that MIDI controller I've always thought of!
@PrintNPlay
@PrintNPlay 2 жыл бұрын
Absolutely. You could even add a modifier button to allow you to record several actions and bind them to a button, for games with special moves. Or add a potentiometer using one of the analog inputs to have a variable speed turbo. Glad you liked the tutorial
@kayleenamanda
@kayleenamanda 2 жыл бұрын
Ahhh such nostalgia! I think I know what we are playing with this weekend.
@PrintNPlay
@PrintNPlay 2 жыл бұрын
Sounds like a date!
@-someone-.
@-someone-. 2 жыл бұрын
All your videos are awesome! Video editing, music, audio, information, detailed close ups....everything! Thanks 👊
@PrintNPlay
@PrintNPlay 2 жыл бұрын
Thank you so much! I'm glad you enjoy them!
@canwebotit
@canwebotit Жыл бұрын
I tried and rewatch the video five time. But I am stuck at 14:54 because Window keep understanding my RP2040 as a usb key. Must we have a Raspberry Pi Pico for the code to work ? ( I am on a Seeed Xiao RP2040)
@gggg-bk7md
@gggg-bk7md 2 жыл бұрын
your videos are very illustrative and well done ... I love them! 👍congrats!!
@3dhYT
@3dhYT Жыл бұрын
_Translator:_ It's a great project. I'm waiting for Pico and will make a DB9>USB adapter.
@rae3012
@rae3012 2 жыл бұрын
Awesome work! We also have the new turtles game, your video made me want to try it again on my fight stick though!
@SirRob24
@SirRob24 2 жыл бұрын
Another awesome video with a cool project. One of these days I'll get around to building a full arcade cabinet from scratch and I'm gonna toss so many rPi Picos into that dang thing lol
@Mitch3D
@Mitch3D 2 жыл бұрын
It would be nice to have the joy stick function as an analog joystick as well, maybe add a trackball so FPS games are more playable. I also think it would be nice to be able to map buttons using the onboard display with a "record" mode.
@datagod
@datagod 2 жыл бұрын
I am so jealous of your soldering skills. I have several burned out pieces of kit due to my lack of ability.
@eminentbadge60
@eminentbadge60 2 жыл бұрын
Hi, I was wondering if the Pico can be used to make a wired/wireless gamepad... Like 2 Arduino joystick modules with a Pico? Also, can the project be made wireless with a pi pico w?
@ineedclosure4163
@ineedclosure4163 2 жыл бұрын
Hey, I'm really struggling with getting code to work. I've copied directly from the description. Any thoughts? Specifically the gamepad object.
@bm-cy7ek
@bm-cy7ek Ай бұрын
Did you manage to get it working? I am in the same soup
@abhishekak9619
@abhishekak9619 Жыл бұрын
hello i see you know a lot about raspberry pi pico.(idk much about coding and pico)can you help do this thing, i want to delay all my mouse data by 1 second(to make my friend confused its a april fools project), so i have mouse and i want to connect it to the raspberry pi pico and connect the raspberry pi pico to my computer, and the mouse sends data at a 500hz so i want to send the data through the pico at a 500hz. please tell me if this is possible?
@Fluxrat
@Fluxrat 6 ай бұрын
I really like the idea. I wonder if you could get those bluetooth chatpads for the dualsense running with the pico. Would be amazing.
@CodeProfessor
@CodeProfessor 2 жыл бұрын
Very clean build, excellent job!
@wric01
@wric01 2 ай бұрын
Console support? ps3 ps4 xbox switch etc?
@adamjensen6376
@adamjensen6376 6 ай бұрын
Can you use picoboot as a two player hid
@john_2730
@john_2730 2 жыл бұрын
Could the different modes be used so the control could be used for different systems? e.g mode 1 pc. Mode 2 xbox. Mode 3 firestick
@lachmister
@lachmister 2 жыл бұрын
when you say you could change these values to add an analog stick. can you give an example of this? change the x + y val on line 155+ 156? to what?
@gggg-bk7md
@gggg-bk7md 2 жыл бұрын
hi.. me again... the atari joystick man... can i use this to create a 2 atari joystick adapter with one pico ?? Sorry my english...!!! thanks!!
@PrintNPlay
@PrintNPlay 2 жыл бұрын
Hey there! All of this does come together to give you the tools you need. I just haven't gotten the 9 pin female connectors I need to build the adapter and show you. Soon!
@gggg-bk7md
@gggg-bk7md 2 жыл бұрын
@@PrintNPlay hello friend... I'm using this code to make my atari adapter (eliminating the part related to the screen, I think, with success, since I don't need it for now) one question... a cable from the arcade buttons goes to, eg GPIO1 and the other? GND? 3v3?
@PrintNPlay
@PrintNPlay 2 жыл бұрын
Sounds like you are making good progress! Goes from GP01 to ground.
@gggg-bk7md
@gggg-bk7md 2 жыл бұрын
I only have the code on the Pico and a PC switch with its cables connected to GND and GPIO... But...
@gggg-bk7md
@gggg-bk7md 2 жыл бұрын
I don't know why, but the code doesn't work for me... I press the button but it doesn't do anything. But when I hold it down for a long time, it does ALL the actions of each of the modes for that button!!! and as long as you keep it pressed, it cyclically performs those actions. Could you please review the code that I uploaded to Drive and see if it has any errors or is missing something? drive.google.com/file/d/14uTh3a02tMCkcp3FfbZZoes4GFEeY-ae/view?usp=sharing
@yosoyestoyarto
@yosoyestoyarto 2 жыл бұрын
Its possible to use 2 joysticks on the same board?
@yosoyestoyarto
@yosoyestoyarto 5 ай бұрын
its possible to use as two player arcade with one pico?
@CyberDunk2077
@CyberDunk2077 Ай бұрын
The pico has 2 cores so it might be possible with a gpio extender of some kind, I would be interested to know as well.
@yosoyestoyarto
@yosoyestoyarto Ай бұрын
@@CyberDunk2077 i was thinking on using it as kayboard interface, and then assign the keys to buttons and movements
@bleurenard
@bleurenard 3 ай бұрын
Hi! I found your video very interesting because I’d like to recreate the IVARIO for Farming Simulator 22, and I’d like to do it with a Raspberry Pi 5 or Pico. I came across your video, and my question is: how can I configure the buttons with vJoy and Joystick Gremlin? Have a great evening!
@Tijn_C
@Tijn_C 2 жыл бұрын
how to fix Cannot change USB devices now error ive put in the boot.py file?
@naxusv7232
@naxusv7232 8 ай бұрын
did you fix it?
@nathanielallen9591
@nathanielallen9591 Жыл бұрын
The gamepad mode UI doesn't come up for me :(
@morbidjin
@morbidjin 2 жыл бұрын
I was looking for this! Nicely done. Will you ever make the PCB schematic available for download?
@PrintNPlay
@PrintNPlay 2 жыл бұрын
Would be glad to! The fabrication file is already in the description if you want to get one made but, if you're looking to modify it or design your own, I'm glad to publicize the rest of the design stuff as well
@morbidjin
@morbidjin 2 жыл бұрын
@@PrintNPlay Much Thanks! I saw there's a Pico wireless now - Part2? :)
@TheJavaSync
@TheJavaSync 2 жыл бұрын
Can I use Thonny IDE instead Circuit Phyton?
@PrintNPlay
@PrintNPlay 2 жыл бұрын
CircuitPython is a replacement for MicroPython, both are still programmable via Thonny
@TheJavaSync
@TheJavaSync 2 жыл бұрын
I am not a real programmer, just an hobiest A. Fortunately - It works for me - but litle bit trouble - display menu keep scrolling, what switch you use for GP22 (menu selector) - tactical switch? B. I only need gamepad function - then I tried deleted 2 - 4 function on menu selection + set 1 instead 5 - so when it run it keep on gamepad function - it works but on control panel button response sooo slowly - what's should I do? Anw, thx for amazing tutorial !!! & sorry for my bad English 😃
@requiem4adreamc
@requiem4adreamc Жыл бұрын
I prefer Arduino IDE. Can i do similar project with it?
@anupsonawane1420
@anupsonawane1420 9 ай бұрын
can you please provide circuit diagram
@OTZOLOTEPUNK
@OTZOLOTEPUNK Жыл бұрын
For classic Xbox?
@TragicGFuel
@TragicGFuel Жыл бұрын
Hey, is this still working?
@AZ007
@AZ007 2 жыл бұрын
will you try to make ps5 styled controller with pi pico, love your projects
@ShonenReviews
@ShonenReviews 2 жыл бұрын
nice video!
@apollowellstein188
@apollowellstein188 2 жыл бұрын
It's 2022. I know its a few dollars extra, but can we please start using USB C instead of USB B?
@PrintNPlay
@PrintNPlay 2 жыл бұрын
I personally still prefer USB B as a more robust connector where size isn't an issue. But, since it's just a pass through connector, it's easy for you to swap it if you build one!
@vigneshkarthi3321
@vigneshkarthi3321 Жыл бұрын
Bro try out for gamepad for xbox PlayStation and Android
@David-m16
@David-m16 Жыл бұрын
Does not work in android
@MrDicafr
@MrDicafr 2 жыл бұрын
Just need a second joystick for fps mode ;)
@PrintNPlay
@PrintNPlay 2 жыл бұрын
Why not build 2? :D
@paleopteryx
@paleopteryx 2 жыл бұрын
I hope there's a C/C++ HID library for the Pico out there. Python is a horrendous (and slow as hell) language, which does't do justice to this amazing board.
@PrintNPlay
@PrintNPlay 2 жыл бұрын
I'm sure it's out there! And absolutely, if you want the best performance, python isn't the way to go.
@VladTheInhaler1
@VladTheInhaler1 Жыл бұрын
I love these comments. As if you’re fast/perceptive enough to notice the difference between arduino and circuitpython in any hid capacity. Especially on a chip as fast as the RP2040.
@paleopteryx
@paleopteryx Жыл бұрын
@@VladTheInhaler1 Man, you're soooo right!! In your advanced "hello world" program that topped your programming skill level, you won't even notice the difference!!! The RP2040 was designed to print "hello world" messages, nothing more! Silly me for thinking of more complex applications for it!
@VladTheInhaler1
@VladTheInhaler1 Жыл бұрын
@@paleopteryx ill have you know my pi pico can print way more text than 'hello world'
@paleopteryx
@paleopteryx Жыл бұрын
@@VladTheInhaler1I bet it does! And at the same speed in C++ as in Python! Who would have guessed?
Pi Pico + KMK = the perfect combo for Custom Keyboards
7:41
Jan Lunge
Рет қаралды 86 М.
Raspberry Pi Pico Keyboard and Gamepad HID with an NES Controller!
8:18
Правильный подход к детям
00:18
Beatrise
Рет қаралды 11 МЛН
VIP ACCESS
00:47
Natan por Aí
Рет қаралды 30 МЛН
人是不能做到吗?#火影忍者 #家人  #佐助
00:20
火影忍者一家
Рет қаралды 20 МЛН
The Pico Fighting Board: The Fastest Arcade Stick PCB
10:31
Mr. Sujano
Рет қаралды 52 М.
Raspberry Pi Pico - USB HID Auto Clicker with Circuit Python
11:53
Novaspirit Tech
Рет қаралды 77 М.
Transform an old broken Keyboard to a Macro Keyboard
8:11
NerdCave
Рет қаралды 63 М.
Computer Security - A Bad USB Made With a Raspberry Pi Pico
11:53
Benjamin Watts
Рет қаралды 2,7 М.
Pico RP2040 HID Joystick Library for Arduino IDE
12:16
Real Robots
Рет қаралды 35 М.
Building the ULTIMATE GameBoy for Raspberry Pi Pico
4:21
YouMakeTech
Рет қаралды 53 М.