Adafruit_TinyUSB_Arduino
arduino-esp32
Adafruit_TinyUSB_Arduino | arduino-esp32 | |
---|---|---|
9 | 228 | |
432 | 12,636 | |
2.8% | 2.3% | |
9.0 | 9.6 | |
6 days ago | 7 days ago | |
C | C++ | |
MIT License | GNU Lesser General Public License v3.0 only |
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.
arduino-esp32
-
Any good/worthwhile Camera sensor modules for arduino/pico for still photography?
You could just buy ready-made ESP32 boards with an OV2640 camera built-in, then customize the example sketch from https://github.com/espressif/arduino-esp32/tree/master/libraries/ESP32/examples/Camera/CameraWebServer to your liking.
- I am trying to write to an SD card, it "works" but I can only find the file on PC if I use data recovery software?
-
ESP32 memory corruption
Are you perhaps this poster? https://github.com/espressif/arduino-esp32/issues/5250 - asking that poster for the list I just asked for went nowhere and it was auto-closed.
-
ESP32 WiFiMulti: Connect to the Strongest Wi-Fi Network (from a listing of networks).
/* * Based on the following examples: * WiFi > WiFiMulti: https://github.com/espressif/arduino-esp32/blob/master/libraries/WiFi/examples/WiFiMulti/WiFiMulti.ino * WiFi > WiFiScan: https://github.com/espressif/arduino-esp32/blob/master/libraries/WiFi/examples/WiFiScan/WiFiScan.ino * Complete project details at our blog: https://RandomNerdTutorials.com/ * */ #include #include WiFiMulti wifiMulti; // WiFi connect timeout per AP. Increase when connecting takes longer. const uint32_t connectTimeoutMs = 10000; void setup(){ Serial.begin(115200); delay(10); WiFi.mode(WIFI_STA); // Add list of wifi networks wifiMulti.addAP("ssid_from_AP_1", "your_password_for_AP_1"); wifiMulti.addAP("ssid_from_AP_2", "your_password_for_AP_2"); wifiMulti.addAP("ssid_from_AP_3", "your_password_for_AP_3"); // WiFi.scanNetworks will return the number of networks found int n = WiFi.scanNetworks(); Serial.println("scan done"); if (n == 0) { Serial.println("no networks found"); } else { Serial.print(n); Serial.println(" networks found"); for (int i = 0; i < n; ++i) { // Print SSID and RSSI for each network found Serial.print(i + 1); Serial.print(": "); Serial.print(WiFi.SSID(i)); Serial.print(" ("); Serial.print(WiFi.RSSI(i)); Serial.print(")"); Serial.println((WiFi.encryptionType(i) == WIFI_AUTH_OPEN)?" ":"*"); delay(10); } } // Connect to Wi-Fi using wifiMulti (connects to the SSID with strongest connection) Serial.println("Connecting Wifi..."); if(wifiMulti.run() == WL_CONNECTED) { Serial.println(""); Serial.println("WiFi connected"); Serial.println("IP address: "); Serial.println(WiFi.localIP()); } } void loop(){ //if the connection to the stongest hotstop is lost, it will connect to the next network on the list if (wifiMulti.run(connectTimeoutMs) == WL_CONNECTED) { Serial.print("WiFi connected: "); Serial.print(WiFi.SSID()); Serial.print(" "); Serial.println(WiFi.RSSI()); } else { Serial.println("WiFi not connected!"); } delay(1000); }
- problems connecting esp32 to sd card
-
ESP32 S2 Help
I have 2 ESP32-S2-Saolo-1 's on hand. I am trying to do the example Wifi FTM code that can be found at the following repo: https://github.com/espressif/arduino-esp32/tree/master/libraries/WiFi/examples/FTM
-
The Nano ESP32
That has not been my experience at all as a user. ESPHome is even easier than Arduino and I haven’t touched firmware code in years.
The price makes a huge difference when you have dozens of them operating which is trivial with a decent hydroponics and smarthome setup. I also have a dozen boards just sitting idle ready to be called up to replace a failed one or use for a new project because they’re so cheap.
Not to mention the Arduino core is supported officially by ESP32: https://github.com/espressif/arduino-esp32
Who actually uses Arduino in production? Everyone just uses modules (for ESP32) or rolls their own using the Arduino board as a reference.
-
Arduino Uno R4 WiFi
They've done a good job of hiding the RTOS from you and making most sketches run fine without porting, but you're still running as a task under the RTOS, yielding between loop() calls[1]. This leads to mysterious timing issues if you aren't aware of it[2]
It doesn't appear that the Arduino core for the Renesas chip is using the RTOS, at least by default -- its main loop is literally doing while (1) { loop(); }, similar to how the AVR core works. [3, 4]
1. https://github.com/espressif/arduino-esp32/blob/72c41d09538663ebef80d29eb986cd5bc3395c2d/cores/esp32/main.cpp#L45
-
exit status 1 error not going away! Pls help
https://github.com/lewisxhe/esp32-camera-series/issues/11 may interest you - you need all the files in the same dir, not just the .ino by itself
-
Do you have any idea why this program would not work? [ESP32]
I copied all the libraries from here: https://github.com/espressif/arduino-esp32/tree/master/libraries
What are some alternatives?
tinyusb - An open source cross-platform USB stack for embedded system
esp-idf - Espressif IoT Development Framework. Official development framework for Espressif SoCs.
EspTinyUSB - ESP32S2 native USB library. Implemented few common classes, like MIDI, CDC, HID or DFU (update).
Tasmota - Alternative firmware for ESP8266 and ESP32 based devices with easy configuration using webUI, OTA updates, automation using timers or rules, expandability and entirely local control over MQTT, HTTP, Serial or KNX. Full documentation at
lufa - LUFA - the Lightweight USB Framework for AVRs.
platform-espressif32 - Espressif 32: development platform for PlatformIO
USBMidiKliK4x4 - UMK4x4 - 4-16 in/out and 3-15 IN/3OUT USB MIDI interface for STM32F103 series board
WLED - Control WS2812B and many more types of digital RGB LEDs with an ESP8266 or ESP32 over WiFi!
arduino-pico - Raspberry Pi Pico Arduino core, for all RP2040 boards
esp32-wifi-penetration-tool - Exploring possibilities of ESP32 platform to attack on nearby Wi-Fi networks.
testUSB
TinyGo-On-ESP32 - This tutorial will walk you through how to setup Ubuntu 20.10 with Ubuntu Desktop on a Raspberry Pi 4B, install the Espressif ESP-IDF, install Go and TinyGo and finally flash an app to an Espressif ESP32 Microcontroller.