Adafruit_TinyUSB_Arduino
EspTinyUSB
Adafruit_TinyUSB_Arduino | EspTinyUSB | |
---|---|---|
9 | 12 | |
432 | 465 | |
2.8% | - | |
9.0 | 0.0 | |
6 days ago | over 1 year ago | |
C | C++ | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Adafruit_TinyUSB_Arduino
-
Benchmarking latency across common wireless links for microcontrollers
https://gitlab.com/baiyibai/pico-w-usb-host-mqtt-numpad
https://github.com/adafruit/Adafruit_TinyUSB_Arduino
My implementation plugs in much higher into the stack and doesn't read the full USB bit mask output, which indicates how many keys are pressed/released.
From my limited understand ing, it should be possible to pass these USB messages from HID client to HID host and vice-versa. Then it's only a matter of sending this information over a TCP/UDP interface. However, from my research, it seems the TinyUSB library doesn't provide the full bitmask resolution necessary for all devices. The YouTuber Wendell from LevelOneTechs has also talked about the troubles of getting some devices working with his KVM products, so it may not be as simple as I'm suggesting here.
Overall though, a $15/endpoint is very attractive.
- Physical Knobs and Elixir
-
ESP32-S2 and USB OTG
I'm curious about this restriction to ESP32-S series as shown here: https://docs.tinyusb.org/en/latest/reference/supported.html . This article https://www.pschatzmann.ch/home/2021/02/19/tinyusb-a-simple-tutorial/ claims that "Most Microcontrollers have a built in Serial USB functionality that can not be changed (e.g. ESP32, ESP8266". OTOH, https://github.com/adafruit/Adafruit_TinyUSB_Arduino indicates that all ESP32 chips are supported.
-
What microcontroller I can use for Dual USB driving as an FTDI chip replacement?
Well theorically any Arduino with a native USB connection (Atmega32u4, SAMD21, STM32, ESP32, Raspberry Pico...) would be able to do that, the difficult part is mostly finding a good library that can do that if you're not an ultra expert programmer. Here is an example, this one can support SAMD, ESP32 and Pico for instance (be careful you need specific cores to make it run). Here is an example how to use it
- ESB32-S3 + NAND SD Storage + USB MSC = Arduino that shows up like a disk drive
- TinyUSB: Open-source cross-platform USB Host/Device stack for embedded systems
-
Arduino tinyUSB on ESP32-S2. I'm over my head.
I have the Adafruit ESP32-S2 TFT board, and I am trying to read in a USB peripheral on my ESP board. I thought this was going to be an easy task and I am quite overwhelmed. I was hoping I could stay in the circuitpython ecosystem, but it seems like making the ESP32 a USBhost is not supported yet. My next level of comfort would be in the arduino ecosystem using https://github.com/adafruit/Adafruit_TinyUSB_Arduino. I believe this will do what I want, but I am having difficulty porting it into the Arduino core. Has anybody here done this successfully? I'm specifically stuck on #2:
-
I've been working on a new sound library for the ESP32, but I could use some help.
Alternatively, go up a level and use Arduino and the Arduino TinyUSB wrapper library. This is also in active development with many recent MIDI fixes.
-
Is it possible to access the S3 USB interface (not the serial one) from Arduino? If so, what does it look like?
This is what you want https://github.com/adafruit/Adafruit_TinyUSB_Arduino There are examples for various USB device types.
EspTinyUSB
- USB host on ESP32 with Arduino IDE
-
ESP32-S2 - mount sd card as MSC (gadget mode) R/W?
Picked up a LilyGO T-Dongle (ESP32-S2) and going through their github (https://github.com/Xinyuan-LilyGO/T-Dongle-ESP32S2), they only have an example for reading the NAND over USB, via MSC. Has anyone been able to get the SD accessible for read and write in device mode on this or any other ESP32-S2 board? Tried using chegewara's EspTinyUSB, but couldn't get the device to appear in OTG mode.
-
USB is not building
In Arduino I have the ESP32TinyUSB library, and the board is set to ESP32 Dev Module. I am attempting to build the sketch in the examples for the library at EspTinyUSB/mouse.ino at master · chegewara/EspTinyUSB (github.com) .
-
What's a good microcontroller that's easy to get nowadays? (Build a custom MIDI controller with USB)
The USB OTG pins CANNOT be remapped, which is one of the few functions that can't. Here's the library I use: https://github.com/chegewara/EspTinyUSB
-
Arduino tinyUSB on ESP32-S2. I'm over my head.
I've been using this: https://github.com/chegewara/EspTinyUSB with the S3, though it was made for the S2. It is for Arduino.
- ESP32S3 and TinyUSB confusion, who is "chegewara"? Espressif employee?
-
I've been working on a new sound library for the ESP32, but I could use some help.
I'd prefer to get the USB working first, and I've been using this project: https://github.com/chegewara/EspTinyUSB to try to get a sign life out of the thing.
-
Is it possible to access the S3 USB interface (not the serial one) from Arduino? If so, what does it look like?
You might be in luck because there is an example here. https://github.com/chegewara/EspTinyUSB/tree/master/examples/device/midi
- How can i connect a usb keyboard with Lolin s2 mini (esp32-s2) help please.
-
Are there any low cost ESP32-S2 dev boards?
Thanks for your reply. I see there is an active github discussion about USB support in the Arduino IDE, so I guess it is very new/cutting edge. I really like the look of /u/seonr's boards at Adafruit but I also hope we'll see some small/cheap/"pro" boards like the Arduino Pro Micro clones since it feels like this is what the S2 was designed for.
What are some alternatives?
tinyusb - An open source cross-platform USB stack for embedded system
arduino-esp32 - Arduino core for the ESP32
Arduino-USBMIDI - Allows a microcontroller, with native USB capabilities, to appear as a MIDI device over USB to a connected computer
lufa - LUFA - the Lightweight USB Framework for AVRs.
mt32-pi - 🎹🎶 A baremetal kernel that turns your Raspberry Pi 3 or later into a Roland MT-32 emulator and SoundFont synthesizer based on Circle, Munt, and FluidSynth.
USBMidiKliK4x4 - UMK4x4 - 4-16 in/out and 3-15 IN/3OUT USB MIDI interface for STM32F103 series board
arduino-pico - Raspberry Pi Pico Arduino core, for all RP2040 boards
ViGEmBus - Windows kernel-mode driver emulating well-known USB game controllers.
testUSB
mixxx - Mixxx is Free DJ software that gives you everything you need to perform live mixes.