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😊
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
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?
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.
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.
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
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.
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.
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.
@@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
@@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?
Could you please make a tutorial how to interface usb joystick with stm32?
Thank you for sharing valuable information!
Oh dear, it is so simple... Thank you!
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😊
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
I have a question,If press multiple keys simultaneously what will happen?
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?
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.
@@EdwinFairchild I tried plugging in USB flashlight that consumes 200 mA and it lights up properly, so there shouldn't be a power issue...
Worked after changing usb fs speed to 1.5mb instead of 12mb
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.
Erase entire memory using the stm32 cube programmer. Then it will work.
If press alt+tab what will happen ?
What about connecting gamepad?
thanks for this beatifuly tutorial .
Thanks for the tutorial.Could you make a tutorial about custom HID device like gamepad?
Did you find any information about interfacing gamepad?
Thank you for the video.
Thanks for your great tutorials. one question, how can I use other languages on my keyboard?
I guess it only supports the ascii characters. So no other languages for now
How do I make this project in SPL? More lessons on SPL/LL..
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
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
@@ControllersTech I also waiting tutorial about keyboard emulation :)
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.
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..
@@ControllersTech awesome, I'm looking forward seing that :D
Excellent. Thank you!
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.
Currently the Cube USB stack doesn't support hubs...
What i should do if i want to make gamepad?
how to do on windows 10?
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?
Maybe you should try and report if they do 🙂
Great vid, quick question: can you use usb HID on every stm with usb or you need specific peripherals for that?
Yeah we need USB HID peripheral for that..
Noob question, an mcu can have USB but not USB HID?
Depends on the mcu. Like f103C8 have usb but only the device mode, not the host.. So this particular tutorial won't work.
@@ControllersTech I see, thanks for the answers
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.
This is a great channel, but why are you using a speech synthesizer?
I am working with STM32F429 bord. I have checked everything but code is not working.
Please guide me regarding this.
Contact on discord or telegram
Same for me, did you find an answer ?
@@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
still I am confused about silly thing. which one is power pin and which one works as data. pls guide me
What do you mean ?
@@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?
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.
@@ControllersTech ok Thank you
maravilla