aj0070/epaper-badge

A 90×55 mm conference e-paper badge PCB combining an RF-BM-ND05 MCU module, 24-pin e-paper FPC interface with boost circuitry, USB-C/battery power OR-ing, buttons, status LED, SWD header, and an integrated NFC antenna loop.

Version
1.0.0
License
unset
Stars
0

Use with the tscircuit CLI

tsci is the tscircuit CLI. Install it with npm install -g tscircuit.

tsci clone aj0070/epaper-badge  # download the package files into ./epaper-badge
tsci add aj0070/epaper-badge    # add it to your project as @tsci/aj0070.epaper-badge

In a cloned or new (tsci init) project: tsci dev starts a local preview, tsci build outputs Circuit JSON, and tsci push publishes to tscircuit.com.

imports/EPD_FPC.tsx

const pinLabels = {
  pin1: ["NC1"],
  pin2: ["GDR"],
  pin3: ["RESE"],
  pin4: ["NC4"],
  pin5: ["VSH2"],
  pin6: ["TSCL"],
  pin7: ["TSDA"],
  pin8: ["BS1"],
  pin9: ["BUSY"],
  pin10: ["RST"],
  pin11: ["DC"],
  pin12: ["CS"],
  pin13: ["SCL"],
  pin14: ["SDA"],
  pin15: ["VDDIO"],
  pin16: ["VDD"],
  pin17: ["GND"],
  pin18: ["VDD2"],
  pin19: ["VPP"],
  pin20: ["VSH1"],
  pin21: ["VGH"],
  pin22: ["VGL"],
  pin23: ["VCOM"],
  pin24: ["NC24"],
  pin25: ["SHIELD1"],
  pin26: ["SHIELD2"]
} as const

export const EPD_FPC = (props: any) => {
  return (
    <connector
      pinLabels={pinLabels}
      supplierPartNumbers={{
  "jlcpcb": [
    "C2797213"
  ]
}}
      manufacturerPartNumber="KH-FG0.5-H2.0-24PIN"
      footprint={<footprint insertionDirection="from_top">
        <smtpad portHints={["pin24"]} pcbX="-5.749925mm" pcbY="1.14991515mm" width="0.2999994mm" height="1.7999964mm" shape="rect" />
<smtpad portHints={["pin23"]} pcbX="-5.249799mm" pcbY="1.14991515mm" width="0.2999994mm" height="1.7999964mm" shape="rect" />
<smtpad portHints={["pin22"]} pcbX="-4.749927mm" pcbY="1.14991515mm" width="0.2999994mm" height="1.7999964mm" shape="rect" />
<smtpad portHints={["pin21"]} pcbX="-4.249801mm" pcbY="1.14991515mm" width="0.2999994mm" height="1.7999964mm" shape="rect" />
<smtpad portHints={["pin20"]} pcbX="-3.749929mm" pcbY="1.14991515mm" width="0.2999994mm" height="1.7999964mm" shape="rect" />
<smtpad portHints={["pin19"]} pcbX="-3.249803mm" pcbY="1.14991515mm" width="0.2999994mm" height="1.7999964mm" shape="rect" />
<smtpad portHints={["pin18"]} pcbX="-2.749931mm" pcbY="1.14991515mm" width="0.2999994mm" height="1.7999964mm" shape="rect" />
<smtpad portHints={["pin17"]} pcbX="-2.249805mm" pcbY="1.14991515mm" width="0.2999994mm" height="1.7999964mm" shape="rect" />
<smtpad portHints={["pin16"]} pcbX="-1.749933mm" pcbY="1.14991515mm" width="0.2999994mm" height="1.7999964mm" shape="rect" />
<smtpad portHints={["pin15"]} pcbX="-1.249807mm" pcbY="1.14991515mm" width="0.2999994mm" height="1.7999964mm" shape="rect" />
<smtpad portHints={["pin14"]} pcbX="-0.749935mm" pcbY="1.14991515mm" width="0.2999994mm" height="1.7999964mm" shape="rect" />
<smtpad portHints={["pin13"]} pcbX="-0.249809mm" pcbY="1.14991515mm" width="0.2999994mm" height="1.7999964mm" shape="rect" />
<smtpad portHints={["pin26"]} pcbX="7.449947mm" pcbY="-1.29991485mm" width="1.999996mm" height="1.499997mm" shape="rect" />
<smtpad portHints={["pin25"]} pcbX="-7.449947mm" pcbY="-1.29991485mm" width="1.999996mm" height="1.499997mm" shape="rect" />
<smtpad portHints={["pin12"]} pcbX="0.250063mm" pcbY="1.14991515mm" width="0.2999994mm" height="1.7999964mm" shape="rect" />
<smtpad portHints={["pin11"]} pcbX="0.749935mm" pcbY="1.14991515mm" width="0.2999994mm" height="1.7999964mm" shape="rect" />
<smtpad portHints={["pin10"]} pcbX="1.250061mm" pcbY="1.14991515mm" width="0.2999994mm" height="1.7999964mm" shape="rect" />
<smtpad portHints={["pin9"]} pcbX="1.749933mm" pcbY="1.14991515mm" width="0.2999994mm" height="1.7999964mm" shape="rect" />
<smtpad portHints={["pin8"]} pcbX="2.250059mm" pcbY="1.14991515mm" width="0.2999994mm" height="1.7999964mm" shape="rect" />
<smtpad portHints={["pin7"]} pcbX="2.749931mm" pcbY="1.14991515mm" width="0.2999994mm" height="1.7999964mm" shape="rect" />
<smtpad portHints={["pin6"]} pcbX="3.250057mm" pcbY="1.14991515mm" width="0.2999994mm" height="1.7999964mm" shape="rect" />
<smtpad portHints={["pin5"]} pcbX="3.749929mm" pcbY="1.14991515mm" width="0.2999994mm" height="1.7999964mm" shape="rect" />
<smtpad portHints={["pin4"]} pcbX="4.250055mm" pcbY="1.14991515mm" width="0.2999994mm" height="1.7999964mm" shape="rect" />
<smtpad portHints={["pin3"]} pcbX="4.749927mm" pcbY="1.14991515mm" width="0.2999994mm" height="1.7999964mm" shape="rect" />
<smtpad portHints={["pin2"]} pcbX="5.250053mm" pcbY="1.14991515mm" width="0.2999994mm" height="1.7999964mm" shape="rect" />
<smtpad portHints={["pin1"]} pcbX="5.749925mm" pcbY="1.14991515mm" width="0.2999994mm" height="1.7999964mm" shape="rect" />
<silkscreenpath route={[{"x":-6.131077399999867,"y":0.824972950000074},{"x":-8.199958199999855,"y":0.824972950000074},{"x":-8.199958199999855,"y":0.5499671500001568}]} />
<silkscreenpath route={[{"x":8.19988200000023,"y":0.5499671500001568},{"x":8.19988200000023,"y":0.824972950000074},{"x":6.1311028000001215,"y":0.824972950000074}]} />
<silkscreenpath route={[{"x":-8.200110599999903,"y":-0.31881444999987707},{"x":-8.200110599999903,"y":0.5499671500001568}]} />
<silkscreenpath route={[{"x":-8.200110599999903,"y":-4.450048250000009},{"x":-8.200110599999903,"y":-2.2811168499998757}]} />
<silkscreenpath route={[{"x":8.19988200000023,"y":-0.31881444999987707},{"x":8.19988200000023,"y":0.5499671500001568}]} />
<silkscreenpath route={[{"x":8.19988200000023,"y":-4.450048250000009},{"x":8.19988200000023,"y":-2.2811168499998757}]} />
<silkscreenpath route={[{"x":-8.200110599999903,"y":-4.450048250000009},{"x":8.19988200000023,"y":-4.450048250000009}]} />
<silkscreencircle pcbX="5.762879mm" pcbY="2.48595515mm" radius="0.127mm" />
<silkscreentext text="{NAME}" pcbX="-0.013843mm" pcbY="3.61295515mm" anchorAlignment="center" fontSize="1mm" />
<courtyardoutline outline={[{"x":-8.699944999999957,"y":2.299913349999997},{"x":8.699944999999957,"y":2.299913349999997},{"x":8.699944999999957,"y":-4.675029249999852},{"x":-8.699944999999957,"y":-4.675029249999852},{"x":-8.699944999999957,"y":2.299913349999997}]} />
      </footprint>}
      cadModel={{
        objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C2797213.obj?uuid=b8245f7f84914995bda25bd539e9fc73",
        stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C2797213.step?uuid=b8245f7f84914995bda25bd539e9fc73",
        pcbRotationOffset: 0,
        modelOriginPosition: { x: -0.000025400000026820635, y: -1.1499647499999357, z: 0 },
      }}
      {...props}
    />
  )
}