Skip to the content
2 layers18 × 14 mmLynx carrier, the printed circuit board in 3D

Lynx carrier

alexnodeland/lynx4

Open-source pan/tilt camera for the XIAO ESP32-S3 Sense

Size
18 × 14 mm
Copper layers
2
Thickness
1.6 mm
Parts
7
Nets
6
Pads
20
Tracks, vias
35, 5
Pours
2
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
20 Oct 2026
Updated
21 Oct 2026

Overview

Lynx carrier is an open-source printed circuit board by alexnodeland, from the alexnodeland/lynx repository on GitHub, published under the MIT licence. It is a 2-layer board of 18 × 14 mm with 7 parts on 6 nets, routed with 35 tracks and 5 vias.

Its parts include 3 connectors, 2 capacitors and 2 resistors. It belongs with the home automation and IoT boards and the ESP32 boards of this library.

README

README.md

lynx — a pan/tilt camera for the Seeed XIAO ESP32-S3 Sense

Pages deploy Site Printable parts Parts cost Firmware Home Assistant MCP server PlatformIO three.js
Hardware licence Software licence Docs licence

lynx

An open-source pan/tilt camera you can tell where to look. AI agents drive it over MCP, Home Assistant finds it on its own, and it tracks faces and learns your own objects without sending a frame off the device.

It runs on a Seeed XIAO ESP32-S3 Sense with two MG90S servos and eight 3D-printed parts. One USB-C cable powers it, and one screw type holds it together. About $43 in parts (cost breakdown).

Site: https://alexnodeland.github.io/lynx/ · Web flasher · Build guide (3D) · Docs

What it does

Agents: an MCP server on the camera

The firmware is an MCP server (Streamable HTTP) and a REST API. Give an agent the URL and the device token, and it can aim the head, take a snapshot with the detections drawn on it, find faces, save presets, run a patrol, and read the microSD recordings.

sh
claude mcp add --transport http lynx http://lynx-xxxx.local/mcp --header "Authorization: Bearer <token>"

you: look at the desk and take a picture → look(pan: -40, tilt: 30) → snapshot(annotate: true) agent: A laptop, a mug and a plant. One person, seated on the left.

Tools: look · center · sweep · snapshot · detect · follow · preset · patrol · recordings · set_camera · stream_url · status. Full list and the REST API: firmware/lynx.

Home Assistant: discovered, not configured

Add this repo to HACS as a custom integration and lynx shows up under Discovered (zeroconf). Paste the token and you get the camera with live view, pan and tilt sliders, occupancy and a person count, follow and detection switches, presets and patrol, microSD recording, and a firmware update entity that installs GitHub releases over Wi-Fi.

yaml
# look at the front door when it opens
triggers:
  - trigger: state
    entity_id: binary_sensor.front_door
    to: "on"
actions:
  - action: lynx.look
    target: { entity_id: camera.lynx_42e0 }
    data: { pan: 60, tilt: 50 }

Entities and more automations: custom_components/lynx.

Face tracking, on the device

ESP-DL finds human faces or cat faces at about 4 fps on a scaled copy of each frame, so the stream keeps its 20 fps. Follow mode keeps the nearest face centred with small no-overshoot moves, holds where it last saw one, then glides back to rest. It's detection, not recognition, and nothing leaves the camera unless you ask for it over the API.

Your own detector

Anything else (a package, your dog, a whole person) comes from Edge Impulse. lynx collects its own training set by scanning the room, and one command installs the export:

sh
just capture mug              # lynx pans the room and saves 30 shots to datasets/mug/
# label and train in Edge Impulse (FOMO boxes or a classifier), export as an Arduino library
just model-add export.zip     # now `model: custom` in the API, MCP and Home Assistant

Walkthrough: docs/custom-models.md.

Also

Over-the-air updates that roll themselves back if a new build fails · up to 4 viewers at once and pushed status events · 8 named presets and a patrol tour · snapshots on detection and a timelapse on microSD · a first-boot Wi-Fi hotspot with a setup page · a per-device token.

Repository

PathContents
firmware/lynxPlatformIO firmware: motion, camera and MJPEG stream, REST API, MCP server, detection and follow, OTA, setup hotspot
custom_components/lynxHome Assistant integration (HACS)
hardware/productionPrint-ready STL/STEP, assembly STEP, BOM
hardware/electronicsCircuit, nets, parts, wiring harness, carrier PCB (KiCad)
webthree.js landing page, build guide and web flasher (Vite + GSAP)
tools/mlTraining-image capture for custom models
mediaRenders and screenshots

Specs

ControllerSeeed XIAO ESP32-S3 Sense (camera, microSD, Wi-Fi)
Actuators2 × MG90S micro servo — pan on D0 (GPIO1), tilt on D1 (GPIO2), 220 Ω series resistors
Travelpan ±90°, tilt ±60° mechanical; firmware soft limits pan ±88°, tilt ±58°
Motioneased "glance" moves, default max speed 300 °/s, PWM detached when idle
Power + dataone USB-C cable via a panel socket in the base (Adafruit 6069); supply ≥ 1 A
Decoupling470 µF 6.3 V bulk + 100 nF across the servo 5 V rail
Fasteners9 × M2 × 8 thread-forming, pan head — the only screw
Printed parts8 (base, lid, battery tray, yoke, pan base, pan cap, servo shroud, light pipe)
Controlon your network: REST API, MCP server for AI agents, MJPEG stream (port 81), dashboard; per-device token; serial console
Setupfirst-boot Wi-Fi hotspot lynx-xxxx with a captive setup page; lynx-xxxx.local via mDNS
Detectionon-device faces or cat faces (ESP-DL), ~4 fps; custom Edge Impulse models; follow mode
Rest posepan 0°, tilt 45°: the lens leans toward the front (tilt 0° points it straight up)
Batteryoptional 150 mAh LiPo keeps the camera up; servos run on USB power only

System

mermaid
flowchart LR
  USB["USB-C supply (≥ 1 A)"] --> SOCK["Panel socket<br/>Adafruit 6069"]
  SOCK --> XIAO["XIAO ESP32-S3 Sense"]
  BAT["LiPo 150 mAh<br/>(optional)"] -.-> XIAO
  XIAO -- "5V / GND" --> RAIL["Servo rail<br/>470 µF + 100 nF"]
  XIAO -- "D0 → 220 Ω" --> PAN["Pan servo<br/>MG90S"]
  XIAO -- "D1 → 220 Ω" --> TILT["Tilt servo<br/>MG90S"]
  RAIL --> PAN
  RAIL --> TILT
  XIAO -. "Wi-Fi: MCP" .- AGENT["AI agent"]
  XIAO -. "Wi-Fi: REST + events" .- HA["Home Assistant"]
  XIAO -. "Wi-Fi: dashboard + MJPEG" .- CLIENT["Browser"]

Gallery

Exploded viewAssembled
Exploded: eight parts, one screw typeAssembled on the pan base
USB-C socketmicroSD slot
One USB-C cable into the basemicroSD slot above the USB-C port
Site heroSite motion section
The landing pageIts motion section

Parts

About $43 per camera, $55 with the battery and a microSD card, and about $80 for your first build because the small parts come in packs (breakdown). Full list with suppliers in hardware/production/BOM.md.

QtyPart
8printed parts (hardware/production/*.stl)
1Seeed XIAO ESP32-S3 Sense
2MG90S micro servo (Waveshare 15024) or Adafruit SG92R
1panel-mount USB-C extension, Adafruit 6069
1right-angle USB-C to USB-C, thin, data-capable, 15–20 cm
1470 µF 6.3 V electrolytic (Panasonic EEU-FR0J471) + 100 nF 0603
2220 Ω resistor
9M2 × 8 thread-forming screw, pan head
112.7 × 3.17 mm N42 disc magnet (K&J D82)
—optional: 150 mAh LiPo (Adafruit 1317), microSD card

Quick start

1. Print

Print the three test-*.stl fit coupons first, then the eight parts in hardware/production. Orientation, supports and materials per part are in the BOM; defaults are 0.2 mm layers and 3 walls.

2. Assemble

The interactive build guide walks all 13 steps in 3D: parts fly in, the rest of the camera stays ghosted, and you can orbit the model at every step. The same steps as text:

Follow the ten steps in the BOM's assembly section. Wire the servos as in hardware/electronics — carrier PCB or soldered harness, same nets.

3. Flash

The easiest way is from a browser: open the web flasher in Chrome or Edge, plug in over USB-C, and click Install. Or with PlatformIO:

sh
cd firmware/lynx
pio run -e xiao -t upload       # build and flash over USB-C
pio device monitor -b 115200    # serial console: try `info`, `center`, `sweep`

Calibrate before fixing the horns: see firmware/lynx.

4. Connect

On first boot lynx opens a Wi-Fi hotspot, lynx-xxxx. Join it from a phone, pick your network, and save the token the setup page shows. Then open http://lynx-xxxx.local/ for the live view and controls, or hook up an AI agent:

sh
claude mcp add --transport http lynx http://lynx-xxxx.local/mcp --header "Authorization: Bearer <token>"

The full API and MCP tool list are in firmware/lynx.

Home Assistant: add this repo to HACS as a custom integration, restart, and lynx shows up under Discovered. Paste the token and you're done. See custom_components/lynx.

5. Run the site locally

sh
cd web
npm ci
npm run dev

Develop

sh
just setup   # once: PlatformIO + HA test harness in .venv, web deps, git hooks
just check   # lint, 71 firmware tests, XIAO build, 35 Home Assistant tests, site build
just         # every other recipe: fw-flash, fw-monitor, web-dev, hass-test, look, snap, mcp-add, release …

Contributing · Architecture · Troubleshooting · Changelog

Licences

  • Hardware: CERN-OHL-S-2.0
  • Firmware and web: MIT
  • Docs and media: CC-BY-SA-4.0

The licence texts are in LICENSES/. The root LICENSE is the MIT text for the software, so GitHub and HACS can detect it; NOTICE maps each folder to its licence.

Parts

7
QtyValueFootprintReferences
2220Resistor_SMD:R_0603_1608MetricR1, R2
1100nCapacitor_SMD:C_0603_1608MetricC2
1470u 6.3VCapacitor_THT:CP_Radial_D6.3mm_P2.50mmC1
1PAN servoConnector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_VerticalJ2
1TILT servoConnector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_VerticalJ3
1XIAO leadConnector_JST:JST_SH_SM04B-SRSS-TB_1x04-1MP_P1.00mm_HorizontalJ1

Similar boards

  • 2 layersEncoder, the printed circuit board in 3D

    Encoder

    byrantech/laptop

    anyon_e, a highly integrated, high end, open source laptop. Attempt the impossible.

    7 parts4.3kMIT
  • 2 layers40 × 20 mmSensor smd, the printed circuit board in 3D

    Sensor smd

    scottbez1/splitflap

    DIY split-flap display

    7 parts4.2k
  • 2 layers19.8 × 30 mmZ limit, the printed circuit board in 3D

    Z limit

    opulo-inc/lumenpnp

    The LumenPnP is an open source pick and place machine.

    7 parts3.7k
  • 2 layers35.6 × 58.2 mmDisplay Carrier, the printed circuit board in 3D

    Display Carrier

    AxxAxx/AxxSolder

    STM32 Based soldering station for JBC cartridges, 9-24 VDC and USB-PD power

    7 parts1.7kGPL-3.0
  • 2 layers20.3 × 16.3 mmMap MPX, the printed circuit board in 3D

    Map MPX

    rusefi/rusefi

    rusefi - GPL internal combustion engine control unit

    7 parts1.2k
  • 2 layers26 × 44 mmCompact carrier board, the printed circuit board in 3D

    Compact carrier board

    jamro/tiny-engineer

    A small desktop robot that brings an AI coding assistant to life, physically acting out when it reads files, thinks, writes code, and finishes work.

    7 parts1.1k
  • 2 layers26.4 × 53.8 mmAtari pickup, the printed circuit board in 3D

    Atari pickup

    hoglet67/RGBtoHDMI

    Bare-metal Raspberry Pi project that provides pixel-perfect sampling of Retro Computer RGB/YUV video and conversion to HDMI

    7 parts1kGPL-3.0
  • 2 layersRj45 breakout, the printed circuit board in 3D

    Rj45 breakout

    rene-dev/stmbl

    AC Servo Driver for STM32F4

    7 parts990GPL-3.0

Questions

How big is the Lynx carrier PCB?

It measures 18 × 14 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Lynx carrier use?

7 parts. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the Lynx carrier KiCad files?

From the alexnodeland/lynx repository on GitHub, at the commit this page was made from: the board is hardware/electronics/lynx-carrier/lynx-carrier.kicad_pcb and its schematic hardware/electronics/lynx-carrier/lynx-carrier.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Lynx carrier design in my own project?

Its repository publishes it under the MIT licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).