CricketOne: system architecture for review
7 November 2026, board set rev A-1, revision 4: one camera in each stump. This page is for engineers who review our electronics. It brings together, in one place, what is spread over our design pages: the chips, the program, the data, the network, the security and the power. Numbers marked (est.) are our calculations; we measure them on the first units. Comments are welcome at [email protected].
1. The short answers
| Question | Answer |
|---|---|
| What runs on the board? | Linux from Rockchip’s RV1126B SDK, booting from an industrial microSD card. Our match program runs as three separate services: the cameras, the stump’s rules, and the signed-call server. Section 3. |
| Where does the software live: board or phone? | On the stumps. Every stump finds the ball and the players in its own frames; the striker’s middle stump joins them and makes the calls. The phone app sets up the match, shows the signed calls and clips, and lets the umpire or captains answer an unsure call. It makes no decision. Section 3. |
| Which model detects the ball? | Not a neural network. The ball is found by fixed image processing on every frame (a three-frame difference and a small-blob test), then one physical flight model (gravity, drag, swing, bounce) is fitted through the points from all the stumps. A neural pose model (YOLOv8n-pose, INT8, on the NPU) finds the batter and bowler. Section 4. |
| How are run-out, LBW and the other calls made? | Each call is a rule from the Laws applied to measured times and positions: for a run-out, the moment the bat is grounded behind the crease against the moment the bail leaves its groove. A call is “sure” only when the measurement is at least 3 standard deviations clear of the line; otherwise it is “unsure” and goes to a person. LBW is evidence only: the umpire decides. Section 5. |
| How much data goes to the phone? | About 10 MB on a whole day of play (est.): signed calls and ball tracks. A video clip (about 5 MB) goes only when someone taps it. Section 6. |
| Is it a mobile hotspot? | No. The stumps make their own Wi-Fi network. The striker’s middle stump is the access point, and phones join it. No SIM, no internet and no phone hotspot are needed. Section 7. |
| Ten hours of 120 fps video is more than 500 GB. Where does it go? | We never record it. One camera at 120 fps makes about 4.4 TB of raw frames in 10 hours. The frames are read in memory, ball positions are taken from them, and they are overwritten seconds later. Only 10-second clips around calls are saved: about 0.5–2 GB on a busy day (est.). Section 6. |
| Which network and which encryption? | Wi-Fi 5 (AMPAK AP6256, Broadcom BCM43455) with WPA3-SAE. TLS 1.3 to the phones, and every call signed with ECDSA P-256 by an ATECC608B secure element. Section 8. |
| How can the OmniVision sensor give 120 fps for 10 hours? | The OV9281 is rated for 1280 × 800 at 120 fps and runs continuously; a sensor does not wear out from streaming. The limits are the battery and the heat, not the camera. With one camera in each stump the budget is about 2.4 W, which gives about 11 h of play (est.). Section 9. |
| How do six single cameras see all round? | Each stump has one camera, aimed by its printed bracket: the two middle stumps look down the pitch (70° lens), the four leg and off stumps are turned out 55° (120° lens). Together they see every direction round the field, nearly all of it from two or more stumps. Section 2. |
2. The hardware: one board set in every stump
A CricketOne set is six smart stumps, each carrying the same board set with one camera. The striker’s middle stump is the brain of the set, and the far middle stump is its backup. Each board set is three boards joined by soldered leads, with no plugs inside except the cell pack’s latching plug.
Camera head (at the windows)
| Part | Chip | What it does |
|---|---|---|
| Camera | OmniVision OV9281 module | 1 MP (1280 × 800) monochrome global shutter, 120 fps. A 70° lens in the middle stumps, a 120° lens in the leg and off stumps. It sits on a printed bracket that sets its aim; its 15-way tail is soldered to the head. |
| Level shifting | TI TCA39306 + 2 × SN74LV1T34 | The camera module uses 3.3 V I2C; the processor’s camera pins use 1.8 V. The camera (0x60) and the light driver (0x74) share the head’s bus. |
| Call lights | Lumissil IS31FL3216A (0x74), 8 × Kingbright APBA2006SURKZGKC red/green LEDs | Each light is one right-angle LED with a red and a green chip, so software sets its colour: red OUT, green NOT OUT, both together amber. Four down each side edge, shining through clear strips in the stump wall. Red 240 mcd, green 450 mcd, 20 mA each. The driver runs from 5 V because the green needs up to 4.1 V. |
| Bail sensors | 2 × TI DRV5033FA Hall switches (continuous, 30 kHz) | A magnet in each bail. A bail off is an edge on a GPIO line within about 0.04 ms, time-stamped by the kernel. (A low-power DRV5032 samples only 20 times a second, up to 50 ms late, so it was replaced.) |
Camera link: one 2-lane MIPI CSI-2 link. At 1280 × 800, 120 fps and RAW10, that is about 1.23 Gb/s, or 0.62 Gb/s a lane (est.); the RV1126B’s D-PHY is rated 2.5 Gb/s a lane. It reaches the main board on RX0 lanes 0–1 over one 30-way 0.5 mm flat cable, soldered at both ends, with the I2C, frame sync, 3.3 V and 5 V.
Aiming the six cameras: the all-round view
The board is the same in all six stumps. The aim is set by the printed camera bracket, so it can be changed after the boards are made. Our coverage study (sim/onecam-r300.mjs, eight layouts compared, est., no players hiding anything) picked:
| Stump | Camera aim | Lens |
|---|---|---|
| Middle (both ends) | straight down the pitch | 70°: the ball is still 3.5 pixels across at the far crease, enough to track it |
| Leg and off (both ends) | turned out 55° to its side | 120° |
| Check (all six together) | Result |
|---|---|
| Round the field at 5, 15, 30 and 45 m | 100 % of directions seen; 100 %, 100 %, 98 % and 87 % seen by two or more stumps |
| The popping crease, within 1 m of the middle | two close views at both ends on 90 % of it, the second view 4–5 mm a pixel |
| Behind each wicket | seen by the other end’s three cameras, looking up the pitch |
Each end sees about 210° in front of it, and the far end covers the area behind it.
Main board (in the stump’s bore)
| Part | Chip | What it does |
|---|---|---|
| Processor | Boardcon LGA1126B-2G8G module: Rockchip RV1126B, 2 GB LPDDR4X, 8 GB eMMC | 4 × Cortex-A53. NPU 3 TOPS (INT8). AI-ISP for 2 sensors. VICAP takes 4 camera inputs and can write RAW straight to memory. H.264/H.265 encoder. Crypto engine (AES-128/256 with GCM, SM4). Secure OTP and TrustZone. |
| Wi-Fi and Bluetooth | AMPAK AP6256 (BCM43455) | Wi-Fi 5 (802.11ac, 2.4 and 5 GHz) and Bluetooth 5, over SDIO 3.0. A certified module, with a dual-band chip antenna (Johanson 2450AD14A5500, 2.4 and 5 GHz) and a π match tuned on the first boards for both bands. |
| Security | Microchip ATECC608B | Holds the stump’s private key, which never leaves the chip. Signs every call. |
| ID | Microchip 24LC02B (E grade) | Serial number, board version, calibration. |
| Card | Hirose DM3CS-SF hinged, latching microSD socket; TI TPS22917 power switch; TI TPD6F003 ESD | The system boots from an industrial pSLC card (−40 to 85 °C). The processor can power-cycle a stuck card. A ball hit cannot eject it. |
| Motion | ST LSM6DSOX | Knocks, stump hits and tilt. Its latched wake-up flag catches a 1 ms ball hit. |
| Sound out | Analog Devices MAX98357A (I2S class-D) → Ole Wolff OWS-2879W50A-4 4 Ω, 2 W speaker (28 mm, IP67) | Calls “OUT” and plays tones. |
| Sound in | Infineon IM63D135A PDM microphone (automotive, −40 to 105 °C, 135 dB overload) | Hears a thin edge, for caught-behind evidence; rated for the main board’s temperature on a hot day. |
| Wi-Fi clock | ECS ECX-1637B (ECS-374-12-37B) 37.4 MHz quartz crystal, ±10 ppm, ±10 ppm over −30 to 85 °C, 2.0 × 1.6 mm | The low phase noise 5 GHz needs, as AMPAK’s reference design. Its shock rating is checked in the drop test. |
| Charger | Analog Devices LTC4162-FST 3.2 A step-down LiFePO4 charger, at the board’s lower end | 3.6 V fixed in the chip, so it charges safely with no software. Fills the 10.2 Ah pack in about 3.5 h (off) or 4 h (in play) from a 3 A USB-C charger. Holds its input at 4.5 V or more, so a weaker charger only charges more slowly. Holds its own die under 110 °C (set at boot; it slows from 100 °C), so in hot sun a stump that is on charges more slowly (sim R306); charges to 3.5 V when the cells are warm and not at all when they are too hot. Charge current, input and temperature over I2C (0x68). |
| Power | ADI LTC2954-1 push-button controller; TI TPS61022 boost to 5.0 V; TI TLV62569 buck to 3.3 V | Clean shutdown on a button press, so the card is never cut mid-write. |
Base board (on the cells)
| Part | Chip | What it does |
|---|---|---|
| Charge port | GCT USB4125 USB-C (power only) + Littelfuse SMF12A TVS | Behind a sealed plug, above the grass. The 5 V goes up the lead to the charger on the main board. |
| Protection | HYCON HY2112-HB + 2 × AOS AOTE32136C dual FETs in parallel | Over-charge 3.65 V, over-discharge 2.50 V, over-current (5.7 A worst case, est.) and short circuit. |
| Gauge | Analog Devices MAX17260 (0x36), 10 mΩ sense resistor | Counts charge in and out; a LiFePO4 cell’s voltage is too flat to show charge. |
| Cells | 3 × LiFePO4 26650, 3.4 Ah, in parallel; Molex Micro-Fit 3.0 latching plug | 2.5–3.6 V, 32.6 Wh. LiFePO4 for safety in a stump that is hit by a hard ball. |
| Switches | E-Switch TL3336 IP67 power button; Omron D2F-01 tamper switch | The tamper switch tells the stump it has been opened. |
3. The software
| Layer | What it is |
|---|---|
| Boot | The eMMC ships empty, so the RV1126B always boots from the card. The system is read-only and signed (dm-verity), with a separate data partition. Updates write the second system copy; a bad update rolls back by itself. |
| Operating system | Linux from Rockchip’s RV1126B SDK. Device tree: one CSI-2 port (RX0), the head I2C bus (camera and light driver), MAX98357A on SAI2, the PDM microphone. |
| Camera path | The camera goes RAW straight to memory through VICAP: it is monochrome, so the ball finder needs no ISP. The lens correction is applied to the measured points, not to the picture. |
| Match program | Python 3 and C (OpenCV, NumPy, libgpiod, V4L2, cryptoauthlib, the RKNN runtime). Three systemd services, each restarted on its own if it stops: • cricketone-eyes: the only program that opens the cameras. It runs the 120 fps loop, the ball finder and the clip rings. • cricketone-stump: the bail switches, the motion sensor, the tamper switch, the lights and the rules. It never opens a camera, so a camera crash never stops a bail call. • cricketone-calls: signs every call and serves the phones. |
| Unsure calls | Below the confidence line, after a knock, with a wet or blinded window, or in poor light, the call is “unsure” and goes to the umpire or captains with its clip. |
Where each piece of software lives
| Where | What runs there |
|---|---|
| Every stump (six) | The camera drivers and the ball finder on every frame; the pose model on the NPU; the bail sensors (kernel-timed edges), the motion and tamper sensors; the clip rings; the lights and the speaker; signing with its own ATECC608B. It sends ball points with times, never frames. |
| The striker’s middle stump (the brain; the far middle stump is its backup) | The Wi-Fi access point and the set’s clock. It gathers the ball points from all six stumps, fits the flight and makes the calls in section 5. It keeps the signed call log and serves the phones. |
| The phone app (the IEMI app, built in Flutter for Android and iPhone, with Windows, Mac and web builds) | Match set-up: the ball colour, the leg-side wide rule, the ground’s place, and (to come) each batter’s hand. It shows each call, checks its signature against the stump’s key, plays the clip and draws the 3D view from the ball packet. The umpire or captains answer unsure calls in it. The app makes no decision. |
| Our servers | None during a match. The phone and the stumps need no internet. |
Why the decisions are made on the stumps and not on the phone: every phone then shows the same call, and the call is signed where it was measured. A phone with a flat battery, an old app, or no app at all cannot change a call. The stumps also have the frames and the exact times, which never leave them.
Today the app has its match set-up screens and a demo mode. The live call feed, the clip player and the 3D view are being built against a sample ball packet (one simulated delivery, 12.6 kB).
4. Finding the ball and the players
The ball is not found by a neural network. At 20 m a cricket ball is only 3–6 pixels across on our cameras. A detector must run on every frame of every camera at 120 fps, on a battery, and its errors must be measurable to a fraction of a pixel. A fixed method does that better than a trained model, and costs a few milliseconds a frame. The finder (track2d.py) does this on each frame:
- Three-frame difference. A pixel counts only if it differs from both of the two frames before it. So only the moving ball shows, where it is now, with no ghost and no background model to learn.
- A threshold that follows the light: the larger of 8 grey levels and 5.6 × the mean difference over a 16-pixel grid. It keeps working from bright sun to evening light.
- Look where the ball should be first: a 64 × 64 window ahead of the last position at constant speed.
- Otherwise search the whole frame in 4 × 4 blocks, keeping blocks with at most three active neighbours. A ball covers 1–4 blocks; a player covers hundreds.
- A ball is a small isolated blob: 2–20 pixels over the threshold (3 to start a track), with almost nothing in the ring around it. Its centre is the weighted centre of the 7 × 7 pixels round the peak, to about 0.25 pixel (est.).
A small correction follows for the ball’s shading: sunlight makes one side brighter, which pulls the measured centre towards the sun. It is modelled from the sun’s position and the ball’s brightness.
From pixels to metres. Each camera’s lens is calibrated with OpenCV’s 5-term lens model and a chessboard, to 0.08 pixel or better. Each camera’s aim is held to 0.01°, and after a knock it re-aims itself from the painted crease lines before its calls count again. Each camera has a frame-sync input, so all six stumps can expose at the same moments. Between stumps, the clocks are matched to about 0.03 ms (est.) by 16 time exchanges a second over Wi-Fi, keeping the fastest, fitting drift over 8 s, a real-time (PREEMPT_RT) kernel, and fitting each frame time to the camera’s steady frame period. Plain network time would leave about 0.5 ms, in which a 145 km/h ball moves about 20 mm. Each frame carries the camera’s own time stamp. A ball seen by two or more stumps at known times is placed in 3D.
The flight fit. The brain fits one physical flight through every look of the ball from all six stumps, about 720 looks a second (six cameras at 120 fps, est.). The model has 13 numbers: the release position and velocity, air drag (−k|v|v), swing (a sideways push that may change during the flight), the bounce (the ball’s velocity after it meets the pitch) and the drift after the bounce. It is flown in 2 ms Runge-Kutta steps and fitted by least squares. The flight step is written in C (flight.c) so the fit is fast enough on the stump’s Cortex-A53 cores. The fit gives the release, where the ball pitched, its line and length, where it met the pad or bat, and where it would have gone, each with its own uncertainty.
Touches. A ball that touches the bat or the pad turns. A turn of more than about 5 standard deviations in the track is a sure touch. The microphone adds the sound of a thin edge as evidence.
The players: a neural pose model. YOLOv8n-pose, quantised to INT8 and run on the RV1126B’s 3 TOPS NPU with Rockchip’s RKNN runtime, gives 17 body points (the COCO set) for the batter and the bowler. A similar Rockchip NPU with a quarter of the power runs it at about 23 frames a second, so the RV1126B is expected to run it at full rate (est.). It is used where the Laws ask about the body: the striker’s movement and reach for wides, the batter’s balance for hit wicket, the pads for leg-side wides. The bat toe, the heel and the edge of the shoe are found as edges in the image, which is more exact than a body point.
The physical sensors decide the moment: a Hall switch under each bail gives the bail-off time to within 0.3 ms, and the motion sensor in each stump records a ball strike.
5. How each decision is made
Every call is a rule from the MCC Laws, applied to measured positions and times. A call is “sure” only when the measurement is at least 3 standard deviations clear of the line (3.5 where the view is poorer). Anything closer is “unsure”: the stumps light white, and the clip goes to the umpire, or with no umpire, to the two captains. The numbers below come from simulations of 20,000 events each, designed to give no wrong sure calls. Real figures come from field tests against a 1,000 fps reference camera.
| Call | Who decides | How it is made | Simulated result |
|---|---|---|---|
| Bowled | the stumps | A bail comes off and stays off within −1 to +25 ms of the moment the ball’s track reaches the stumps, and the struck stump’s motion sensor records a hard hit at that moment, or the track passes through the bails. A later bail-off (keeper, fielder) goes to the run-out and stumping checks. | Sure on 97.5 % of bowled balls, 0 wrong sure calls |
| Run-out | the stumps | The bat toe or foot is followed in 3D through every look in the last 30 ms by the three stumps at that end. Two moments are found: when it crosses the popping crease, and when it is grounded (a touchdown fit of its height). The batter is safe from the later of the two (Law 30.1.2). That is raced against the bail-off moment from the Hall switch. Out if the bail went first. The far stumps check how the wicket was broken: a direct hit, or a hand holding the ball. | ±10.2 mm at 95 % where two or more cameras see the bat, 0 wrong sure calls |
| Stumped | the stumps | The keeper’s glove holding the ball at the stumps, plus the same fit on the striker’s back foot or bat. Wide and no-ball are checked first. | ±3.9 mm at 95 % |
| Hit wicket | the stumps | The bowler’s-end cameras find the bat, body or kit nearest the struck stump at bail-off. The pose model checks it was before the batter regained balance. Never off a no-ball; no fielder within 1 m. | Sure on 47.8 %, 0 wrong sure calls; the rest go to a person |
| Front-foot no-ball | the stumps, before the ball reaches the batter | The heel’s track before it lands is extended to the ground to find where the foot lands (Law 21.5.2), in 3D from two cameras, so a raised heel counts by the spot below it. That is measured against the edge of the painted crease. | ±2.6 mm at 95 %, sure on 98.2 % |
| Back-foot no-ball | the stumps | The outer edge of the back foot against the inner edge of the return crease, from the first frames after it lands. | ±18 mm at 95 %, sure on 95.7 % |
| Wide | the stumps | The ball’s track after the bounce against the league’s guideline; the pose model for the striker’s movement; the track’s turn for a touch. Leg side: the track must pass outside the line, must not turn after the striker, and the pads and bat must be clear of it. | ±1.6 mm at 95 %; leg side sure on 83 %, 0 wrong sure calls |
| LBW | the umpire (or the captains) | Evidence only. From the flight fit: where it pitched (in line, outside off or outside leg, using the batter’s hand set in the app), where it met the pad, and its path to the stumps, using only the looks before impact. The app shows “hitting” or “missing” with a confidence. Whether a shot was offered is the umpire’s input. | Not rated until field tests; the target is ±25 mm at the stumps |
| Caught | the umpire (or the captains) | Not called by the stumps. The app shows the clip, any turn in the ball’s track and the microphone’s edge sound. | — |
| Over complete | the stumps | Six legal balls counted. An unsure wide or no-ball is answered in the app before the next ball. | Right on 99.3 % of overs |
What these numbers are. They come from our simulations, made from the Laws, the camera geometry and estimated noise, with one camera per stump. They are being re-run for the 120 fps cameras and their final lenses, and the real figures come from field tests. They show how each call is designed to fail safe: when the stumps are not sure, they say so.
The match program and its rules are written and checked on simulated matches. They run on the RV1126B board first on the sample boards, with the board self-test (iemi-test) and the 10-hour soak (iemi-soak).
6. The data: what is made, kept and sent
What the cameras make
| One stump | The set of six | |
|---|---|---|
| One frame (1280 × 800, 8-bit) | 1.02 MB | 6.1 MB |
| Per second at 120 fps | 123 MB/s | 737 MB/s |
| 10 hours, if it were all kept | 4.4 TB | 26.5 TB |
The concern is right: recording everything is impossible in a stump, and pointless. The cameras are sensors for measuring the ball, not video recorders. Frames go into memory, the NPU and the tracker take the ball’s position from each one, and the frame is overwritten. Moving 123 MB/s into the 2 GB of LPDDR4X and reading it back is a few percent of the memory’s bandwidth (est.).
What is kept on the card
Around every trigger (a bail off, a knock, an unsure call, an appeal, or the app’s “keep that ball”), the stump keeps two things from rings in memory:
| What | From | Size (est.) |
|---|---|---|
| Clip: 720p H.264 at 30 fps, 6 s before and 4 s after | a 40 s compressed ring in memory | about 5 MB |
| Strip: 120 fps, 640 × 400 grey, 1.0 s before and 0.5 s after, for close run-outs | 300 frame slots in memory (77 MB) | 2–4 MB after encoding |
A busy day has about 700 balls and 30–100 triggers, so the card gains about 0.5–2 GB a day (est.). Clips are deleted after 30 days at most, oldest first. No face recognition.
What crosses the network
| Link | What | How much (est.) |
|---|---|---|
| Stump to stump | ball points with times, clock sync | a few kB/s during a delivery; nothing else |
| Stump to phone | signed calls (about 0.4 kB each) and ball tracks for the 3D view (about 13 kB a ball) | about 10 MB a day |
| Stump to phone, on request | one clip | about 5 MB: about 4 s at 10 Mb/s |
| Live camera view | MJPEG, for aiming the cameras at set-up only | off in a match |
Video never streams between stumps or to the phones during play.
7. The network
- The stumps make their own Wi-Fi. The striker’s middle stump is the access point (network “CricketOne-
”). The other five stumps and the phones join it. The phones are given addresses by the stump. - No phone hotspot, no SIM and no internet. A club ground often has no signal. The phone can be offline; the app talks only to the stumps.
- If the access point stump loses power, the far middle stump takes over the access point within about 10–12 s, and the phones are back within about 30 s. It is not handed back during the match.
- Range: 20 m between the wickets and up to about 70 m to the boundary. The A-1 stumps link to each other on 5 GHz (a dual-band antenna and a quartz clock on the board): faster and clear of the 2.4 GHz crowd at a ground. Phones at the boundary can join on 2.4 GHz, which carries further over open ground. The bench kit uses 2.4 GHz channel 6.
- Power save is off on the stump links, so a ball point never waits for a 102 ms beacon.
- Clocks: the brain keeps the set’s time and the others follow it, to about 0.03 ms (est., section 4). Each camera’s frames carry the camera’s own time stamps.
- Bluetooth 5 is in the module. It is not used for match data.
The phone and the six stumps: what happens when one fails
The phone does not join one stump. It joins the set’s Wi-Fi network, which all six stumps are on, and each stump has its own address there. So the app can reach any of the six, or all of them at once:
| Situation | What happens |
|---|---|
| Normal play | The app follows the brain for the calls. Each call names the stumps that saw the ball, best view first. Tapping a call fetches the clip straight from that stump, and the app can switch between the views of every stump that saw it. |
| An outer or far stump stops | The brain carries on with the other five. Any call that needed that stump’s view becomes “unsure” rather than guessed. The app shows which stump is missing and for how long. |
| The brain stump stops | The far middle stump takes over the Wi-Fi and the brain’s job within about 10–12 s; the phones rejoin the same network within about 30 s. During the gap every stump keeps signing its own sightings, and the new brain keeps a clip of every ball, so the app fetches what it missed when it is back. |
| A stump gives wrong readings (knocked, dirty window, opened) | It marks its own calls unsure (knock, re-aim, tamper and light checks). The umpire can also take that stump out of play in the app, and the brain then stops using it. |
| The phone drops out | Nothing is lost: the calls are made and signed on the stumps. The app reads everything after the last call it had. |
Why the phone does not make the calls itself if a stump fails: the frames and the exact times stay on the stumps, every phone must show the same call, and each call must be signed where it was measured. So the brain’s job moves to another stump, never to a phone.
What changes from today’s code: the bench app knows only the two middle stumps (fixed addresses 10.42.0.2 and 10.42.0.3), and only those two can take the brain’s role. For the six-stump set: the app finds all six stumps by name on the network (mDNS), the “best view” list goes into each call, the umpire’s “take out of play” button is added, and the brain role can move to any healthy stump, not only the middle two.
8. Security and encryption
| Layer | Protection | Status |
|---|---|---|
| Wi-Fi link | WPA3-SAE (AES-CCMP), protected management frames | Production. The bench kit uses WPA2-PSK with protected management frames, because its access-point firmware may not support WPA3. |
| Stump to phone | TLS 1.3. The stump’s TLS key is in the ATECC608B. The phone pins the stump’s key the first time it joins; its 6-character fingerprint is on the stump’s label. | Planned. Today’s bench program serves the phone over plain HTTP on the closed network, and relies on the signed calls below. |
| Every call | ECDSA P-256 signature by the ATECC608B over a SHA-256 hash. Each line holds the hash of the line before (a hash chain), and a signed “head” line every over shows if lines were cut off the end. | Written and checked. On the bench, a software key stands in for the chip and is marked “not for matches”. |
| The device | Secure boot from the RV1126B’s OTP root key; signed system checked by dm-verity; read-only system. | Planned with the RV1126B bring-up. |
| Clips at rest | AES-256-GCM on the RV1126B’s crypto engine, the key wrapped by the ATECC608B. | Planned. |
| Physical | Tamper switch and motion sensor: an opened or knocked stump marks its calls unsure until checked. | Written and checked. |
9. 120 fps through a day of play
The camera. The OV9281 is a global-shutter sensor rated for 1280 × 800 at 120 fps over 2 MIPI lanes, and higher frame rates at smaller windows. Global shutter means the whole frame is exposed at once, so a ball at 40 m/s is not bent the way a phone camera bends it. Each module draws about 0.15 W (est.). A sensor does not wear out from streaming; what limits a day of play is energy and heat.
The power budget (est., to measure on the first unit):
| Load | Power |
|---|---|
| RV1126B module, one camera in, NPU running | about 1.9 W |
| The camera module | about 0.15 W |
| Wi-Fi, on average | about 0.3 W |
| Lights and speaker | only during calls |
| Total | about 2.4 W, about 2.6 W from the cells after the boost |
The pack holds 32.6 Wh, which gives about 12.5 h on new cells; we plan on about 11 h, which covers a 10-hour day. The brain stump uses a little more (it runs the access point and the flight fit), so it is the one to watch on the first units. Charging from empty takes about 3.5 h with the stump off and about 4 h in play, at 3.2 A from a 3 A USB-C charger (est., sim R305).
Heat. The module’s 1.5–2 W goes through a 1 mm thermal pad into an aluminium heat bar, then into the stump’s tube. The chip temperature is logged from the first power-on. If it climbs, the program lowers the frame rate between deliveries first and keeps full rate during them.
Keeping it running without interruption:
- Separate services. If the camera program stops, the bail calls go on, and the camera program restarts by itself.
- A camera that stops is noticed within 0.25 s (by the frames’ own time stamps) and restarted. Ball calls stay “unsure” until 30 new frames have re-aimed the camera.
- A power cut never loses a call. Each call is written and fsynced before it is confirmed. A line cut short by a power cut is detected and its call comes again.
- A ball hit cannot unplug anything: the leads are soldered, the card’s lid latches, the clocks are MEMS parts rated for shock.
- If the brain stump goes down, the far middle stump keeps 10 s clips of every ball in that window, so nothing has to be guessed.
10. Where it stands (7 November 2026)
| Item | State |
|---|---|
| Circuit | Every part and pin drawn in KiCad; electrical rule check 0 errors. |
| Board layout | Placed. Routing is being finished: the new camera pairs still have to break out of the module. |
| Maker | Design pack and request for quote published for board makers: design pack (zip). |
| Software | Match program, signing, clip keeper and board self-test written and checked on simulations. The self-test is in the design pack. |
| RV1126B software | Device tree and drivers: next step, on the first sample boards. |
Open issues found in our own review (7 November 2026)
We reviewed the board against a full day of play: the phone links, six stumps, one camera in each, and 10 hours. These are open, in order of importance:
| # | Issue | Why it matters | What we are doing |
|---|---|---|---|
| 1 | Routing being finished | The boards are in final routing. | Gerbers once routing reaches 0 gaps and passes KiCad’s checks. |
| 2 | Battery | About 11 h of play on new cells at 20 °C (est.); the brain stump uses a little more. | Measure on the first units with iemi-soak. |
| 3 | Heat in full sun | Our heat model puts the head at about 67–72 °C in still air with a dark finish (est.). The microphone is now the IM63D135A, rated to 105 °C; camera picture quality drops above about 50 °C; LiFePO4 must not charge above 45 °C. The module’s own heat in the A-1 stump is not yet modelled. | Swap to the Infineon IM63D135A microphone (rated to 105 °C); a white or clear finish; re-run the heat model for the A-1 board; measure in a 10-hour sun test. |
| 4 | Frame sync through a standard camera tail | The camera’s frame-sync line is on pin 12 of the 15-way tail, used to line the six stumps’ exposures up. On many ready-made modules, that pin is not the sensor’s frame-sync input. | Confirm with the camera module maker before the order; ask for that pin as frame sync. |
| 5 | Clock sync between stumps | The calls assume 0.03 ms between stumps. That needs a real-time kernel and our filtered time exchange on the RV1126B; plain network time gives about 0.5 ms. | Build the RV1126B kernel with PREEMPT_RT; measure with the call lights’ flash check. |
| 6 | Wi-Fi reference clock | Now a 37.4 MHz quartz crystal, as AMPAK’s reference design, for 5 GHz. | Drop-test the first boards; the crystal’s maker rates its shock. |
| 7 | The brain’s computing time | The brain fits each ball from all six stumps on four A53 cores, within the call times (bowled under 0.5 s, LBW under 3 s). In NumPy the fit took about 5 s on the bench board; the C flight step is much faster but not yet timed on the RV1126B. | Time it on the first unit; if slow, move more of the fit to C or use fewer looks. |
| 8 | Phones on one access point | Five stumps plus several phones on one Broadcom access point; its firmware may limit the number of clients (est.). | Measure on the bench; if limited, phones join through the far stump as a second access point. |
None of these changes the board’s construction. Items 3 and 4 may change up to two parts in the BOM.
11. Questions for the reviewer
These are the points where an experienced eye helps us most:
- Camera link. One 2-lane CSI-2 link at about 0.62 Gb/s a lane on a 30-way 0.5 mm flat cable, about 135 mm long, soldered at both ends, with ground lines between the pairs. Is that safe at this rate, or should the cable be shorter or shielded?
- Shock. A cricket ball hits the stump at up to 40 m/s. The module is an LGA part soldered flat. Should it be underfilled or corner-staked? Should the board be conformal coated?
- The Wi-Fi reference clock. We moved from a MEMS oscillator to a 2.0 × 1.6 mm quartz crystal for 5 GHz phase noise. Is a crystal this small safe against ball hits on a stump, or would you stake it?
- Power and heat. Is 2.4 W in play realistic for an RV1126B with one 120 fps camera and the NPU, and is a pad into an aluminium bar enough in summer sun?
- Security. TLS key and call signing in the ATECC608B, secure boot from the RV1126B OTP: is anything missing for a product that makes official calls?
- Parts grade. The antenna is AEC-Q200 and the charger is rated −40 to 125 °C. Which other parts would you move to AEC-Q grades for outdoor use from −10 to 50 °C?
Related pages: board pictures · request for quote · test board circuit · the full design