biscuitboard 1.0.14 → 1.0.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +29 -0
  2. package/package.json +5 -2
package/README.md CHANGED
@@ -118,6 +118,35 @@ bun run snapshot:clad-32x32
118
118
  bun test tests/clad-32x32.test.tsx
119
119
  ```
120
120
 
121
+ ## BiscuitBoard STM32 stepper controller
122
+
123
+ [`Stm32StepperBiscuitBoard`](./examples/stm32-stepper-biscuit-board.tsx) is a
124
+ complete controller for one bipolar stepper motor on the 75 mm x 55 mm
125
+ BiscuitBoard. It combines an STM32C071FBP6 with the bare Analog
126
+ Devices/Trinamic `TMC5130A-TA` 48-TQFP-EP IC, a 6–18 V motor-power input, an
127
+ onboard 3.3 V regulator, the driver's charge-pump and regulator capacitors, two
128
+ 0.22 ohm winding-current sense resistors, a four-wire JST-PH motor output, and
129
+ the five-wire `J_SWD` programming connector used by the other STM32 examples.
130
+ The 18 V board limit comes from the LDK320 regulator even though the TMC5130A
131
+ motor supply itself supports a wider range.
132
+
133
+ The driver is strapped for STEP/DIR plus SPI operation. PA6 is STEP, PA5 is
134
+ DIR, and PA8 drives the active-low driver-enable input. SPI uses PA4 for CS,
135
+ PA7 for SCK, PA12 for MOSI, and PB3 for MISO. Firmware must configure the
136
+ TMC5130A current and motion registers before enabling the motor. With 0.22 ohm
137
+ sense resistors, the full-scale setting is approximately 0.96 A RMS; configure
138
+ IRUN and IHOLD for the connected motor rather than assuming full scale is safe.
139
+ Its routing changes layers only through BiscuitBoard's 51 existing vias and
140
+ does not add manufacturing vias, matching the drill-free laser workflow.
141
+ Because the fixed board cannot add the thermal-via array recommended under the
142
+ TMC5130A exposed pad, validate temperature at the intended motor current and
143
+ derate the board as needed.
144
+
145
+ ```sh
146
+ bun run build:stm32-stepper-biscuit
147
+ bun test tests/stm32-stepper-biscuit-board.test.tsx
148
+ ```
149
+
121
150
  ## Combined clad panel
122
151
 
123
152
  [`CladPanel`](./lib/CladPanel.tsx) places the breadboard clad at the upper-left
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "biscuitboard",
3
- "version": "1.0.14",
3
+ "version": "1.0.15",
4
4
  "description": "Prefabricated copper-clad board wrappers and fixed-via autorouting for tscircuit",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -32,6 +32,7 @@
32
32
  "build:circuit": "tsci build index.tsx",
33
33
  "build:breadboard-clad": "tsci build examples/breadboard-clad.tsx --disable-parts-engine --svgs",
34
34
  "build:clad-32x32": "tsci build examples/clad-32x32.tsx --disable-parts-engine --svgs",
35
+ "build:stm32-stepper-biscuit": "tsci build examples/stm32-stepper-biscuit-board.tsx --disable-parts-engine --svgs",
35
36
  "build:clad-40x40": "tsci build examples/clad-40x40.tsx --disable-parts-engine --svgs",
36
37
  "build:clad-panel": "tsci build examples/clad-panel.tsx --disable-parts-engine --svgs",
37
38
  "build:four-board-clad-panel": "tsci build examples/four-board-clad-panel.tsx --disable-parts-engine --svgs",
@@ -52,6 +53,8 @@
52
53
  "snapshot:breadboard-clad:update": "tsci snapshot examples/breadboard-clad.tsx --disable-parts-engine --pcb-only --update",
53
54
  "snapshot:clad-32x32": "tsci snapshot examples/clad-32x32.tsx --disable-parts-engine --pcb-only --ci",
54
55
  "snapshot:clad-32x32:update": "tsci snapshot examples/clad-32x32.tsx --disable-parts-engine --pcb-only --update",
56
+ "snapshot:stm32-stepper-biscuit": "tsci snapshot examples/stm32-stepper-biscuit-board.tsx --disable-parts-engine --pcb-only --ci",
57
+ "snapshot:stm32-stepper-biscuit:update": "tsci snapshot examples/stm32-stepper-biscuit-board.tsx --disable-parts-engine --pcb-only --update",
55
58
  "snapshot:clad-40x40": "tsci snapshot examples/clad-40x40.tsx --disable-parts-engine --pcb-only --ci",
56
59
  "snapshot:clad-40x40:update": "tsci snapshot examples/clad-40x40.tsx --disable-parts-engine --pcb-only --update",
57
60
  "snapshot:clad-panel": "tsci snapshot examples/clad-panel.tsx --disable-parts-engine --pcb-only --ci",
@@ -89,7 +92,7 @@
89
92
  "typecheck": "tsc --noEmit",
90
93
  "prepack": "bun run build && bun run scripts/prepare-npm-package.ts",
91
94
  "postpack": "bun run scripts/restore-npm-package.ts",
92
- "check": "bun run typecheck && bun run test && bun run snapshot:stm32 && bun run snapshot:rp2040 && bun run snapshot:boosterpack && bun run snapshot:boosterpack-clad && bun run snapshot:arduino-shield && bun run snapshot:arduino-display && bun run snapshot:breadboard-clad && bun run snapshot:clad-32x32 && bun run snapshot:clad-40x40 && bun run snapshot:xiao-clad-with-pin-headers && bun run snapshot:xiao-clad-with-perforated-pin-headers && bun run snapshot:xiao-stm32-usb && bun run snapshot:feather-clad-with-pin-headers && bun run snapshot:clad-panel && bun run snapshot:four-board-clad-panel && bun run snapshot:xiao-pair-clad-panel && bun run build && bun run build:circuit && bun run build:example && bun run build:arduino-shield && bun run build:arduino-display && bun run build:breadboard-clad && bun run build:clad-32x32 && bun run build:clad-40x40 && bun run build:xiao-stm32-usb && bun run build:feather-clad-with-pin-headers && bun run build:clad-panel && bun run build:four-board-clad-panel && bun run build:xiao-pair-clad-panel && bun run export:lightburn examples/stm32c071-display.tsx"
95
+ "check": "bun run typecheck && bun run test && bun run snapshot:stm32 && bun run snapshot:rp2040 && bun run snapshot:boosterpack && bun run snapshot:boosterpack-clad && bun run snapshot:arduino-shield && bun run snapshot:arduino-display && bun run snapshot:breadboard-clad && bun run snapshot:clad-32x32 && bun run snapshot:stm32-stepper-biscuit && bun run snapshot:clad-40x40 && bun run snapshot:xiao-clad-with-pin-headers && bun run snapshot:xiao-clad-with-perforated-pin-headers && bun run snapshot:xiao-stm32-usb && bun run snapshot:feather-clad-with-pin-headers && bun run snapshot:clad-panel && bun run snapshot:four-board-clad-panel && bun run snapshot:xiao-pair-clad-panel && bun run build && bun run build:circuit && bun run build:example && bun run build:arduino-shield && bun run build:arduino-display && bun run build:breadboard-clad && bun run build:clad-32x32 && bun run build:stm32-stepper-biscuit && bun run build:clad-40x40 && bun run build:xiao-stm32-usb && bun run build:feather-clad-with-pin-headers && bun run build:clad-panel && bun run build:four-board-clad-panel && bun run build:xiao-pair-clad-panel && bun run export:lightburn examples/stm32c071-display.tsx"
93
96
  },
94
97
  "devDependencies": {
95
98
  "@biomejs/biome": "^2.3.4",