Search found 15 matches

by gdsports
Tue Oct 03, 2023 6:14 am
Forum: ESP-IDF
Topic: Differences between Nimble and Bluedroid, and a question.
Replies: 1
Views: 1969

Re: Differences between Nimble and Bluedroid, and a question.

Take a look at blemouse2xac which reconnects bonded BLE mice without pairing.
It is an Arduino program but the logic should applicable.

https://github.com/touchgadget/blemouse2xac
by gdsports
Fri Sep 23, 2022 6:09 am
Forum: ESP32 Arduino
Topic: Using Bluetooth HID with ESP32
Replies: 2
Views: 4591

Re: Using Bluetooth HID with ESP32

I was able to get a BLE mouse working using this code. Thre is an example for a BLE joystick/gamepad.

https://github.com/esp32beans/BLE_HID_Client

And there is another example.

https://www.instructables.com/ESP32-Blu ... e-Control/
by gdsports
Thu May 19, 2022 4:37 pm
Forum: ESP-IDF
Topic: USB host EP 0 STALL
Replies: 4
Views: 4263

Re: USB host EP 0 STALL

The Xbox 360 controller is generally a human interface device but is not a USB HID. bInterfaceClass must be equal to 3 for a USB HID.
My Xbox 360 cheap clone is a vendor specific device. I suspect authentic Xbox 360 controllers are also vendor specific devices.
by gdsports
Mon May 16, 2022 6:09 pm
Forum: Hardware
Topic: USB Host example on ESP32-S3-DevKitC-1
Replies: 9
Views: 13490

Re: USB Host example on ESP32-S3-DevKitC-1

Look at the link for how to wire up a USB host connector on S2/S3. A USB OTG host cable is not sufficient because the USB port does not provide VBUS 5V output.

https://github.com/touchgadget/esp32-usb-host-demos
by gdsports
Wed May 04, 2022 9:49 pm
Forum: ESP-IDF
Topic: ESP32-S3 USB host interface to keyboard
Replies: 11
Views: 15613

Re: ESP32-S3 USB host interface to keyboard

Take a look these demos. Not complete implementations but maybe enough to get started. The code is for Arduino but is mostly C code that can be used with the IDF also.

https://github.com/touchgadget/esp32-usb-host-demos
by gdsports
Thu Oct 22, 2020 3:53 am
Forum: ESP32 Arduino
Topic: ESP32-S2-Kaluga-1 USB won't show serial port
Replies: 1
Views: 3228

Re: ESP32-S2-Kaluga-1 USB won't show serial port

https://docs.espressif.com/projects/esp ... ction.html

You may have to install FTDI serial drivers as mentioned above.
by gdsports
Fri Mar 08, 2019 9:30 pm
Forum: ESP32 Arduino
Topic: Trouble with SoftwareSerial. Alternative recommendations?
Replies: 4
Views: 12543

Re: Trouble with SoftwareSerial. Alternative recommendations?

I use hardware Serial2 pins RX=16,TX=17 on a SparkFun Thing ESP32.

Code: Select all

Serial2.begin(115200);
...
while (Serial2.available() > 0) {
	Serial2.read();
}
by gdsports
Sat Mar 02, 2019 1:13 am
Forum: ESP32 Arduino
Topic: parse http data from website
Replies: 4
Views: 9624

Re: parse http data from website

Wunderground previously supported a free HTTP API to return weather data in JSON. It was easy to use and many demos/example programs used it to create WiFi weather display stations. This service is no longer free so scraping the weather data from HTML is one option. Another option is to use openweat...
by gdsports
Wed Feb 13, 2019 9:02 pm
Forum: General Discussion
Topic: How to connect USB keyboard to ESP32?
Replies: 11
Views: 60059

Re: How to connect USB keyboard to ESP32?

I have been experimenting with using a SAMD21 (Trinket M0) in USB host mode to do something similar. The keyboard data (ASCII or USB HID report) is exported via UART so the ESP32 or ESP8266 does not need to know anything about USB host mode. Also this means it works with MicroPython, Espruino, Ardui...