diff --git a/boards/SparkFun-Qwiic-Shim-for-Raspberry-Pi/README.md b/boards/SparkFun-Qwiic-Shim-for-Raspberry-Pi/README.md new file mode 100644 index 00000000..1360271e --- /dev/null +++ b/boards/SparkFun-Qwiic-Shim-for-Raspberry-Pi/README.md @@ -0,0 +1,5 @@ +# SparkFun Qwiic SHIM for Raspberry Pi + +For more information about this board, visit the official SparkFun product page: + +[https://www.sparkfun.com/sparkfun-qwiic-shim-for-raspberry-pi.html](https://www.sparkfun.com/sparkfun-qwiic-shim-for-raspberry-pi.html) diff --git a/boards/SparkFun-Qwiic-Shim-for-Raspberry-Pi/SparkFun-Qwiic-Shim-for-Raspberry-Pi.circuit.tsx b/boards/SparkFun-Qwiic-Shim-for-Raspberry-Pi/SparkFun-Qwiic-Shim-for-Raspberry-Pi.circuit.tsx new file mode 100644 index 00000000..2ba8b7a2 --- /dev/null +++ b/boards/SparkFun-Qwiic-Shim-for-Raspberry-Pi/SparkFun-Qwiic-Shim-for-Raspberry-Pi.circuit.tsx @@ -0,0 +1,162 @@ +import { sel } from "tscircuit" +import { OutlineBuilder } from "../../util/OutlineBuilder" +import { SM04B_SRSS_TB_LF__SN_ } from "./imports/SM04B_SRSS_TB_LF__SN_" +import { PiShimHeader } from "./imports/PiShimHeader" + +const outline = new OutlineBuilder(3.81, -6.985) + .lineTo(-3.81, -6.985) + .arcTo(-5.08, -5.715, { radius: 1.27, sweep: false }) + .lineTo(-5.08, 5.715) + .arcTo(-3.81, 6.985, { + radius: 1.27, + sweep: false, + }) + .lineTo(1.27, 6.985) + .arcTo(2.54, 5.715, { + radius: 1.27, + sweep: false, + }) + .lineTo(2.54, 2.2098) + .lineTo(4.445, 2.2098) + .arcTo(5.08, 1.6002, { + radius: 0.635, + sweep: true, + }) + .lineTo(5.08, -5.715) + .arcTo(3.81, -6.985, { radius: 1.27, sweep: false }) + .toArray() + +const ap2112PinLabels = { + pin1: ["IN", "VIN"], + pin2: ["GND"], + pin3: ["EN"], + pin4: ["NC"], + pin5: ["OUT", "VOUT"], +} as const + +export default () => ( + + + + + + + + + + + + + + + + + + + + +) diff --git a/boards/SparkFun-Qwiic-Shim-for-Raspberry-Pi/__snapshots__/SparkFun-Qwiic-Shim-for-Raspberry-Pi.circuit-3d.snap.png b/boards/SparkFun-Qwiic-Shim-for-Raspberry-Pi/__snapshots__/SparkFun-Qwiic-Shim-for-Raspberry-Pi.circuit-3d.snap.png new file mode 100644 index 00000000..afdfca68 Binary files /dev/null and b/boards/SparkFun-Qwiic-Shim-for-Raspberry-Pi/__snapshots__/SparkFun-Qwiic-Shim-for-Raspberry-Pi.circuit-3d.snap.png differ diff --git a/boards/SparkFun-Qwiic-Shim-for-Raspberry-Pi/__snapshots__/SparkFun-Qwiic-Shim-for-Raspberry-Pi.circuit-pcb.snap.svg b/boards/SparkFun-Qwiic-Shim-for-Raspberry-Pi/__snapshots__/SparkFun-Qwiic-Shim-for-Raspberry-Pi.circuit-pcb.snap.svg new file mode 100644 index 00000000..22b8e1fc --- /dev/null +++ b/boards/SparkFun-Qwiic-Shim-for-Raspberry-Pi/__snapshots__/SparkFun-Qwiic-Shim-for-Raspberry-Pi.circuit-pcb.snap.svg @@ -0,0 +1 @@ +Pi SHIMJ1U2C1C3qwiic \ No newline at end of file diff --git a/boards/SparkFun-Qwiic-Shim-for-Raspberry-Pi/__snapshots__/SparkFun-Qwiic-Shim-for-Raspberry-Pi.circuit-schematic.snap.svg b/boards/SparkFun-Qwiic-Shim-for-Raspberry-Pi/__snapshots__/SparkFun-Qwiic-Shim-for-Raspberry-Pi.circuit-schematic.snap.svg new file mode 100644 index 00000000..1b735c2f --- /dev/null +++ b/boards/SparkFun-Qwiic-Shim-for-Raspberry-Pi/__snapshots__/SparkFun-Qwiic-Shim-for-Raspberry-Pi.circuit-schematic.snap.svg @@ -0,0 +1,67 @@ +J91NC25V_A3SDA45V_B5SCL6GNDSM04B_SRSS_TB_LF__SN_J11GND2VCC3SDA4SCLAP2112K-3.3TRG1U21IN2GND3EN4NC5OUTC11.0uFC31.0uFV3_3NCV5V5SDASDASCLSCLGNDGNDGNDV3_33.3V/600mARaspberry PiPowerI2C Connections \ No newline at end of file diff --git a/boards/SparkFun-Qwiic-Shim-for-Raspberry-Pi/imports/PiShimHeader.tsx b/boards/SparkFun-Qwiic-Shim-for-Raspberry-Pi/imports/PiShimHeader.tsx new file mode 100644 index 00000000..49b7c0f7 --- /dev/null +++ b/boards/SparkFun-Qwiic-Shim-for-Raspberry-Pi/imports/PiShimHeader.tsx @@ -0,0 +1,92 @@ +import type { ChipProps } from "@tscircuit/props" + +const pinLabels = { + pin1: ["NC"], + pin2: ["5V_A"], + pin3: ["SDA"], + pin4: ["5V_B"], + pin5: ["SCL"], + pin6: ["GND"], +} as const + +export const PiShimHeader = (props: ChipProps) => ( + + + + + + + + + + } + {...props} + /> +) diff --git a/boards/SparkFun-Qwiic-Shim-for-Raspberry-Pi/imports/SM04B_SRSS_TB_LF__SN_.tsx b/boards/SparkFun-Qwiic-Shim-for-Raspberry-Pi/imports/SM04B_SRSS_TB_LF__SN_.tsx new file mode 100644 index 00000000..5da8057b --- /dev/null +++ b/boards/SparkFun-Qwiic-Shim-for-Raspberry-Pi/imports/SM04B_SRSS_TB_LF__SN_.tsx @@ -0,0 +1,148 @@ +import type { ChipProps } from "@tscircuit/props" + +const pinLabels = { + pin1: ["GND"], + pin2: ["VCC"], + pin3: ["SDA"], + pin4: ["SCL"], + pin5: ["NC1"], + pin6: ["NC2"], +} as const + +export const SM04B_SRSS_TB_LF__SN_ = (props: ChipProps) => { + return ( + + + + + + + + + + + + + + + } + cadModel={{ + objUrl: + "https://modelcdn.tscircuit.com/easyeda_models/assets/C160404.obj?uuid=96ff162c26934a308e7bbf01d083d593", + stepUrl: + "https://modelcdn.tscircuit.com/easyeda_models/assets/C160404.step?uuid=96ff162c26934a308e7bbf01d083d593", + pcbRotationOffset: 0, + modelOriginPosition: { x: 1.5, y: 0.2875033000001168, z: -0.01 }, + }} + {...props} + /> + ) +} diff --git a/boards/SparkFun-Qwiic-Shim-for-Raspberry-Pi/index.tsx b/boards/SparkFun-Qwiic-Shim-for-Raspberry-Pi/index.tsx new file mode 100644 index 00000000..2a735036 --- /dev/null +++ b/boards/SparkFun-Qwiic-Shim-for-Raspberry-Pi/index.tsx @@ -0,0 +1,3 @@ +import Board from "./SparkFun-Qwiic-Shim-for-Raspberry-Pi.circuit" + +export default Board diff --git a/boards/SparkFun-RGB-and-Gesture-Sensor/__snapshots__/SparkFun-RGB-and-Gesture-Sensor.circuit-3d.snap.png b/boards/SparkFun-RGB-and-Gesture-Sensor/__snapshots__/SparkFun-RGB-and-Gesture-Sensor.circuit-3d.snap.png index 94f74027..e47fe08f 100644 Binary files a/boards/SparkFun-RGB-and-Gesture-Sensor/__snapshots__/SparkFun-RGB-and-Gesture-Sensor.circuit-3d.snap.png and b/boards/SparkFun-RGB-and-Gesture-Sensor/__snapshots__/SparkFun-RGB-and-Gesture-Sensor.circuit-3d.snap.png differ diff --git a/boards/SparkFun-RGB-and-Gesture-Sensor/__snapshots__/SparkFun-RGB-and-Gesture-Sensor.circuit-pcb.snap.svg b/boards/SparkFun-RGB-and-Gesture-Sensor/__snapshots__/SparkFun-RGB-and-Gesture-Sensor.circuit-pcb.snap.svg index f224d7ea..5b7578ff 100644 --- a/boards/SparkFun-RGB-and-Gesture-Sensor/__snapshots__/SparkFun-RGB-and-Gesture-Sensor.circuit-pcb.snap.svg +++ b/boards/SparkFun-RGB-and-Gesture-Sensor/__snapshots__/SparkFun-RGB-and-Gesture-Sensor.circuit-pcb.snap.svg @@ -1 +1 @@ -VLGNDVCCSDASCLINTVLGNDVCCSDASCLINTJP1R1R2R3R4C2C3SJ1SJ2U1${REFERENCE}Avago_APDS-9960 \ No newline at end of file +VLGNDVCCSDASCLINTVLGNDVCCSDASCLINTJP1R1R2R3R4C2C3SJ1SJ2U1Avago_APDS-9960REF** \ No newline at end of file