Loading files
# Block sign-off — `status-led`
**This block goes into every board a user generates that needs it**, unchanged —
the AI composes blocks, it never edits them. So an error here is not one bad
board, it is a bad board every time. It is also the specific class of error our
automated checks provably cannot catch, which is why this sheet matters more
than any individual board in the packet. Anything you find gets fixed once and
is then right forever.
Source: [`status-led.tsx`](./status-led.tsx) · Datasheet: [`BLOCK.md`](./BLOCK.md)
## Check these against the part datasheets, not against our documentation
Our `BLOCK.md` and our source can be wrong in the same way at the same time —
they were written together. Please check against the manufacturer's datasheet
and the LCSC listing.
| # | Question | Verdict |
|---|---|---|
| 1 | Is **every component value** correct for this circuit — not merely plausible? | pass / **fail** |
| 2 | Is **every polarity** right? Diodes, electrolytics, ICs. | pass / **fail** |
| 3 | Does **every pin number** match the datasheet's pinout, in the datasheet's own numbering? | pass / **fail** |
| 4 | Is the **land pattern** right for the package actually ordered (IPC density, thermal pad, paste)? | pass / **fail** |
| 5 | Is each **LCSC part** the right part — and a sane choice for cost, stock and lifecycle? | pass / **fail** |
| 6 | Is the **decoupling** adequate in value, count and placement? | pass / **fail** |
| 7 | Does the block behave at its **stated limits** — the rail budget and current draw in `BLOCK.md`? | pass / **fail** |
| 8 | What does this block do that is **wrong at the edges** — brown-out, inrush, hot-plug, ESD, thermal? | notes |
## Anything you would have done differently
Not a defect, but worth recording — if it is a real preference we should encode
it as a default, because a user will never know to ask for it.
```
```
## Verdict
- [ ] **Approved** — safe to compose into user boards as-is
- [ ] **Approved with changes** — listed above, must land before release
- [ ] **Rejected** — do not release with this block in the catalog
Reviewer: ______________________ Date: ____________
---
## The block's own datasheet, for reference
# status-led — one indicator LED
**Function:** indication. A green 0805 LED with a 1kΩ series resistor from a
rail (default `net.V3_3`) to ground — the "it's alive" light. Point `rail` at a
GPIO net instead and the same block becomes a firmware-driven indicator.
**Status:** v1. Compile-verified against tscircuit@0.0.2279; not yet
hardware-verified (first article pending).
## Pin contract (what the block exposes)
| Net | Meaning |
|---|---|
| `net.V3_3` (default; `rail` prop overrides) | source — a rail, or a GPIO net |
| `net.GND` | ground (LED cathode) |
Order is fixed: `rail → R20.pin1`, `R20.pin2 → LED1.anode`, `LED1.cathode →
GND`. The resistor is on the high side so the LED never sees the rail directly.
## Rail budget
**≈1.2mA at 3V3** through 1kΩ, assuming a green Vf ≈ 2.1V ((3.3 − 2.1)/1k).
The Vf is the block's own working figure and is **not re-verified against the
KT-0805G datasheet** — treat the current as an estimate good enough for
budgeting, not for a photometric spec. Visible and frugal; when driven from a
GPIO the same 1.2mA is far inside any MCU's per-pin limit.
## Parts (pinned; verified 2026-08-10 via jlcsearch)
| Refdes | Part | LCSC | Package | Basic | Note |
|---|---|---|---|---|---|
| LED1 | KT-0805G, green | C2297 | 0805 | yes | $0.010, 2.80M stock |
| R20 | 0402WGF1001TCE, 1kΩ ±1% | C11702 | 0402 | yes | $0.0005, 12.6M stock — series |
## Design-rule notes
- Polarity lives in the block: `anode` to the resistor, `cathode` to GND. Never
re-wire an LED at board level — a reversed indicator is the defect deterministic
checks are worst at catching.
- Instantiate twice by overriding `led` and `r` (e.g. `LED2` / `R21`); the
default LED1/R20 refdes are the global v1 allocation.
- Driving from a GPIO: pass `rail="GPIO_NET_NAME"`. The LED is then active-high;
an active-low arrangement needs the block flipped, which is a block change.
- 1kΩ is deliberately conservative. A brighter indicator is a resistor value
change inside the block, not a board-level override.
## Provenance
- Both parts chosen from the JLC Basic library (r5 recon rule: Basic parts
avoid the ~$3/line extended loading fee).
- Land patterns: footprinter builtins `0805` (LED) and `0402` (resistor); no
imported footprint needed.
62869109eThis file is pinned to the selected release. Download the original to open it in your design tool.