Interface Mouse and Keyboard with STM32 || USB HOST HID || CUBEIDE || HAL

  Рет қаралды 24,872

ControllersTech

ControllersTech

Күн бұрын

Пікірлер: 51
@haythemjelassi4766
@haythemjelassi4766 2 жыл бұрын
Could you please make a tutorial how to interface usb joystick with stm32?
@eXtremeElectronics
@eXtremeElectronics 2 жыл бұрын
Thank you for sharing valuable information!
@朱俊峰-u8n
@朱俊峰-u8n 27 күн бұрын
Have you considered developing without using graphics? Because I found that there seems to be very little information on the development of host driver, this problem bothers me very much😊
@adolfjap
@adolfjap 2 ай бұрын
I have a question,If press multiple keys simultaneously what will happen?
@technics6215
@technics6215 Жыл бұрын
Oh dear, it is so simple... Thank you!
@ltva8781
@ltva8781 Жыл бұрын
I did everything from this tutorial on NUCLEO-H743ZI2 board. LD8 is bright but it seems like the kryboard does not receive any power since when I try to press numlock or capslock buttons the LEDs on keyboard do not light up and I receive no messages on MCU side. What I am doing wrong?
@EdwinFairchild
@EdwinFairchild 7 ай бұрын
your keyboard may be wanting more power than the board can supply. also check the user manual of the H7 board to see what regulators you may need to enable.
@ltva8781
@ltva8781 7 ай бұрын
@@EdwinFairchild I tried plugging in USB flashlight that consumes 200 mA and it lights up properly, so there shouldn't be a power issue...
@safiakhan2034
@safiakhan2034 9 ай бұрын
can you please send me the connection diagram for mouse. I connected my stm32f407 board with the mouse with OTG cable and the other side to computer with a usb cable but i do not see anything in my serial monitor
@night_gryphon
@night_gryphon 4 ай бұрын
What about connecting gamepad?
@adolfjap
@adolfjap 2 ай бұрын
If press alt+tab what will happen ?
@nikhilkp9579
@nikhilkp9579 Жыл бұрын
Hello, As you disabled the debug pins. After flashing for the first time, how did you re connect the board to the pc? I'm facing No stm32 target found error after flashing this code. Please respond asap.
@ControllersTech
@ControllersTech Жыл бұрын
Erase entire memory using the stm32 cube programmer. Then it will work.
@KostsovKonstantin
@KostsovKonstantin 3 жыл бұрын
Thank you for the video.
@uguraltunbilek
@uguraltunbilek 2 жыл бұрын
thanks for this beatifuly tutorial .
@mahdiforughi2789
@mahdiforughi2789 2 жыл бұрын
Thanks for your great tutorials. one question, how can I use other languages on my keyboard?
@ControllersTech
@ControllersTech 2 жыл бұрын
I guess it only supports the ascii characters. So no other languages for now
@DraveS21
@DraveS21 3 жыл бұрын
What i should do if i want to make gamepad?
@Broman3100
@Broman3100 4 жыл бұрын
Great vid, quick question: can you use usb HID on every stm with usb or you need specific peripherals for that?
@ControllersTech
@ControllersTech 4 жыл бұрын
Yeah we need USB HID peripheral for that..
@Broman3100
@Broman3100 4 жыл бұрын
Noob question, an mcu can have USB but not USB HID?
@ControllersTech
@ControllersTech 4 жыл бұрын
Depends on the mcu. Like f103C8 have usb but only the device mode, not the host.. So this particular tutorial won't work.
@Broman3100
@Broman3100 4 жыл бұрын
@@ControllersTech I see, thanks for the answers
@a1nelson
@a1nelson 4 жыл бұрын
I’m not 100% sure on this, but I think the black pill boards have an STM32F4, which most likely has a host controller. They are just a touch more expensive than the blue pills, but not too bad. Edit: I just checked the data sheets for the black pill F401 and F411 variants. Both support host mode. I didn’t look long, but appears that they are available for under 5 USD from the typical Chinese sources and about double that from vendors in the US. Depending on your application, that’s really a bargain.
@НиколайКрасиков-ы8й
@НиколайКрасиков-ы8й 4 жыл бұрын
How do I make this project in SPL? More lessons on SPL/LL..
@Rtek-zv5lr
@Rtek-zv5lr Жыл бұрын
Sorry, but this video isn't about Keyboard and Mouse, it's about Keyboard OR Mouse. Need HUB to be Keyboard and Mouse, right? I'm looking for HUB code, can you tell me where I can find some current repository please? Thanks.
@christophertheriault3308
@christophertheriault3308 Жыл бұрын
Currently the Cube USB stack doesn't support hubs...
@blackcathardware6238
@blackcathardware6238 3 жыл бұрын
Are Mouse and Keyboard working at the same time if you connect your eval-board to a USB-Hub and Mouse and Keybord to it?
@ControllersTech
@ControllersTech 3 жыл бұрын
Maybe you should try and report if they do 🙂
@usrrsr
@usrrsr 4 жыл бұрын
Worked after changing usb fs speed to 1.5mb instead of 12mb
@ajdarseidzade688
@ajdarseidzade688 3 жыл бұрын
Excellent. Thank you!
@deadall127
@deadall127 4 жыл бұрын
do you plan on making a similar video where the stm32 is the device and not the host? stm official tutorials are so bad, impossible to understand things like keyboard reports, media keys, mouse, usb polling rate etc
@ControllersTech
@ControllersTech 4 жыл бұрын
Hmm i will but later. I don't have the board with USB OTG yet. So once i get that, I'll start making them
@jorchick
@jorchick 4 жыл бұрын
@@ControllersTech I also waiting tutorial about keyboard emulation :)
@a1nelson
@a1nelson 4 жыл бұрын
Controllers Tech Sounds great. I’d be happy to send you another dev board. Do you have a Patreon, Amazon wish list or something like that? I really enjoy your channel - it has been super helpful to me - and I would be pleased to help support it.
@ControllersTech
@ControllersTech 4 жыл бұрын
I appreciate that... I'll get it myself though. Some lockdown restrictions are here at my place. Once this will be over, I'll order one..
@deadall127
@deadall127 4 жыл бұрын
@@ControllersTech awesome, I'm looking forward seing that :D
@Jokalor
@Jokalor Жыл бұрын
how to do on windows 10?
@ilkeraykut7064
@ilkeraykut7064 2 жыл бұрын
Thanks for the tutorial.Could you make a tutorial about custom HID device like gamepad?
@kadirbirci4939
@kadirbirci4939 Жыл бұрын
Did you find any information about interfacing gamepad?
@jhankhanajoshi2052
@jhankhanajoshi2052 3 жыл бұрын
I am working with STM32F429 bord. I have checked everything but code is not working. Please guide me regarding this.
@ControllersTech
@ControllersTech 3 жыл бұрын
Contact on discord or telegram
@anthonygallien5976
@anthonygallien5976 2 жыл бұрын
Same for me, did you find an answer ?
@jhankhanajoshi2052
@jhankhanajoshi2052 2 жыл бұрын
@@anthonygallien5976 If it's only about mouse then probably you have to check with another one. Some of the mouse does not contain this HID .... Above was the problem with my mouse
@jhankhanajoshi2052
@jhankhanajoshi2052 3 жыл бұрын
still I am confused about silly thing. which one is power pin and which one works as data. pls guide me
@ControllersTech
@ControllersTech 3 жыл бұрын
What do you mean ?
@jhankhanajoshi2052
@jhankhanajoshi2052 3 жыл бұрын
@@ControllersTech Pin near ethernet is OTG USB which passes the data and pin at opposite side st link for power supply. So, to pass on data I have to use OTG cable between OTG USB pin and keyboard. Did I understand correct?
@ControllersTech
@ControllersTech 3 жыл бұрын
Well that depends on what board you have. Check it's datasheet or the product description guide. Mostly "user" is written on the user USB.
@jhankhanajoshi2052
@jhankhanajoshi2052 3 жыл бұрын
@@ControllersTech ok Thank you
@GoracyKanal
@GoracyKanal 4 жыл бұрын
This is a great channel, but why are you using a speech synthesizer?
@unomasenelmar
@unomasenelmar 4 жыл бұрын
maravilla
WATCHDOGS in STM32 || IWDG and WWDG || CubeIDE
16:56
ControllersTech
Рет қаралды 30 М.
Use STM32 as a KEYBOARD || F103C8 || USB Device HID
19:19
ControllersTech
Рет қаралды 32 М.
When u fight over the armrest
00:41
Adam W
Рет қаралды 24 МЛН
Amazing remote control#devil  #lilith #funny #shorts
00:30
Devil Lilith
Рет қаралды 15 МЛН
Custom USB HID Interface using STM32 (stm32f103c8)
32:35
Oussama Ousmoi (OusLab)
Рет қаралды 16 М.
STM32 as HID device - Keyboard | Video 22
24:59
Matej Blagšič
Рет қаралды 25 М.
6 Horribly Common PCB Design Mistakes
10:40
Predictable Designs
Рет қаралды 214 М.
Pico - USB (host) in and (device) out
10:29
Brenden Adamczak
Рет қаралды 19 М.
Why 4d geometry makes me sad
29:42
3Blue1Brown
Рет қаралды 690 М.
ThreadX on STM32 Made Easy: Step-by-Step Startup Tutorial
23:37
PR TechTalk
Рет қаралды 4,6 М.
How to EMULATE STM32F103 as a MOUSE || CubeIDE || USB HID DEVICE
17:25
ControllersTech
Рет қаралды 17 М.
Why Are Open Source Alternatives So Bad?
13:06
Eric Murphy
Рет қаралды 672 М.