From 0739485cd48a379f302d208276c742a55c3a7672 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?King=20K=C3=A9vin?= Date: Tue, 28 Nov 2023 20:30:13 +0100 Subject: [PATCH] add CH340 --- ic/usb-serial_ch340.yaml | 48 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 ic/usb-serial_ch340.yaml diff --git a/ic/usb-serial_ch340.yaml b/ic/usb-serial_ch340.yaml new file mode 100644 index 0000000..58355b7 --- /dev/null +++ b/ic/usb-serial_ch340.yaml @@ -0,0 +1,48 @@ +name: CH340 +# not variations are defined here +variations: E +description: transceiver, USB to serial +datasheet: http://www.wch-ic.com/downloads/file/79.html +distributors: LCSC C99652 + +pinout@E: + USB: + UD+: 1 + UD-: 2 + TNOW: 6 + CTRL: + RTS: 4 + CTS: 5 + UART: + TXD: 8 + RXD: 9 + POWER: + VCC: 7 + V3: 10 + GND: 3 + +properties: + bidir: USB + in: RXD, CTS + out: TXD, RTS, TNOW + power: POWER + ground: GND + +schematic@E: + symbol: ic + left: USB, TNOW + right: UART, CTRL + top: POWER + bottom: GND + +housing@E: # MSOP-10, dimensions from diodes MSOP-10 datasheet + suffix: E + pattern: SOP + bodyWidth: 3.0 # E1 + bodyLength: 3.0 # D + height: 1.1 # A + leadSpan: 4.9 # E + leadWidth: 0.2 # b + leadLength: 0.6 # L + leadCount: 10 + pitch: 0.5 # e