ECLIPTIC jetson/ — the edge box Hardware & enclosure

jetson/ · the edge box

Edge-box hardware and enclosure

Everything the Jetson node needs to be a sealed, vehicle-powered, dual-camera threat sensor. One constraint drives the whole enclosure design: the thermal camera cannot see through glass.

Where the build stands

ItemState
Jetson Orin Nano Super Dev Kit + 19 V PSUIn hand
NVMe M.2 2280 SSD, 512 GBIn hand — 512 > the 256 spec'd, more headroom for JetPack + models + recordings
FLIR Lepton Ultra Wide + PureThermal Mini USBIn hand — one thermal camera: 1 board + 1 UW module
RGB camera — Arducam day/night IMX462 USBIn hand
Camera-head housing, Jetson enclosure (KKSB), DC-DC buck, router, DMX interface + cables + fixtureIn hand
Thermal window — germanium D20 × 1 mm, 2-sided AROrdered
Gore/ePTFE breather vent ×2, vibration pads, short shielded USB cables, 120 Ω XLR terminatorStill needed — cheap last-mile, no lead time
IR illuminatorLikely skip — see below

The thermal camera

Switched from the Lepton 3.5 to the Ultra Wide: 160° FOV (vs 57°), and non-radiometric, which is fine because zvision detects warm blobs by contrast and motion, not absolute temperature. Wide surround coverage fits the “people all around a slow art car” mission.

Measured on the real board 2026-08-07 — several of these contradict what the datasheets and earlier notes said:

Measured
Enumerates asGroupGets PureThermal (fw:v1.3.0) → /dev/video0 + /dev/video1, uvcvideo, no drivers
Resolution160×120 (4:3) — not 120×120 as first recorded
Rate9 fps native. --hz 10 asks for more than it makes.
FormatsUYVY, Y16, GREY, RGBP, BGR3 — no MJPEG
Bandwidth160×120×2×9 ≈ 2.8 Mbps. Irrelevant to the USB budget; the RGB ring is the contention.
ConnectorSmall USB-B family, not USB-C — that is the PureThermal 3. The board in hand took a mini-B; trust the board over the product page.
The 8-bit output is unusable — and it looks exactly like an empty scene

A real indoor frame through the 8-bit path came back with a standard deviation of 0.12 counts — flat. The Lepton's AGC is reachable only via vendor UVC extension units; v4l2-ctl --list-ctrls shows a read-only brightness and nothing else. Background subtraction on that detects nothing, forever, and looks exactly like “the camera works but there's nothing to see”.

The same scene in Y16 raw has hundreds of counts of structure, and a hand reads +100 to +360 above background. So zvision opens the thermal through capture.ThermalCamera, which takes Y16 and does its own percentile stretch.

Two traps found doing that:

  • Force the V4L2 backend. OpenCV otherwise picks GStreamer, which silently ignores CAP_PROP_CONVERT_RGB and hands back an already-converted 8-bit frame — std ~86 versus ~176 for true uint16 raw.
  • Only crop telemetry rows when they exist. The Y16 122-row mode appends 2 Lepton telemetry rows, which read as a permanent band of false motion along the bottom edge. But asking for 120 returns 120 — an unconditional crop ate two real image rows.

FFC is normal. Every few minutes the internal shutter closes and the whole frame goes uniform for an instant. Do not read it as a fault. It also means absolute counts drift, which is why the stretch is per-frame and only relative structure is trusted — and why ReBaselineGuard exists.

The thermal window

Glass, acrylic and polycarbonate block LWIR entirely

So a standard security dome or housing works for the RGB but not the thermal. The thermal always needs its own port with an LWIR-transmissive window (germanium) or an open recess. That single constraint drives the enclosure choice — you cannot drop both behind one glass front.

Build two separate windows side by side, one per camera — not a single split pane. Germanium is opaque to visible light, so the RGB cannot share the germanium port; glass blocks LWIR, so the thermal cannot share the glass. Neither material does both. (ZnSe does, and is expensive and tinted — skip it.)

Ordered: germanium D20 × 1 mm, 2-sided AR. Upsized from D15 for the Ultra Wide's field of view. The window is a stop, and a flat stop at standoff s only passes a half-angle θ if its radius r ≥ s · tan θ. At an 80° half-angle tan θ = 5.67, so a D20 window (r = 10 mm) must sit within ~1.7–2 mm of the lens front — and every ring in front of it (retainer lip, bezel, shroud edge) has to clear the same cone at its own standoff. This is the single tightest number in the pod.

Unreconciled

That sizing uses an 80° half-angle, while the FOV-reference decision concludes the true horizontal half-angle is 64° (tan 64° ≈ 2.05, which would allow ~4.9 mm of standoff for D20, not ~2 mm). The optics number was not revised when the bearing number was. The 2 mm figure is the conservative one, so building to it is safe — but do not quote the 5.7× rule elsewhere without deciding which half-angle applies.

Do not go bigger: flat-window edge rays at ~80° incidence fall outside the AR coating anyway. And do not cut germanium yourself — it is a brittle semiconductor, ground and polished by optics shops. Seat it on a compliant O-ring (never metal-on-metal), do not over-torque the retainer, and keep RTV off the clear aperture. Buy early: germanium supply is tight and pricey under export controls, and stock is not always replenished.

Field spare — shrink film

Community outdoor-Lepton testing found sandwich bag, cling wrap and polyolefin shrink film all quite transparent to LWIR. Every objection raised there was temperature error from film reflections, which does not apply here — the UW is non-radiometric and detection is by contrast and motion, not absolute °C. A film window also has essentially zero standoff, so it sidesteps the vignetting constraint entirely.

It is not the primary because LDPE softens well below what a dark pod reaches in playa sun, and it abrades and punctures. Cut a spare port ring sized for shrink film and pack it — germanium is brittle, replacement is far away, and a $1 film window keeps the thermal channel alive if it cracks on the drive out. (Also cut a scrap of HDPE for bench bring-up so a late shipment cannot block the Lepton.)

The pod

Recommended (revised 2026-08-07): a separate, tiny box for the thermal. The CCTV box is far bigger than the thermal camera needs — the PureThermal Mini board is 19.5 × 15.32 mm, and the whole camera with the Lepton in its socket is roughly 20 × 16 × 12 mm plus the connector overhang. Give it its own pod and leave the RGB in the small housing it already ships with.

A thick-walled box is fine — nose the lens into the bore

A ~1.7 mm window standoff reads like “the front wall must be paper-thin”. It does not: bore the port to the window's own diameter, seat the window in a counterbore on the outer face, and push the board forward on standoffs until the lens sits inside that bore, ~1–1.5 mm behind the window's rear face. The bore wall is then beside the lens, not in front of it, so it never enters the cone and wall thickness stops mattering.

The box
Hammond 1550Z101 — 50 × 45 × 24 mm, diecast aluminium, one-piece silicone gasket, IP66/67/68 + NEMA 4X, −40 °C to +150 °C. The 6 mm lid is the part that matters: thick enough for a counterbored window seat with an O-ring groove, and the only face that needs machining.
Cable exit
Feed the mini-B end first, from outside in, through an M12/M16 gland — the mini-B plug is ~7.5 × 4.5 mm and clears an 8 mm bore, whereas the USB-A end (12 × 4.5 mm) never will. Gland on a side wall, Gore vent on the back.
Cost of splitting
Two boxes means two independent mount angles. rig.py already carries a per-camera mount_az, so this is a calibration entry, not a code change — but bolt both pods to the same rigid bracket, or the cross-camera dedup has nothing stable to work against.
Does anyone already sell a sealed Lepton housing? Surveyed 2026-08-07 — no

What exists splits cleanly in two: indoor shells (GroupGets' official case, the GG-24 breakout case, and a community 3D-printable enclosure built around the PureThermal Mini's exact PCB — dimensionally ideal, but unsealed, with an LDPE grocery-bag film window); and sealed germanium housings (moviTHERM IP67/IP69K, FLIR's own T912366) with DLC/AR germanium already installed, but built for A-series / Boson bodies at several hundred to low thousands. Nobody makes the intersection, which is why it gets built. Do not re-survey.

RGB camera

Sony STARVIS IMX462 (2 MP, ~0.001 lux, high near-IR sensitivity), USB UVC so it appears as /dev/videoN with no drivers. The day/night ICR variant is the recommended buy: a mechanical filter that is in by day (true colour) and out at night (max sensitivity), auto-switched.

These ship with wide M12 lenses (~85° H) and the lens is interchangeable. For the surround ring the cameras do not need to match anything — each is its own sensor covering its own arc. Pick lenses so the arcs overlap slightly and the ring closes, and declare each camera's real FOV, lens projection and mounting bearing in its --camera spec.

Open decision

RGB count and lens FOV are still to be decided, and that choice is what decides whether the ring closes. The UW thermal already covers the forward 160°, so the RGB ring mainly owns the sides and rear. zvision -v prints the resulting blind sectors.

If the forward RGB is co-mounted with the thermal, alignment is a one-time software job: mount both rigidly on one bracket, close together (small baseline), same look direction, then a fixed 2D scale/offset/rotation registers the frames. At 10–30 m the parallax from a few-cm baseline is negligible, so no stereo rig is needed. (Note the older “match the FOVs” advice is obsolete — it was written for the 57° Lepton 3.5.)

Headlights vs an IR illuminator

Halogen headlights emit strong near-IR (700–1100 nm) that a no-IR-cut IMX462 sees well. LED headlights emit almost no IR (phosphor-white), so they help the RGB only with visible light. Either way it barely matters: at night the thermal is the primary detector and needs zero illumination, and the headlights light the scene for the RGB regardless. So the illuminator is genuinely optional — its only unique value (invisible 940 nm “stealth” light) is moot on a headlight-on art car.

Cooling, venting and paint

Vent — yes, but a membrane, not a hole

A fully sealed box becomes a sun-baked pressure cooker and pumps moisture as it heats and cools; an open vent lets playa dust straight in. A Gore/ePTFE breather vent equalises pressure and lets humidity out while blocking water and dust. One per box.

  • Camera pod — the cameras are low-power (~1–2 W each); the heat is almost all solar. Light/reflective paint + the sun shroud + bolting the boards to the aluminium body + a Gore vent is enough. No fan needed. Keeping it cool also protects thermal image quality: the Lepton's sensor drifts when its body runs hot, not just at the survival limit.
  • Jetson box — this is the real heat (~25 W) and must be actively managed. Shade it (the single biggest win; it does not need to be at the cameras, thanks to the USB tether), give it filtered airflow, and sanity-check with tegrastats in the sun — the SoC throttles around 85–90 °C.
  • Keep the Jetson in its OWN vented box, not the sealed camera pod.
Thermal reality check

The carrier board spec rates the dev kit at 0 °C to 35 °C ambient. Playa daytime runs 38–40 °C — above the rated range. The shaded mount, the aluminium case and a vented (not sealed) box are therefore load-bearing, not nice-to-have.

Paint — fluorescent green is a good call, since a light colour reflects sun and so helps cooling. But mask BOTH windows first: paint is 100 % opaque to LWIR, so even a thin coat kills the thermal, and it obviously blocks the RGB. Do not paint over the Gore vent or a fan intake. Fluorescent pigments fade under playa UV — cosmetic only.

Power and wiring

 12V vehicle ──► DC-DC 12→19V ──► Jetson barrel
                                    │
   Lepton/PureThermal ──USB──►  Jetson  ──Ethernet──► travel router ──► tablets
   USB webcam ─────────USB──►      │ (or M.2 AX210 WiFi)
                                    └─ NVMe SSD (boot)
Never wire raw 12 V to the barrel

The carrier accepts 9–20 V but wants 19 V for full MAXN, and vehicle 12 V dips below 9 V on cranking and spikes on load-dump. Use a rugged DC-DC to a clean, stable 19 V, ≥4 A on a fused feed. A sealed boost needs a fuse (~10 A) plus an automotive load-dump TVS on its input — a boost passes a 40 V spike straight through; the TVS clamps it. A true buck-boost is the alternative.

Draw: Orin Nano Super in MAXN is up to ~25 W; add ~2–5 W for two USB cameras. Budget ~40 W continuous (≈2 A @ 19 V).

Assembly order

Each step is verifiable before the next. The assembly diagram is jetson/sensor-pod-assembly.svg in the repository.

  1. Bench-flash the Jetson — JetPack, MAXN-Super power mode; confirm zvision --source fake lights a tablet's DRIVER HUD. That proves compute + bus + HUD before any optics are involved.
  2. Mount both cameras rigidly on the front plate, small baseline, each aligned to its own port.
  3. Seat and edge-seal the windows — germanium close to the Lepton lens, RGB glass in its port, on O-rings or high-temp RTV; keep sealant off the clear apertures.
  4. Fit a Gore vent to each box.
  5. Mask BOTH windows, paint the pod, cure, unmask.
  6. Mount — pod top-centre facing travel on the vibration-isolated bracket; Jetson box shaded and vented; USB-tether the cameras.
  7. Wire — power 12 V → DC-DC → 19 V; network Ethernet or AX210.
  8. Heat check — tegrastats in the sun; confirm every camera enumerates with v4l2-ctl --list-devices; give each one a --camera spec with its measured mounting bearing, FOV and lens model, and check the verbose banner reports the blind sectors you expect.
  9. Verify end to end — --source thermal (+ rgb), walk in front, confirm contacts on the DRIVER HUD.

Environmental checklist

  • Enclosure sealed against dust (gaskets + cable glands)
  • Cooling path that does not ingest raw dust
  • SSD boot (not SD) + a spare — SD cards die from vehicle vibration and playa heat
  • Every connector strain-relieved and taped
  • Power converter fused on the 12 V side
  • Cameras behind a cleanable window if enclosed; the thermal needs an IR-transmissive window (germanium / HDPE), not glass
  • RGB + thermal co-mounted rigidly on one bracket (small baseline)
  • Cameras at top-centre facing the direction of travel
GPS is not on this box

GPS and telemetry are the sensor hub node (the XCover phone now, a Pi later), not the Jetson — GPS belongs to that box. The Jetson is vision-only. Both broadcast on the same fleet bus.

Converted from
jetson/HARDWARE.md · jetson/DEPLOY.md §7b · docs/DEVICES.md §4