How to use USB HID Devices as Arduino Inputs - Keyboards, Mice, Magstripe/Barcode readers, and more!

Поделиться
HTML-код
  • Опубликовано: 27 дек 2024

Комментарии • 17

  • @DaveVW
    @DaveVW 5 месяцев назад +1

    Awesome explanation, and why what library and includes to be used and why. Knowing why can empower us to do the right thing.

  • @lindsaymcphee2885
    @lindsaymcphee2885 5 месяцев назад

    Different brands of barcode scanner may transmit the barcode symbology as prefix or suffix data which changes depending on the encoding of the barcode..
    A, E, F, FF are common for UPC and EAN symbologies Code128, QR etc will have their own prefix (just not off the top of my head on a Sunday night)
    Code39 usually has *at start and end.
    Some may also transmit a CRC checksum digit.

  • @朱俊峰-u8n
    @朱俊峰-u8n 2 месяца назад

    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

  • @TokkanFX
    @TokkanFX 5 месяцев назад +4

    A Teensy 4 has USB HID built in for mice, keyboards, joystick, MIDI etc.

    • @hexidev
      @hexidev 5 месяцев назад

      The newer esp32's have them also (the s3 for example)

  • @Idontlikethisname-zy3zn
    @Idontlikethisname-zy3zn Месяц назад

    do you know how to connect usb camera to esp32 s3?

  • @jaycee1980
    @jaycee1980 5 месяцев назад

    i've been doing the opposite recently - creating USB HID devices (specifically joysticks!) using Atmel AVR processors and V-USB :)

  • @Ernzt8
    @Ernzt8 5 месяцев назад

    Great explanation, thanks. If you use the Arduino power plug, doesn't that provide external power for the USB device as well?

  • @GudinVladimir
    @GudinVladimir 5 месяцев назад

    2:54 Nice little pet on the top left corner of the screen )

  • @KrazeeKraftZ
    @KrazeeKraftZ 5 месяцев назад

    As always a great presentation with excellent explanations, im now thinking how to use this in an escape room scenario, the barcode scanner specifically to provide hints or clues. My pc mouse and keyboard are wireless with a bluetooth dongle, could a wireless barcode reader also be used without too much fuss ??

  • @sanjaybhatikar
    @sanjaybhatikar 5 месяцев назад

    Seriously cool, dude!

  • @alranel
    @alranel 5 месяцев назад

    Arduino GIGA R1 has builtin USB host functionality and two USB ports so you can connect USB directly without additional hardware :)

  • @Tech-Relief
    @Tech-Relief 4 месяца назад

    Just use one of the many ESP32-S3 boards and you won't need to add any additional hardware. They can act as a host natively, some even have two USB-C ports and they also support JTAG debugging. For this reason I seldomly use Arduino boards anymore.

  • @Matt-d5z
    @Matt-d5z 5 месяцев назад

    What is an 'instance' and what is a 'class'???