# Using USB Host Shield 2.0 with CH340 FTDI, USB Serial

**URL:** <https://forum.arduino.cc/t/using-usb-host-shield-2-0-with-ch340-ftdi-usb-serial/1311017>\
**Category:** Programming\
**Created:** [October 14, 2024, 3:06am UTC](https://forum.arduino.cc/t/using-usb-host-shield-2-0-with-ch340-ftdi-usb-serial/1311017 "2024-10-14T03:06:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![PrimeTSS](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/primetss/32/1098795_2.png) [@PrimeTSS](https://forum.arduino.cc/u/PrimeTSS)\
**Post date:** [October 14, 2024, 3:06am UTC](https://forum.arduino.cc/t/using-usb-host-shield-2-0-with-ch340-ftdi-usb-serial/1311017/1 "2024-10-14T03:06:44Z")

</div>

Trying to connect using the USB Host Shield 2.0 to a USB device (Geiger Counter) that is using a built in CH340 FTDI/UART chip (Not a P2109/1) Which basically uses the Serial FTDI to give access to text commands to get data from device.  
The Board is a ESP32 without a USB Host controller on board.

Does anyone know of any working examples using library with CH340 FTDI/UART?

Found these this reference to one but getting compile errors (think it may be because the USB Host Shield 2.0 Library is later version)

(.zip contains code) By  
@ardcp  
@kaza007  
[[Arduino Usb Host Shield 2.0, ch340 driver problem.](https://forum.arduino.cc/t/arduino-usb-host-shield-2-0-ch340-driver-problem/620548)]  
[[USB Host Shield (max3421e) Receive limitations](https://forum.arduino.cc/t/usb-host-shield-max3421e-receive-limitations/1168464)]

 ![image](https://europe1.discourse-cdn.com/arduino/original/4X/3/2/4/324718e1507cc510782815c382dea3ac1f46dc8b.png)

---

<div class="post-metadata">

**Author:** ![PrimeTSS](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/primetss/32/1098795_2.png) [@PrimeTSS](https://forum.arduino.cc/u/PrimeTSS)\
**Post date:** [October 14, 2024, 4:38am UTC](https://forum.arduino.cc/t/using-usb-host-shield-2-0-with-ch340-ftdi-usb-serial/1311017/2 "2024-10-14T04:38:07Z")

</div>

Ahh ignore that, got it going was just how I expanded the files.

> Created a new folder in USB Host Sheild 2.0 'examples' directory, copied files there then moved \*.cpp & \*.h to the main root folder of the library!

Working well sending cmd's & receiving data back from Geiger Counter! Thankyou!

Just wonder if you have this code up on GitHub? As could not find!  
Be really good to try & get a Pull Request up for addition to Felis/USB\_Host\_Shield\_2.0 Repo as really useful bit of code I'm sure many will get value from when hit same issue!  
[[GitHub - felis/USB\_Host\_Shield\_2.0: Revision 2.0 of USB Host Library for Arduino.](https://github.com/felis/USB_Host_Shield_2.0)]

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/system/32/1140315_2.png) [@system](https://forum.arduino.cc/u/system)\
**Post date:** [April 12, 2025, 4:38am UTC](https://forum.arduino.cc/t/using-usb-host-shield-2-0-with-ch340-ftdi-usb-serial/1311017/3 "2025-04-12T04:38:28Z")

</div>

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