Arduino and CH376 usb host module, reading USBMIDI

Hi.
I'm trying to receive MIDI USB massages via CH376 USB host.

It's the only module with USB HOST capabilities in my area and I had no time to wait for any deliveries. I found datasheets, where I found some words about the possibility of peripheral device connection to USB host, so I went off with that module, however I've seen a lot of posts about CH376, where its used only for reading/writing data to USB flash devices.

Im using Arduini Pro Micro and the basic 4-wires UART connection. My midi only has a USB output. The code is here. Its based on a random sketch I found online. I didnt want to use CH376msc library, cause at first it seemed too complicated and still It didnt have a basic usb device massages receiving capabilities. Ive been trying whole week to make things work but the only thing I can do with that module now is a Baud rate change and connection tests. I cant receive any massage.

my code is here
SERIAL.ino (10,7 КБ)

Datasheets: 1. https://www.wch-ic.com/downloads/CH376DS1_PDF.html
2.CH376DS2.PDF - NanjingQinhengMicroelectronics

I have two questions:

  1. Is it even possible to make it work with this CH376 USB host module without getting too deep (into firmware, voodoo, homeopathy and stuff) ?
  2. What am I doing wrong?

Thanks in advance.

1 Like

I'm facing the same problem as you. I tried using a logic level converter to ensure the voltage was synchronized between the CH376 module and the Uno, but it still doesn't work

I think it's only for using a USB thumbdrive.
That's the only implementation I've seen of it.
(If, technically, on that basis, it's a 'Host', then it's limited not general.)

Ch376msc | Arduino Documentation

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.