pixalynx/pixal-gps
These files define two separate printed circuit boards: a small, two-layer battery cartridge with protection circuitry and contact pads for a pouch cell, and a larger, two-layer wireless charging dock featuring USB-C input, a resonant coil, and wireless power transmission components.
- Version
- 0.1.2
- License
- unset
- Stars
- 0
parts/Protection.tsx
import type { ChipProps } from "tscircuit"
import { Wson6_1p5, pad, outline, courtyard } from "../lib/footprints"
/** TI BQ29700DSER single-cell Li-ion protector, WSON-6 1.5 x 1.5 mm (JLC C183096).
* Pin table from TI SLUSBU9 (docs/sources.md [bq2970]): 1 NC, 2 COUT, 3 DOUT, 4 VSS, 5 BAT,
* 6 V-. Thresholds: OVP 4.275 V, UVP 2.80 V, OCD 100 mV / 20 ms, SCD 0.5 V / 250 us, 4 uA. */
export const bq29700Pins = { pin1: ["NC"], pin2: ["COUT"], pin3: ["DOUT"], pin4: ["VSS"], pin5: ["BAT"], pin6: ["VM", "V_NEG"] } as const
export const Bq29700 = (props: ChipProps<typeof bq29700Pins>) => (
<chip {...props} manufacturerPartNumber="BQ29700DSER" supplierPartNumbers={{ jlcpcb: ["C183096"] }} pinLabels={bq29700Pins} footprint={<Wson6_1p5 />}
cadModel={{ objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C183096.obj?uuid=089468ff55b44f4ab6e582b4badd6629", rotationOffset: { x: 0, y: 0, z: 270 }, positionOffset: { x: 0, y: 0, z: 0 } }}
schWidth={2.4} schHeight={2.2}
schPinArrangement={{ leftSide: { direction: "top-to-bottom", pins: ["BAT", "VM"] }, rightSide: { direction: "top-to-bottom", pins: ["COUT", "DOUT"] }, bottomSide: { direction: "left-to-right", pins: ["VSS"] }, topSide: { direction: "left-to-right", pins: ["NC"] } }}
pinAttributes={{ BAT: { requiresPower: true }, VSS: { requiresGround: true }, NC: { doNotConnect: true } }} />
)
/** Fortune FS8205A dual N-channel MOSFET, TSSOP-8 (JLC C2830320), 20 V, 6 A, 25 mOhm max at
* 4.5 V. Pins (datasheet): 1 S1, 2 G1?? -- the JLC symbol lists 1 S1, 3 S2, 4 G2, 6 G1 with the
* drains on the remaining pins; the two drains are joined on the PCB (common-drain protector). */
export const fs8205aPins = { pin1: ["S1"], pin2: ["D1A"], pin3: ["S2"], pin4: ["G2"], pin5: ["D2A"], pin6: ["G1"] } as const
const Tssop6Fs = () => (
<footprint>
{pad(6, -1.35, -0.95, 1.1, 0.6)}
{pad(5, -1.35, 0, 1.1, 0.6)}
{pad(4, -1.35, 0.95, 1.1, 0.6)}
{pad(1, 1.35, -0.95, 1.1, 0.6)}
{pad(2, 1.35, 0, 1.1, 0.6)}
{pad(3, 1.35, 0.95, 1.1, 0.6)}
{outline(2.9, 2.9)}
{courtyard(4.0, 3.5)}
</footprint>
)
export const Fs8205a = (props: ChipProps<typeof fs8205aPins>) => (
<chip {...props} manufacturerPartNumber="FS8205A" supplierPartNumbers={{ jlcpcb: ["C2830320"] }} pinLabels={fs8205aPins} footprint={<Tssop6Fs />}
cadModel={{ objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C2830320.obj?uuid=229b69761e2c45dba6a83d8866dec72d", rotationOffset: { x: 0, y: 0, z: 180 }, positionOffset: { x: 0, y: 0, z: 0 } }}
schWidth={2.6} schHeight={2.4}
schPinArrangement={{ leftSide: { direction: "top-to-bottom", pins: ["S1", "G1"] }, rightSide: { direction: "top-to-bottom", pins: ["S2", "G2"] }, topSide: { direction: "left-to-right", pins: ["D1A", "D2A"] } }} />
)