STM32 Blue Pill as an Hid USB Keyboard
21–30 of 34 posts
Re: STM32 Blue Pill as an Hid USB Keyboard
#22The F103 microcontroller on the blue pill is the epicenter of price hiking during the semiconductor shortage. I've seen prices upwards of 35 USD for each chip. It was more expensive to get one of these chip than to get a Raspberry Pi. I think it is better to use the Nucleo series of evaluation boards from ST now as they have first party support from ST.
I ordered a NUCLEO-G474RE directly from ST yesterday. I could only add one to the cart, whereas I wanted two. When I recently bought two NUCLEO-F334R8 I didn't encounter this. So apparently there is limited stock, and someone else that wants one can get it despite me. That's fine; I'll go back later and get another. It's great to see at least one damn company thinking this way. BTW, they're providing free shipping fo…
Re: STM32 Blue Pill as an Hid USB Keyboard
#23Can someone explain what this is actual for? Is this just a tutorial for creating your own DIY USB client device?
Yes, it looks like it's "just" a tutorial. As someone who recently started dabbling into MCU programming, I can tell you that a tutorial that shows you all the steps, and has an end result that works and can still be tweaked, is valuable. The DX you may be used to in modern programming is something you can only dream of in the embedded world. Every manufacturer has their own bespoke frameworks, tools, and conventions…
?
Re: STM32 Blue Pill as an Hid USB Keyboard
#24Earlier quoted context omitted.
Windows HID interface is very flexible IIRC, and even added I2C support to the HID module or something... in Windows 8 or so? I don't know all the details, but as I understand it, you don't necessarily need a USB License ($5000/year membership fee) to have a microcontroller running USB-HID across Windows. Though I haven't figured out all the details of how all the mechanics work, its still interesting to work through…
Windows will try to use the VendorID/ProductID pair on the device to look up which driver to load, but if there isn't any then a regular USB-HID device will default to using the generic HID driver. You'd get assigned a VendorID if you have a USB license: That is a USB-IF thing, not a Microsoft thing. Then each licensee gets to assign its own ProductIDs. There is no authentication in the core USB protocol: A device ca…
I received one for a virtual usb keyboard [2] that I made to work alongside a desktop app. Having a dedicated VID/PID makes detecting the presence of the device easy.
Re: STM32 Blue Pill as an Hid USB Keyboard
#25Earlier quoted context omitted.
Yes, it looks like it's "just" a tutorial. As someone who recently started dabbling into MCU programming, I can tell you that a tutorial that shows you all the steps, and has an end result that works and can still be tweaked, is valuable. The DX you may be used to in modern programming is something you can only dream of in the embedded world. Every manufacturer has their own bespoke frameworks, tools, and conventions…
> The DX ?
Re: STM32 Blue Pill as an Hid USB Keyboard
#26The F103 microcontroller on the blue pill is the epicenter of price hiking during the semiconductor shortage. I've seen prices upwards of 35 USD for each chip. It was more expensive to get one of these chip than to get a Raspberry Pi. I think it is better to use the Nucleo series of evaluation boards from ST now as they have first party support from ST.
Re: STM32 Blue Pill as an Hid USB Keyboard
#27Can someone explain what this is actual for? Is this just a tutorial for creating your own DIY USB client device?
Re: STM32 Blue Pill as an Hid USB Keyboard
#28Can someone explain what this is actual for? Is this just a tutorial for creating your own DIY USB client device?
Blogspam. One of many Bluepill + DIY keyboard articles.
Re: STM32 Blue Pill as an Hid USB Keyboard
#29Can someone explain what this is actual for? Is this just a tutorial for creating your own DIY USB client device?
One example might be bridging an old dumb keyboard into working as a usb keyboard.