STM32 USB HID Custom Joystick/Gamepad - Phil's Lab

  Рет қаралды 13,794

Phil’s Lab

Phil’s Lab

Күн бұрын

Пікірлер
@hollyizza3672
@hollyizza3672 Ай бұрын
Hey Phil loved your videos. One thing I would like to understand is how do you plan for a project, the requirements for the project, do you make prototype first before going for real one and your thought process when planning. Perhaps can you make a video about it?
@PhilsLab
@PhilsLab Ай бұрын
Thank you! That's a good idea for a future video, thanks!
@colonDdesigns
@colonDdesigns Ай бұрын
to add to this- i’d be interested in seeing your project structure and how you manage development in github, altium, cubeIDE, etc. i feel like my projects get unwieldy with both hardware and software revisions/branches that are on different cadences
@colonDdesigns
@colonDdesigns Ай бұрын
@@PhilsLab^
@ishowclips-lol
@ishowclips-lol Ай бұрын
Best electronic KZbin channel ever
@PhilsLab
@PhilsLab Ай бұрын
Far too kind - thank you!
@kylec3193
@kylec3193 26 күн бұрын
@@PhilsLab not too kind, just true! will always stay subscribed, your videos keep me motivated and i learn so much valuable information for my electrical engineering degree!
@lptf5441
@lptf5441 Ай бұрын
Phil yet again leading the way and setting the gold standard in every way for electronics content. Amazing work Phil. Thank you!
@PhilsLab
@PhilsLab Ай бұрын
Thank you very, very much!
@olavobarreto
@olavobarreto 23 күн бұрын
Phil is leading the way and setting the gold standard in every way for electronics content!!!
@AzaB2C
@AzaB2C Ай бұрын
Thank you Phil! Appreciate you covering your controller design, but especially the software and USB concepts/apis. Very useful, since am trying to learn how to have my PC and ESP32 interact via USB using Chrome Web Serial API, and WebUSB. WebUSB tips from people are appreciated, cheers!
@PhilsLab
@PhilsLab Ай бұрын
Glad to hear that this is helpful - thank you!
@bbawj
@bbawj Ай бұрын
thank you for putting out high quality content that is easy to follow!
@PhilsLab
@PhilsLab Ай бұрын
Thanks for watching!
@vigneshkarthi3321
@vigneshkarthi3321 Ай бұрын
Man because of you other youtube channel I fall in love with embedded system.
@PhilsLab
@PhilsLab Ай бұрын
I'm very glad to hear that - thank you!
@QuibizOwl
@QuibizOwl Ай бұрын
Thank you! Thats just what I needed for my diy submarine 😂
@PhilsLab
@PhilsLab Ай бұрын
I'm hoping this is a miniature RC sub (if so, very cool), not something OceanGate-ish 😅
@Peter_S_
@Peter_S_ Ай бұрын
That a titanic idea. Best of luck.
@xThirdOpsx
@xThirdOpsx Ай бұрын
I recently completed a mouse project based on nRF52, and I'm happy to see you used the same workflow to get the HID descriptor working (HID descriptor tool, open source references etc), it is damn difficult to get it right the first time, I wish there was some better tool to build one, as the HID descriptor tool is from 2001.
@PhilsLab
@PhilsLab Ай бұрын
Yeah, it was pretty frustrating to figure out the correct structure.. But got there in the end!
@James-on1vy
@James-on1vy Ай бұрын
Wonderful explaination of a very complicated topic!
@PhilsLab
@PhilsLab 29 күн бұрын
Thank you, James!
@dhruvbose8294
@dhruvbose8294 24 күн бұрын
I swear to god this man is psychic! This is exactly what I needed help with and here he is, providing everything in detail! Cannot thank you enough man. Really appreciate this superpower (😅) and all the effort you take that goes into making these exhaustive videos ❤.
@Kysen10
@Kysen10 Ай бұрын
Thanks to your STM32WB55 guide I made a custom wired/wireless hitbox controller.
@PhilsLab
@PhilsLab Ай бұрын
That's very cool, well done on your design!
@dekus80
@dekus80 Ай бұрын
Like another world😂. I already for years use chinese uc. They have a lot of uc, they are cheap. I forgot about stm32 and don't remember when a take it in hands😂.
@God_controls_all
@God_controls_all Ай бұрын
​@@dekus80 Hi there. Please give me some of the MCUs you use; the Chinese ones?
@dekus80
@dekus80 Ай бұрын
​@@God_controls_allI tried 5 times to reply and wrote many companies and uc and features. But youtube immediately delete this replies. I don't understand what youtube doesn't like...
@baptisteroche8113
@baptisteroche8113 Ай бұрын
It's crazy, i just bought a hotas stick, and i was thinking about making a diy throttle control with buttons for flaps, gears, ... And you just posted a video about the hid!
@PhilsLab
@PhilsLab Ай бұрын
Very cool - hope all goes well with your project!
@dmarman
@dmarman 22 күн бұрын
I would love to see a tutorial on how to setup a USB audio device using one of your boards. Something like a sound card with audio in/outs over USB.
@9onight
@9onight 13 күн бұрын
Hey phil, i love the videos, been learning pcb design and most of it was with you! is there any plans for a battery charger ic´s and circuits? would love to see one
@EvanInder
@EvanInder 22 күн бұрын
Phil, your a legend ;)
@frogandspanner
@frogandspanner Ай бұрын
I have done something similar, based on theRaspberry Pi Pico, for controlling my CNC late and milling machine, although I use it wired as wireless in such a noisy environment as a machine shop is impractical.
@tannerdowning-mcadams110
@tannerdowning-mcadams110 15 күн бұрын
Hi Phil, thank you for another great video! Would you ever consider putting the STM32 DSP firmware back on your Github?
@tman15bp90
@tman15bp90 26 күн бұрын
If I need additional axis for my controller more than provided by X,Y,Z Rx Ry and Rz is this possible
@omrannd6854
@omrannd6854 19 күн бұрын
hello, is it possible to apply same method but on stm32f103c8t6 ?
@mandrasaptakmandal636
@mandrasaptakmandal636 27 күн бұрын
Hello phil! can you cover SoCs available for makers? not SBCs but standalone SoCs for mobile devices like rockchip, how it can be aquired by individual maker if possible, and if possible make a board out of it, i have been thinking if making a mobile device, but it seems very hard to get the parts, apart from that, the current software ecosystem is greatly supported and very easy to understand.
@Fab_Recordz
@Fab_Recordz 5 күн бұрын
Hey Phil, great video. If I want the input to be mouse and keyboard, and output gamepad (emulation). Any idea where to start?
@PhilsLab
@PhilsLab 3 күн бұрын
Thanks! Composite HID is what you're looking for.
@hippie-io7225
@hippie-io7225 Ай бұрын
Another great tutorial!! Thanks!
@PhilsLab
@PhilsLab Ай бұрын
Thanks for watching!
@AljazJelen1992
@AljazJelen1992 Ай бұрын
Hey! Could you make a video about HOST sending data to DEVICE? I know it is not part of the descriptor as per se and one need to handle it through endpoints and filters. However I had some problems with Force Feedback and I just dont manage to get it to work. Thanks!
@billyjoe3309
@billyjoe3309 Ай бұрын
Awesome! love this project!
@PhilsLab
@PhilsLab Ай бұрын
Thank you!
@engdarwish8308
@engdarwish8308 Ай бұрын
Your videos is really useful
@PhilsLab
@PhilsLab Ай бұрын
Glad to hear that, thanks!
@stormixgaming8389
@stormixgaming8389 Ай бұрын
Awesome video. Well delivered.
@PhilsLab
@PhilsLab Ай бұрын
Thank you!
@myetis1990
@myetis1990 Ай бұрын
Hey Phil, you did it as always. Thank you for the great video. One question I have is whether this project is directly suitable for simulators or requires some extra effort.
@PhilsLab
@PhilsLab Ай бұрын
Thanks, Mustafa! You can pretty much use this straight away with simulators - just have to configure the pin/axis mapping.
@noijze
@noijze 28 күн бұрын
Better then the OceanGate one 😅
@rajpalan
@rajpalan 6 күн бұрын
Does this support xinput? If not would it be possible for you to make a tutorial on xinput as most modern games require xinput.... Thanks
@muhammadjoshua7464
@muhammadjoshua7464 Ай бұрын
I love you Phil
@Gregster-HH
@Gregster-HH 28 күн бұрын
I count 53 bytes in the ReportDescriptor, not 54. What am I missing?
@PhilsLab
@PhilsLab 28 күн бұрын
There are definitely 54 bytes in the report descriptor. 10 for the 'header', 22 for the buttons, 20 for the joysticks, and 2 bytes to 'end collections'.
@Gregster-HH
@Gregster-HH 28 күн бұрын
@@PhilsLab Ah OK :-D THX
@AljazJelen1992
@AljazJelen1992 Ай бұрын
Hey there! Just recently I finished my USB BoB design (pcb + software) for automotive racing simulators or flight simulators. Basically you can do custom pedals, handbrake, buttonboxes, etc... and connect it neatly to this board. I would say is quite versatile, I am thinking to put it on kickstarter Anyways, as always your videos are super as always (been following for almost 4 years now, yeeey!). One thing I want to understand, is your PCB design in this case. Why have you decided for such board? To me, it looks unnecessarily complex. That is of course, that you dont plan anything additional with it. Could you comment more on this or explain it in next videos? As always, thanks!! :)
@PhilsLab
@PhilsLab Ай бұрын
Sounds great :) You've got to keep in mind, that - for the YT channel - I design hardware that showcases various circuits, bits of firmware, etc. Therefore, I group many functions into one board, so that I don't have to design board after board after board, just to show individual functions, or bits of circuitry. This way, I have one board with a lot of different elements that I can split into many videos. It wouldn't be particularly time-efficient otherwise.
@AljazJelen1992
@AljazJelen1992 29 күн бұрын
@PhilsLab yes totally understand you! Are you planning to make more videos woth this board? It looks mysteriously interesting 😊
@jamegumb7298
@jamegumb7298 Ай бұрын
So in theory I could jump into Solid Edge and clone and then modify a Nostromo N52 yes?
@PhilsLab
@PhilsLab Ай бұрын
I believe so!
@AshishVerma_Awesome
@AshishVerma_Awesome Ай бұрын
Atleast i am getting something better on mondays 😍
@stukgaanreijden2082
@stukgaanreijden2082 Ай бұрын
Hi Phil, Could you connect this to your Xbox?
@PhilsLab
@PhilsLab Ай бұрын
Potentially with some button remappings!
@SparrowSparrow-k4i
@SparrowSparrow-k4i Ай бұрын
can you make rc remote controle for drone . with min range 10 km
@PhilsLab
@PhilsLab Ай бұрын
I've made this RC controller :) Anything outdoors/long range is rather difficult due to regulations in Germany, so I haven't really bothered much with that..
@mohdayaan8384
@mohdayaan8384 Ай бұрын
What did you use as the communication protocol for such a long range communication?
@metalgearsolid2substance507
@metalgearsolid2substance507 27 күн бұрын
Did you study electronics in university or are you all self taught? Edit: nvm lol. Went to his website and it seems he has a masters in engineering, which is cool because that’s what I’m working towards.
@faust-cr3jk
@faust-cr3jk Ай бұрын
Using 480MHz for core clock frequency when designing battery powered device does not sound to me as a smart move. Similarly with ADC frequency. Your battery life will be quite limited.
@PhilsLab
@PhilsLab Ай бұрын
This particular video is a demo project for USB + HID - nothing to do with battery-powered.... The final project is battery-powered (~2000mAh battery), but doesn't need long battery life before recharges. Battery-powered doesn't necessarily mean low-power. Lastly, the core clock + ADC clock will be the last of the problems given the large display + backlight ;)
@lifelvr90
@lifelvr90 24 күн бұрын
@@PhilsLab Also i heard STM32 degrade pretty fast @480 MHz (look for STM32 gotchas #57)
How To Write A Driver (Audio CODEC & I2C) - Phil's Lab #142
30:31
Phil’s Lab
Рет қаралды 22 М.
#behindthescenes @CrissaJackson
0:11
Happy Kelli
Рет қаралды 27 МЛН
Мультимедиа контроллер и USB-HID за сотку! EasyHID ч.2
13:18
Заметки Ардуинщика
Рет қаралды 91 М.
SPI Hardware & PCB Design - Phil's Lab #134
33:22
Phil’s Lab
Рет қаралды 32 М.
CubeSat EPS v1: Assembly
11:10
Build a CubeSat
Рет қаралды 3,4 М.
V-USB on an ATmega328! - V-USB and HID Explained
14:08
Sine Lab
Рет қаралды 52 М.
I built a MODERN apple iPod...
24:43
Zac Builds
Рет қаралды 665 М.
Building a USB - HID Keyboard (DIY on a prototyping board)
15:27
Designing Hardware
Рет қаралды 25 М.
I2C Hardware & PCB Design - Phil's Lab #132
34:50
Phil’s Lab
Рет қаралды 47 М.
STM32 + LVGL Firmware Tutorial - Phil's Lab #147
29:07
Phil’s Lab
Рет қаралды 15 М.
STM32 + LCD Display (FMC) Firmware Tutorial - Phil's Lab #146
36:02
My Favorite Home Lab So Far
30:22
Hardware Haven
Рет қаралды 259 М.