Building a USB - HID Keyboard (DIY on a prototyping board)
Vložit
- čas přidán 3. 03. 2022
- The prototyping process of a USB HID Keyboard. The hardware is built on a raster board. There's also an extension board for an SD-Card and a Bluetooth module. I'm planning to make this into a micro USB thumbstick which will emulate a HID device (Keyboard/Joystick or Mouse), and will be able to run scripts from the SD-Card and accept external commands via Bluetooth.
------------------------------------------------------------------------------------------------------------------------
Music - Credits
------------------------------------------------------------------------------------------------------------------------
"Night Train" by DanucD
Free Music for CZcamsrs
Royalty Free Music No Copyright No Attribution
• Night Train by DanucD ...
"Voyage" by LEMMiNO
Licensed under Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)
/ lemmino-voyage
"Comet Halley" by Stellardrone
Licensed under Creative Commons License (CC BY)
/ stellardrone-comet-halley
------------------------------------------------------------------------------------------------------------------------
If you like the music please support the authors by buying their work.
Thanks for watching !
coreWeaver March, 2022 - Věda a technologie
I've seen a couple of videos related to HID keyboards on CZcams. Some people are using much "bigger" micros, esp32, blue pill, even rasp pi. This is by far the most cost effective and easiest to implement solution. Great video, as always
thank you so much ! Keep your thumbs up and stay tuned for more
Impressive write-up and explanation. Your content is well made.
Amazing soldering skills. Thanks for the video
thank you for watching
Nice work! Are you going to make some instruction or tutorial of how you write the firmware and program it?
cool project . would love a tutorial on the firmware and program
This is really awesome work, I'm working on a project like this and I was wondering if you could help me understand the firmware of for this project.
I noticed that you are using the IO pins of the MCU for USB communication. Is there a specific way you're sending those commands or is there anything else?
Hey, nice work 👍 I wonder which key you used for media volume increase and decrease. I was able to manage other keys, but not the multimedia keys.
Cool stuff. How did you implement the whole USB communication on this device? Did you use something like V-USB?
no, I wrote my own stack
@@coreWeaver that's pretty sick. I assume it's very minimal given the footprint of the device? Will you be sharing this by any chance?
@@iceinmylean3947 the fw is heavily based on a piece of code I wrote for a company. I also have an nda signed with them so I can't make the source public. I can however recompile a custom fw. I did that a couple of times for other projects
Author stuck in 90х. I was already programming at90s avr at that time.
In 2010x there were already stm8 in the same 8bit category, head above avr. At that time I forgot about avr, like a bad dream. stm8 already had 1-wire programming, on-the-fly settings, with better peripherals and an on-board debugger full-fledged uc at the price like an attiny stump.
Now you can buy stm32 like ch32v203 with phy usb with no external components for 0.5$ for chip. You can buy esp32-c3 module pcb with bluetooth and wifi for 1.8$. And so on. You should take uc for the task, and not to try use one for all. When I did a full size usb/bluetooth keyboart I took 1.3$ ch582m chip with usb/bluetooth onboard and with many pins. If there were any other conditions, I would choose from them.
And 8bit uc has already died out as a class. Now 32bit uc can be bought even for 18 cents in retail by piece. "code I wrote for a company" with avr in 2024?, ahahaha.
Can I purchase one of these devices ready to go? I want to use a contact closure from the output of an Allen-Bradley Micro820 PLC to trigger an "ENTER" HID keypress input to a PC.
sure. send me an email: core.weaver@gmail.com
@@coreWeaver need a modified version of this, with 4 keys and two analog inputs. The inputs will be a temp sensor and a water level sensor. Can you modify the design to do this ? I sent you an email with the specifications. Thanks in advance
@@jane.q6280 sure. I'll get back to you
Hey man I;m doing a similar project, would you mind sharing your firmware ? So that I can figure out what I'm doing wrong, thanks
Is there any way to contact you ? :)
core.weaver@gmail.com
Any AVR with 20 Mhz can do that ?
basically, yes. the fw is compiled for the avr I had on my table at that moment.
Yes, I get that the name of the channel is Designing HARDWARE, but it looks like a number of us are interested in your software development process as well. Do tell!