Building a USB - HID Keyboard (DIY on a prototyping board)

Sdílet
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

Komentáře • 24

  • @ryanajames3719
    @ryanajames3719 Před 2 lety +15

    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

    • @coreWeaver
      @coreWeaver  Před rokem +4

      thank you so much ! Keep your thumbs up and stay tuned for more

  • @AliasdHacker
    @AliasdHacker Před 16 dny

    Impressive write-up and explanation. Your content is well made.

  • @jane.q6280
    @jane.q6280 Před rokem +4

    Amazing soldering skills. Thanks for the video

  • @zengwenxin8402
    @zengwenxin8402 Před 2 lety +10

    Nice work! Are you going to make some instruction or tutorial of how you write the firmware and program it?

  • @hobomaster6237
    @hobomaster6237 Před 2 lety +4

    cool project . would love a tutorial on the firmware and program

  • @venom_ftw9316
    @venom_ftw9316 Před 11 měsíci +1

    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?

  • @mathicalee
    @mathicalee Před rokem

    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.

  • @iceinmylean3947
    @iceinmylean3947 Před rokem +2

    Cool stuff. How did you implement the whole USB communication on this device? Did you use something like V-USB?

    • @coreWeaver
      @coreWeaver  Před 7 měsíci +2

      no, I wrote my own stack

    • @iceinmylean3947
      @iceinmylean3947 Před 7 měsíci

      @@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?

    • @coreWeaver
      @coreWeaver  Před 7 měsíci +1

      @@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

    • @dekus80
      @dekus80 Před 2 měsíci

      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.

  • @jeffreywalter6213
    @jeffreywalter6213 Před rokem +3

    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.

    • @coreWeaver
      @coreWeaver  Před rokem +1

      sure. send me an email: core.weaver@gmail.com

    • @jane.q6280
      @jane.q6280 Před rokem +2

      ​​@@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

    • @coreWeaver
      @coreWeaver  Před rokem +2

      @@jane.q6280 sure. I'll get back to you

  • @Edo_o_
    @Edo_o_ Před 4 měsíci

    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

  • @overcheats4518
    @overcheats4518 Před rokem +3

    Is there any way to contact you ? :)

  • @tobiaskarl4939
    @tobiaskarl4939 Před rokem +2

    Any AVR with 20 Mhz can do that ?

    • @coreWeaver
      @coreWeaver  Před 7 měsíci +1

      basically, yes. the fw is compiled for the avr I had on my table at that moment.

  • @BrightBlueJim
    @BrightBlueJim Před 3 měsíci

    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!