mohan-bee/esp32-c3
This hardware design integrates an ESP32-C3 microcontroller, a USB-C connector, a power management IC (AP2112-3.3V regulator), a USB-to-Serial converter (CH340C), several resistors, capacitors, and user-accessible headers to facilitate USB communication, power regulation, and general I/O interfacing.
- Version
- 1.0.1
- License
- ISC
- Stars
- 0
imports/CH340C.tsx
import type { ChipProps } from "@tscircuit/props"
const pinLabels = {
pin1: ["GND"],
pin2: ["TXD"],
pin3: ["RXD"],
pin4: ["V3"],
pin5: ["D_POS"],
pin6: ["D_NEG"],
pin7: ["pin7"],
pin8: ["N_OUT"],
pin9: ["N_CTS"],
pin10: ["N_DSR"],
pin11: ["N_RI"],
pin12: ["N_DCD"],
pin13: ["N_DTR"],
pin14: ["N_RTS"],
pin15: ["R232"],
pin16: ["VCC"]
} as const
const pinAttributes = {
pin1: {requiresGround: true},
pin16: {requiresPower: true}
} as const
export const CH340C = (props: ChipProps<typeof pinLabels>) => {
return (
<chip
pinLabels={pinLabels}
pinAttributes={pinAttributes}
supplierPartNumbers={{
"jlcpcb": [
"C84681"
]
}}
manufacturerPartNumber="CH340C"
footprint="dfn16_pillpads_w7.49mm_pw0.56mm_pl1.75mm_pin1location(leftside,bottom)"
cadModel={{
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C84681.obj?uuid=07126628bc464d5389bb996c52812f54",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C84681.step?uuid=07126628bc464d5389bb996c52812f54",
pcbRotationOffset: 90,
modelOriginPosition: { x: -0.000012700000070253736, y: 0, z: 0.000575 },
}}
{...props}
/>
)
}