Asymtode712/ecosystem-probe
A 5 V NE555 astable oscillator board with fuse protection, RC timing, reset pushbutton, alternating red/green LED indicators, output header, test points, and ground planes.
- Version
- 0.1.0
- License
- unset
- Stars
- 0
Use with the tscircuit CLI
tsci is the tscircuit CLI. Install it with npm install -g tscircuit.
tsci clone Asymtode712/ecosystem-probe # download the package files into ./ecosystem-probe
tsci add Asymtode712/ecosystem-probe # add it to your project as @tsci/Asymtode712.ecosystem-probeIn 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.
README.md
# NE555 ecosystem probe board
This is a standalone tscircuit CLI project. Its 60 × 36 mm, two-layer board
uses a 5 V NE555 astable timer to drive a green LED when OUT is high and a red
LED when OUT is low. A button holds RESET low. J2 and three test points expose
OUT, 5 V, and GND. The board also has a fuse, mounting holes, silkscreen, and
ground pours on both layers.
R1 = 10 kΩ, R2 = 68 kΩ, and C1 = 10 µF give a nominal frequency of
`1.44 / ((R1 + 2*R2) * C1) ≈ 0.99 Hz`. The LED resistors are 680 Ω. J1 accepts
a current-limited 5 V supply, with pin 1 positive and pin 2 GND.
## CLI workflow
From this directory, install dependencies and build the package:
```sh
bun install
bunx tsci check source
bunx tsci check pin_specification
bunx tsci check netlist
bunx tsci check schematic-placement
bunx tsci check placement
bunx tsci build index.tsx --preview-images --kicad-project --preview-gltf
bunx tsci check shorts index.tsx
bunx tsci check pcb-style index.tsx
```
`tscircuit.config.json` limits the CLI to `index.tsx`. The resulting
`dist/index/` directory contains Circuit JSON, PCB and schematic SVGs, a 3D
preview, and a KiCad project; `dist/index.gltf` holds a 3D model. The
`build-local.tsx` command renders the same source through the sibling `core`,
`circuit-to-svg`, `circuit-json-to-kicad`, and `circuit-json-to-gltf` clones:
```sh
bun build-local.tsx
```
It writes `dist/local/` with Circuit JSON, SVGs, PNGs, GLB, KiCad files, and
`report.json`. This lets you compare the installed CLI stack with the forked
checkouts before assigning an issue to a repository.
The validated baseline has 18 source components, 38 source traces, 32 PCB
traces, 18 vias, and two ground pours in both builds. The CLI's schematic and
PCB placement checks report no issues; its shorts and PCB style checks pass.
The local clone build emits no errors and its independent copper-pour short,
trace self-short, trace style, and schematic placement checks are clear.
## Change one thing at a time
Copy `dist/index/circuit.json`, the SVGs, 3D image, and the local report before
each experiment. Rebuild after changing one prop:
| Change | Expected result | Likely repo if the output disagrees |
| --- | --- | --- |
| Change R2 from 68 kΩ to 33 kΩ | Source value and schematic label change; PCB geometry remains valid | `core` or `schematic-viewer` |
| Rotate R4 from 90° to 0° | Pads, routed traces, and 3D body follow | `core`, autorouter, or `3d-viewer` |
| Move D1 by 2 mm | Placement and route change; netlist does not | `core` or autorouter |
| Move D2 to `layer="bottom"` | Footprint mirrors and 3D places it below | `core`, `3d-viewer`, or KiCad exporter |
| Change F1 current rating | Source, schematic, and exported metadata agree | `core` or exporter |
| Inspect KiCad output | Root schematic references `main.kicad_sch` and PCB opens | `circuit-json-to-kicad` |
Record the expected and actual result. Inspect Circuit JSON first: an error
there points to generation or routing; correct JSON with a wrong preview or
export points to that consumer. Reduce any bug to the smallest board that still
reproduces it.
## Findings and assembly limits
The CLI parts engine initially selected JLCPCB `C3030991` for D2. Its pin 1
is the cathode, while the default generic LED maps pin 1 to the anode. The
CLI caught this as a source misconfiguration; D2 now declares its physical
`pinLabels` explicitly. The CLI still warns that the generic 0603 footprint
has only 0.7966 copper overlap with that supplier footprint. Select and verify
an exact physical part before manufacturing.
The local `core` clone emits manufacturer-part-number warnings such as
`<pinheader#12 name=".J1" /> is missing a manufacturer part number ...`.
The `#12` is an internal component ID in a user-facing diagnostic. It comes
from `NormalComponent_doInitialMissingManufacturerPartNumberWarning.ts` in
`core`; a two-pin header without a supplier part is a minimal repro.
The CLI also reports missing part numbers for SW1 and the three test points.
Their footprints and the other supplier mappings need review before ordering.