Devesh36/bench-eight
Eight-channel 0–10 V measurement and control console: dual ADS1115 ADCs, buffered inputs, Pico controller, microSD, RTC, RS-485, four protected low-voltage outputs and a separate OLED/encoder panel in a tscircuit assembly.
- Version
- 0.1.3
- License
- unset
- Stars
- 0
Use with the tscircuit CLI
tsci is the tscircuit CLI. Install it with npm install -g tscircuit.
tsci clone Devesh36/bench-eight # download the package files into ./bench-eight
tsci add Devesh36/bench-eight # add it to your project as @tsci/Devesh36.bench-eightIn 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.
index.circuit.tsx
PCB
Schematic
import { Fragment } from "react";
import type { BoardProps } from "@tscircuit/props";
import { InputChannel } from "./channel";
import { SystemOverview } from "./system-overview.circuit";
import {
Pico,
Adc,
Buffer,
Rtc,
Ldo,
Rs485,
CurrentMonitor,
Mosfet,
Flyback,
MicroSd,
UsbC,
Terminal,
UsbTvs,
PowerSwitch,
Button,
BatteryConnector,
Header,
} from "./parts";
const sheetNames: Record<string, string> = {
POWER: "USB-C power",
MCU: "Controller and display",
INPUTS_A: "Inputs 1-4",
INPUTS_B: "Inputs 5-8",
ADC: "Buffers and ADCs",
COMMS: "RS-485 and logging",
OUTPUTS: "Load drivers and current monitor",
};
const S = (sheet: string, x: number, y: number) => ({
schSheetName: sheet,
schSectionName: sheet,
schX: x,
schY: y + (sheet === "OUTPUTS" ? 5 : 0),
});
export default function BenchEight(props: BoardProps) {
return (
<board
name="MAIN"
width={160}
height={120}
layers={4}
thickness={1.6}
borderRadius={3}
solderMaskColor="blue"
autorouter="auto_local"
routeRemaining
minTraceToPadEdgeClearance={0.15}
schTraceAutoLabelEnabled
{...props}
>
<SystemOverview linkToMain />
{Object.entries(sheetNames).map(([name, displayName]) => (
<Fragment key={name}>
<schematicsheet
name={name}
displayName={displayName}
sheetWidth={name === "OUTPUTS" ? 841 : 594}
sheetHeight={name === "OUTPUTS" ? 594 : 420}
>
<schematicsection name={name} displayName={displayName} />
</schematicsheet>
</Fragment>
))}
{[
"USB5V",
"FUSED5V",
"V5",
"PICO_VSYS",
"PICO3V3",
"V3V3",
"EXT_RAW",
"EXT_FUSED",
"EXT_PROTECTED",
"LOAD_V",
"VBAT",
].map((name) => (
<Fragment key={name}>
<net
name={name}
isPowerNet
nominalTraceWidth={["VBAT", "PICO3V3"].includes(name) ? 0.2 : 0.5}
/>
</Fragment>
))}
<net name="GND" isGroundNet nominalTraceWidth={0.4} />
{Array.from({ length: 8 }, (_, i) => (
<InputChannel
key={i}
n={i + 1}
x={-63 + i * 18}
sx={-12}
sy={12 - (i % 4) * 8}
/>
))}
<UsbC
name="J_USB"
pcbX={-45}
pcbY={-54}
{...S("POWER", -14, 10)}
noConnect={["DP1", "DP2", "DN1", "DN2", "SBU1", "SBU2"]}
connections={{
VBUS1: "net.USB5V",
VBUS2: "net.USB5V",
GND1: "net.GND",
GND2: "net.GND",
EH1: "net.GND",
EH2: "net.GND",
EH3: "net.GND",
EH4: "net.GND",
CC1: "net.CC1",
CC2: "net.CC2",
}}
/>
<resistor
schRotation={-90}
name="R_CC1"
resistance="5.1k"
footprint="0603"
manufacturerPartNumber="RC0603FR-075K1L"
pcbX={-32}
pcbY={-40}
{...S("POWER", -10, 7)}
connections={{ pin1: "net.CC1", pin2: "net.GND" }}
/>
<resistor
schRotation={-90}
name="R_CC2"
resistance="5.1k"
footprint="0603"
manufacturerPartNumber="RC0603FR-075K1L"
pcbX={-32}
pcbY={-36}
{...S("POWER", -10, 4)}
connections={{ pin1: "net.CC2", pin2: "net.GND" }}
/>
<fuse
name="F_USB"
currentRating="500mA"
footprint="1206"
manufacturerPartNumber="1206L050YR"
pcbX={-34}
pcbY={-51}
{...S("POWER", -9, 13)}
connections={{ pin1: "net.USB5V", pin2: "net.FUSED5V" }}
/>
<UsbTvs
name="D_USB"
pcbX={-34}
pcbY={-56}
{...S("POWER", -5, 10)}
connections={{ pos: "net.GND", neg: "net.FUSED5V" }}
/>
<PowerSwitch
name="SW_POWER"
pcbX={-23}
pcbY={-54}
{...S("POWER", 0, 13)}
noConnect={["OFF"]}
connections={{
COM: "net.FUSED5V",
ON: "net.V5",
CASE1: "net.GND",
CASE2: "net.GND",
}}
/>
<capacitor
schRotation={-90}
name="C_USB"
capacitance="1uF"
footprint="0805"
manufacturerPartNumber="GRM21BR61C105KA01L"
pcbX={-37}
pcbY={-46}
{...S("POWER", -5, 6)}
connections={{ pin1: "net.FUSED5V", pin2: "net.GND" }}
/>
<diode
name="D_PICO"
footprint="sod123"
manufacturerPartNumber="B5819W"
pcbX={-16}
pcbY={-42}
{...S("POWER", 5, 13)}
connections={{ pos: "net.V5", neg: "net.PICO_VSYS" }}
/>
<Ldo
name="U_LDO"
pcbX={-44}
pcbY={-35}
{...S("POWER", 0, 1)}
noConnect={["NC"]}
connections={{
VIN: "net.V5",
EN: "net.V5",
GND: "net.GND",
VOUT: "net.V3V3",
}}
/>
<capacitor
schRotation={-90}
name="C_LDO_IN"
capacitance="1uF"
footprint="0805"
manufacturerPartNumber="GRM21BR61C105KA01L"
pcbX={-49}
pcbY={-35}
{...S("POWER", -5, 0)}
connections={{ pin1: "net.V5", pin2: "net.GND" }}
/>
<capacitor
schRotation={-90}
name="C_LDO_OUT"
capacitance="1uF"
footprint="0805"
manufacturerPartNumber="GRM21BR61C105KA01L"
pcbX={-39}
pcbY={-35}
{...S("POWER", 5, 0)}
connections={{ pin1: "net.V3V3", pin2: "net.GND" }}
/>
<capacitor
schRotation={-90}
name="C_BULK"
layer="bottom"
capacitance="10uF"
footprint="0805"
manufacturerPartNumber="GRM21BR61C106KE15L"
pcbX={-39}
pcbY={-31}
{...S("POWER", 8, 0)}
connections={{ pin1: "net.V3V3", pin2: "net.GND" }}
/>
<resistor
schRotation={-90}
name="R_POWER"
resistance="1k"
footprint="0603"
manufacturerPartNumber="RC0603FR-071KL"
pcbX={-20}
pcbY={-47}
{...S("POWER", 12, 3)}
connections={{ pin1: "net.V3V3", pin2: "net.PWR_LED" }}
/>
<led
schRotation={-90}
name="LED_POWER"
color="green"
footprint="0603"
manufacturerPartNumber="LTST-C190KGKT"
pcbX={-14}
pcbY={-50}
{...S("POWER", 12, 0)}
connections={{ pos: "net.PWR_LED", neg: "net.GND" }}
/>
<Pico
name="U_PICO"
pcbX={0}
pcbY={-17}
{...S("MCU", 0, 0)}
schWidth={2.34}
schHeight={4.2}
noConnect={[
"V3V3_EN",
"VBUS",
"ADC_VREF",
"GP26",
"GP27",
"GP28",
"GP15",
]}
connections={{
VSYS: "net.PICO_VSYS",
V3V3: "net.PICO3V3",
GND1: "net.GND",
GND2: "net.GND",
GND3: "net.GND",
GND4: "net.GND",
GND5: "net.GND",
GND6: "net.GND",
GND7: "net.GND",
AGND: "net.GND",
RUN: "net.RESET",
GP0: "net.RS_TX",
GP1: "net.RS_RX",
GP2: "net.RS_DIR",
GP3: "net.SD_DETECT",
GP4: "net.SDA",
GP5: "net.SCL",
GP6: "net.OUT1",
GP7: "net.OUT2",
GP8: "net.OUT3",
GP9: "net.OUT4",
GP10: "net.ENC_A",
GP11: "net.ENC_B",
GP12: "net.ENC_SW",
GP13: "net.STATUS",
GP14: "net.RTC_INT",
GP16: "net.SPI_MISO",
GP17: "net.OLED_CS",
GP18: "net.SPI_SCK",
GP19: "net.SPI_MOSI",
GP20: "net.OLED_DC",
GP21: "net.OLED_RST",
GP22: "net.SD_CS",
}}
/>
<resistor
name="R_RESET"
resistance="10k"
footprint="0603"
manufacturerPartNumber="RC0603FR-0710KL"
pcbX={-15}
pcbY={-22}
{...S("MCU", -9, 8)}
connections={{ pin1: "net.PICO3V3", pin2: "net.RESET" }}
/>
<Button
name="SW_RESET"
pcbX={-19}
pcbY={-28}
{...S("MCU", -9, 4)}
connections={{ pin1: "net.RESET", pin2: "net.GND" }}
/>
<Header
name="J_UI"
count={12}
pcbX={27}
pcbY={-12}
pcbRotation={90}
{...S("MCU", 10, 0)}
schWidth={2}
schHeight={1.4}
connections={{
pin1: "net.V5",
pin2: "net.GND",
pin3: "net.SPI_SCK",
pin4: "net.SPI_MOSI",
pin5: "net.OLED_CS",
pin6: "net.OLED_DC",
pin7: "net.OLED_RST",
pin8: "net.ENC_A",
pin9: "net.ENC_B",
pin10: "net.ENC_SW",
pin11: "net.V3V3",
pin12: "net.STATUS",
}}
/>
<Header
name="J_UART"
count={3}
pcbX={-19}
pcbY={-15}
pcbRotation={90}
{...S("MCU", -9, -4)}
connections={{ pin1: "net.RS_TX", pin2: "net.RS_RX", pin3: "net.GND" }}
/>
{["SDA", "SCL"].map((net, i) => (
<resistor
schRotation={-90}
key={net}
name={`R_${net}`}
resistance="4.7k"
footprint="0603"
manufacturerPartNumber="RC0603FR-074K7L"
pcbX={-11}
pcbY={15 - i * 4}
{...S("ADC", -17, 12 - i * 4)}
connections={{ pin1: "net.V3V3", pin2: `net.${net}` }}
/>
))}
{[0, 1].map((bank) => (
<Fragment key={bank}>
<Buffer
key={`amp${bank}`}
name={`U_BUF${bank + 1}`}
pcbX={bank ? 36 : -36}
pcbY={24}
{...S("ADC", bank ? 13 : -10, 2)}
schWidth={2.72}
schHeight={1.8}
connections={{
VDD: "net.V3V3",
VSS: "net.GND",
VINA_POS: `net.FILT${bank * 4 + 1}`,
VINA_NEG: `net.BUF${bank * 4 + 1}`,
VOUTA: `net.BUF${bank * 4 + 1}`,
VINB_POS: `net.FILT${bank * 4 + 2}`,
VINB_NEG: `net.BUF${bank * 4 + 2}`,
VOUTB: `net.BUF${bank * 4 + 2}`,
VINC_POS: `net.FILT${bank * 4 + 3}`,
VINC_NEG: `net.BUF${bank * 4 + 3}`,
VOUTC: `net.BUF${bank * 4 + 3}`,
VIND_POS: `net.FILT${bank * 4 + 4}`,
VIND_NEG: `net.BUF${bank * 4 + 4}`,
VOUTD: `net.BUF${bank * 4 + 4}`,
}}
/>
<Adc
key={`adc${bank}`}
name={`U_ADC${bank + 1}`}
pcbX={bank ? 22 : -22}
pcbY={15}
{...S("ADC", bank ? 21 : -2, 2)}
schWidth={2.5}
schHeight={1.8}
noConnect={["ALERT"]}
connections={{
VDD: "net.V3V3",
GND: "net.GND",
ADDR: bank ? "net.V3V3" : "net.GND",
SDA: "net.SDA",
SCL: "net.SCL",
AIN0: `net.BUF${bank * 4 + 1}`,
AIN1: `net.BUF${bank * 4 + 2}`,
AIN2: `net.BUF${bank * 4 + 3}`,
AIN3: `net.BUF${bank * 4 + 4}`,
}}
/>
<capacitor
schRotation={-90}
key={`ca${bank}`}
name={`C_ADC${bank + 1}`}
capacitance="100nF"
footprint="0603"
manufacturerPartNumber="GRM188R71C104KA01D"
pcbX={bank ? 27 : -27}
pcbY={15}
{...S("ADC", bank ? 21 : -2, -5)}
connections={{ pin1: "net.V3V3", pin2: "net.GND" }}
/>
<capacitor
schRotation={-90}
key={`cb${bank}`}
name={`C_BUF${bank + 1}`}
capacitance="100nF"
footprint="0603"
manufacturerPartNumber="GRM188R71C104KA01D"
pcbX={bank ? 44.5 : -44.5}
pcbY={24}
{...S("ADC", bank ? 13 : -10, -5)}
connections={{ pin1: "net.V3V3", pin2: "net.GND" }}
/>
</Fragment>
))}
<MicroSd
name="J_SD"
pcbX={-63}
pcbY={-45}
{...S("COMMS", -11, 11)}
schWidth={2.5}
schHeight={1.6}
connections={{
VDD: "net.V3V3",
VSS: "net.GND",
GND1: "net.GND",
GND2: "net.GND",
GND3: "net.GND",
GND4: "net.GND",
CLK_SCLK: "net.SPI_SCK",
CMD_DI: "net.SPI_MOSI",
CDDAT3_CS: "net.SD_CS",
DAT0_D0: "net.SPI_MISO",
CD: "net.SD_DETECT",
DAT1_RSV: "net.SD_DAT1",
DAT2_RSV: "net.SD_DAT2",
}}
/>
{["SD_CS", "SPI_MISO", "SD_DAT1", "SD_DAT2", "SD_DETECT"].map(
(net, i) => (
<resistor
schRotation={-90}
key={net}
name={`R_SD${i}`}
resistance="47k"
footprint="0603"
manufacturerPartNumber="RC0603FR-0747KL"
pcbX={-73 + i * 4}
pcbY={-33}
pcbRotation={90}
{...S("COMMS", -18 + i * 3, 5)}
connections={{ pin1: "net.V3V3", pin2: `net.${net}` }}
/>
),
)}
<capacitor
schRotation={-90}
name="C_SD"
capacitance="100nF"
footprint="0603"
manufacturerPartNumber="GRM188R71C104KA01D"
pcbX={-64}
pcbY={-36}
{...S("COMMS", -17, 10)}
connections={{ pin1: "net.V3V3", pin2: "net.GND" }}
/>
<capacitor
schRotation={-90}
name="C_SD_BULK"
layer="bottom"
capacitance="10uF"
footprint="0805"
manufacturerPartNumber="GRM21BR61C106KE15L"
pcbX={-59}
pcbY={-36}
{...S("COMMS", -17, 13)}
connections={{ pin1: "net.V3V3", pin2: "net.GND" }}
/>
<Rtc
name="U_RTC"
pcbX={-59}
pcbY={-10}
{...S("COMMS", 0, 11)}
schWidth={2.5}
schHeight={1.8}
noConnect={["32kHz", "RST"]}
connections={{
VCC: "net.V3V3",
GND: "net.GND",
VBAT: "net.VBAT",
SDA: "net.SDA",
SCL: "net.SCL",
INTSQW: "net.RTC_INT",
pin5: "net.GND",
pin6: "net.GND",
pin7: "net.GND",
pin8: "net.GND",
pin9: "net.GND",
pin10: "net.GND",
pin11: "net.GND",
pin12: "net.GND",
}}
/>
<BatteryConnector
name="J_BAT"
pcbX={-63}
pcbY={6}
{...S("COMMS", 0, 18)}
connections={{ pin1: "net.VBAT", pin2: "net.GND" }}
/>
<capacitor
schRotation={-90}
name="C_RTC"
capacitance="100nF"
footprint="0603"
manufacturerPartNumber="GRM188R71C104KA01D"
pcbX={-51}
pcbY={-6}
{...S("COMMS", 5, 10)}
connections={{ pin1: "net.V3V3", pin2: "net.GND" }}
/>
<resistor
schRotation={-90}
name="R_RTC_IRQ"
resistance="10k"
footprint="0603"
manufacturerPartNumber="RC0603FR-0710KL"
pcbX={-50}
pcbY={-12}
{...S("COMMS", 5, 14)}
connections={{ pin1: "net.V3V3", pin2: "net.RTC_INT" }}
/>
<Rs485
name="U_RS485"
pcbX={46}
pcbY={-32}
{...S("COMMS", 11, -3)}
schWidth={2.5}
schHeight={1.6}
connections={{
VCC: "net.V3V3",
GND: "net.GND",
DI: "net.RS_TX",
RO: "net.RS_RX",
DE: "net.RS_DIR",
N_RE: "net.RS_DIR",
A: "net.RS_A",
B: "net.RS_B",
}}
/>
<capacitor
schRotation={-90}
name="C_RS"
capacitance="100nF"
footprint="0603"
manufacturerPartNumber="GRM188R71C104KA01D"
pcbX={53}
pcbY={-32}
{...S("COMMS", 6, -4)}
connections={{ pin1: "net.V3V3", pin2: "net.GND" }}
/>
<resistor
schRotation={-90}
name="R_DIR"
resistance="100k"
footprint="0603"
manufacturerPartNumber="RC0603FR-07100KL"
pcbX={40}
pcbY={-29}
{...S("COMMS", 6, -8)}
connections={{ pin1: "net.RS_DIR", pin2: "net.GND" }}
/>
<Terminal
name="J_RS485"
pcbX={48}
pcbY={-51}
pcbRotation={180}
{...S("COMMS", 20, -3)}
connections={{ pin1: "net.RS_A", pin2: "net.RS_B" }}
/>
<Header
name="J_RS_GND"
count={2}
pcbX={36}
pcbY={-50}
{...S("COMMS", 20, -10)}
connections={{ pin1: "net.GND", pin2: "net.GND" }}
/>
<Header
name="JP_TERM"
count={2}
pcbX={48}
pcbY={-40}
{...S("COMMS", 14, -13)}
connections={{ pin1: "net.RS_A", pin2: "net.TERM" }}
/>
<resistor
name="R_TERM"
resistance="120"
footprint="0805"
manufacturerPartNumber="RC0805FR-07120RL"
pcbX={55}
pcbY={-40}
{...S("COMMS", 20, -13)}
connections={{ pin1: "net.TERM", pin2: "net.RS_B" }}
/>
{/* 330 ohm bias gives 275 mV idle with two 120 ohm terminations. */}
<resistor
schRotation={-90}
name="R_BIAS_A"
resistance="330"
footprint="0603"
manufacturerPartNumber="RC0603FR-07330RL"
pcbX={42}
pcbY={-36}
{...S("COMMS", 19, 2)}
connections={{ pin1: "net.V3V3", pin2: "net.RS_A" }}
/>
<resistor
schRotation={-90}
name="R_BIAS_B"
resistance="330"
footprint="0603"
manufacturerPartNumber="RC0603FR-07330RL"
pcbX={48}
pcbY={-36}
{...S("COMMS", 24, 2)}
connections={{ pin1: "net.RS_B", pin2: "net.GND" }}
/>
<Terminal
name="J_LOAD_POWER"
pcbX={66}
pcbY={-49}
pcbRotation={180}
{...S("OUTPUTS", -15, 12)}
connections={{ pin1: "net.EXT_RAW", pin2: "net.GND" }}
/>
<fuse
name="F_LOAD"
currentRating="500mA"
footprint="1206"
manufacturerPartNumber="1206L050YR"
pcbX={69}
pcbY={-42}
{...S("OUTPUTS", -10, 12)}
connections={{ pin1: "net.EXT_RAW", pin2: "net.EXT_FUSED" }}
/>
<Flyback
name="D_REVERSE"
pcbX={69}
pcbY={-35}
{...S("OUTPUTS", -5, 12)}
connections={{ pos: "net.EXT_FUSED", neg: "net.EXT_PROTECTED" }}
/>
<resistor
name="R_SHUNT"
resistance="0.1"
footprint="1206"
manufacturerPartNumber="RL1206FR-070R1L"
pcbX={68}
pcbY={-27}
{...S("OUTPUTS", 0, 12)}
connections={{ pin1: "net.EXT_PROTECTED", pin2: "net.LOAD_V" }}
/>
{/* Keep both INA219 sense branches directly on the R_SHUNT pads. */}
<CurrentMonitor
name="U_CURRENT"
pcbX={72.5}
pcbY={-29}
pcbRotation={90}
{...S("OUTPUTS", 0, 5)}
schWidth={2.5}
schHeight={1.6}
connections={{
IN_POS: "net.EXT_PROTECTED",
IN_NEG: "net.LOAD_V",
VS: "net.V3V3",
GND: "net.GND",
A0: "net.GND",
A1: "net.GND",
SDA: "net.SDA",
SCL: "net.SCL",
}}
/>
<capacitor
schRotation={-90}
name="C_CURRENT"
capacitance="100nF"
footprint="0603"
manufacturerPartNumber="GRM188R71C104KA01D"
pcbX={76}
pcbY={-25}
{...S("OUTPUTS", -5, 5)}
connections={{ pin1: "net.V3V3", pin2: "net.GND" }}
/>
{[1, 2, 3, 4].map((n, i) => {
const y = 25 - i * 13;
const sy = -4 - i * 8;
return (
<Fragment key={n}>
<Terminal
key={`j${n}`}
name={`J_OUT${n}`}
pcbX={72}
pcbY={y}
pcbRotation={270}
{...S("OUTPUTS", 13, sy)}
connections={{ pin1: "net.LOAD_V", pin2: `net.DRAIN${n}` }}
/>
<Mosfet
key={`q${n}`}
name={`Q${n}`}
pcbX={59}
pcbY={y}
pcbRotation={90}
{...S("OUTPUTS", 4, sy)}
connections={{
gate: `net.GATE${n}`,
source: "net.GND",
drain: `net.DRAIN${n}`,
}}
/>
<Flyback
key={`d${n}`}
name={`D_FLY${n}`}
pcbX={65}
pcbY={y - 4.7}
pcbRotation={90}
{...S("OUTPUTS", 9, sy)}
connections={{ pos: `net.DRAIN${n}`, neg: "net.LOAD_V" }}
/>
<resistor
key={`rg${n}`}
name={`R_GATE${n}`}
resistance="100"
footprint="0603"
manufacturerPartNumber="RC0603FR-07100RL"
pcbX={i === 1 ? 45 : 51}
pcbY={y}
{...S("OUTPUTS", -7, sy)}
connections={{ pin1: `net.OUT${n}`, pin2: `net.GATE${n}` }}
/>
<resistor
schRotation={-90}
key={`rp${n}`}
name={`R_PD${n}`}
resistance="100k"
footprint="0603"
manufacturerPartNumber="RC0603FR-07100KL"
pcbX={55}
pcbY={y - 4}
{...S("OUTPUTS", -2, sy - 3)}
connections={{ pin1: `net.GATE${n}`, pin2: "net.GND" }}
/>
<silkscreentext
text={`OUT${n}`}
pcbX={72}
pcbY={y + 6}
fontSize={0.9}
/>
</Fragment>
);
})}
<resistor
name="R_STATUS"
resistance="1k"
footprint="0603"
manufacturerPartNumber="RC0603FR-071KL"
pcbX={18}
pcbY={-43}
{...S("MCU", 10, -8)}
connections={{ pin1: "net.STATUS", pin2: "net.STATUS_LED" }}
/>
<led
schRotation={-90}
name="LED_STATUS"
color="blue"
footprint="0603"
manufacturerPartNumber="LTST-C190TBKT"
pcbX={24}
pcbY={-43}
pcbRotation={45}
{...S("MCU", 14, -8)}
connections={{ pos: "net.STATUS_LED", neg: "net.GND" }}
/>
{[-75, 75].flatMap((x) =>
[-55, 55].map((y) => (
<Fragment key={`${x}:${y}`}>
<hole pcbX={x} pcbY={y} diameter={3.2} />
</Fragment>
)),
)}
{[-50, 50].flatMap((x) =>
[-26, 14].map((y) => (
<Fragment key={`ui${x}:${y}`}>
<hole pcbX={x} pcbY={y} diameter={3.2} />
</Fragment>
)),
)}
<silkscreentext
text="BENCH EIGHT / tscircuit"
pcbX={0}
pcbY={-56}
fontSize={1.4}
/>
<silkscreentext
text="8 x 0-10V INPUT / COMMON GROUND"
pcbX={0}
pcbY={44}
fontSize={1}
/>
<silkscreentext text="USB-C 5V" pcbX={-45} pcbY={-59} fontSize={0.8} />
<silkscreentext text="ON / OFF" pcbX={-23} pcbY={-59} fontSize={0.8} />
<silkscreentext text="microSD" pcbX={-65} pcbY={-58} fontSize={0.8} />
<silkscreentext text="RS485 A B" pcbX={48} pcbY={-58} fontSize={0.8} />
<silkscreentext
text="LOAD 5-12V + -"
pcbX={67}
pcbY={-58}
fontSize={0.7}
/>
<silkscreentext
text="RTC 3V BAT + - / NO CHARGE"
pcbX={-60}
pcbY={12}
fontSize={0.7}
/>
</board>
);
}