Search found 6 matches

by mirmit
Sat Apr 26, 2025 3:19 pm
Forum: ESP-IDF
Topic: ESP32-S3-USB_OTG host mode
Replies: 3
Views: 945

Re: ESP32-S3-USB_OTG host mode

Hi there,

After trying with a different example, I failed again with the same symptoms.

Turn out in addition to bring power on the proper route, the power needs to be routed to the port.

I used this code snippet from the SDK


#include "driver/gpio.h"

static const char *USB_ADDITIONS_TAG ...
by mirmit
Tue Apr 22, 2025 8:17 am
Forum: ESP-IDF
Topic: ESP32-S3-USB_OTG host mode
Replies: 3
Views: 945

Re: ESP32-S3-USB_OTG host mode (solved)

Hi,

Quite ashamed of the simple solution and the hours lost on this one.

The boars is powered by USB Debug port (micro-USB) or USB DEV(or battery if present).

However, the USB Host port is only powered by the VUSB line coming exclusively from the USB DEV port of the battery.

So, to have USB Host ...
by mirmit
Mon Apr 21, 2025 3:17 pm
Forum: ESP-IDF
Topic: ESP32-S3-USB_OTG host mode
Replies: 3
Views: 945

ESP32-S3-USB_OTG host mode

Hi,

I'm trying to have ESP32-S3 working as USB Host for USB HID peripherals in order to receive keystrokes and/or mouse events.

I'm using an ESP32-S3-USB-OTG dev board with the usb_host_lib_example code. The program start correctly on the board, and is alive, as when presing the BOOT button, the ...
by mirmit
Sat Mar 04, 2023 11:55 pm
Forum: ESP-IDF
Topic: BT/BLE HID device to multiple hosts
Replies: 0
Views: 933

BT/BLE HID device to multiple hosts

Hello,

Is it possible to have a ESP32 acting as HID device to be connected to multiple hosts and selectively send the message to one or other - i.e. having a keyboard connected to multiples PC and being able to send its keypress to one or other host devices?

Thanks,
by mirmit
Sat Sep 02, 2017 10:33 am
Forum: ESP32 Arduino
Topic: Strange Interrupt behavior on IO
Replies: 2
Views: 6114

Re: Strange Interrupt behavior on IO

I've tested by adding the interrupt info into a buffer and printf in the main look.


void pin0LChanged() {
if (pos < 100)
buf[pos++] = 0x30;
}
void pin1LChanged() {
if (pos < 100)
buf[pos++] = 0x31;
}
void pin2LChanged() {
if (pos < 100)
buf[pos++] = 0x32;
}
And in the loop, the output part ...
by mirmit
Sat Aug 26, 2017 9:11 am
Forum: ESP32 Arduino
Topic: Strange Interrupt behavior on IO
Replies: 2
Views: 6114

Strange Interrupt behavior on IO

I'm in the process of migrating dome ESP8266 code to ESP32 and face a strange Interrupt handler behavior.

The ESP32 is connected to an external system - hoverboard. The hall sensors, detecting wheel movements raise a square signal. I connect the 3 signal to 3 input pins on ESP32. I'm using a very ...

Go to advanced search