Three ways to build the TrackEncoder logger
The logger sends 25 Hz GPS, 400 Hz gyro and accelerometer readings and the car's CAN data to the TrackEncoder app on the phone over Bluetooth. These three boards do that job on power from the USB-C hub that already runs the phone and the camera. The first takes the plug-in modules as they are. The second keeps the plug-in AtomS3R and solders a better GPS receiver to the board. The third has every chip soldered on.
Capabilities
What all three do. They differ in how they are built, not in what the phone gets.
| GPS | A u-blox receiver at 25 Hz: position, speed and heading 25 times a second, and a PPS line that marks each second for timing. |
| Motion | A Bosch BMI270 gyro and accelerometer read at 400 Hz from its FIFO, batched and sent with each sample's time. |
| CAN | The car's CAN bus on a three-way screw terminal: CANH, CANL and ground. Listen-only: the logger never transmits on the car's bus. No terminator on the board. |
| Phone link | Bluetooth LE to the TrackEncoder app, which records it beside the video. |
| Power | USB-C from the PD hub that powers the phone and the camera, at 5 V. Nothing is wired to the car's 12 V. |
| Screen | A 0.85 in, 128 × 128 colour screen with the GC9107 controller. |
| Processor | An ESP32-S3, running the logger firmware the AtomS3R runs today. |
| Probe pads | Drilled pads, named on the silk, on the supplies, the GPS lines, CAN and the spare GPIO, for a meter or a scope. |
Side by side
The same job three ways. The numbers come from the board files.
| 1 · Plug-in modules | 2 · AtomS3R + NEO-M9N | 3 · All surface mount | |
|---|---|---|---|
| Size | 39.0 × 31.7 mm | 52.6 × 34.5 mm | 59 × 50 mm |
| Processor | AtomS3R, plugs in | AtomS3R, plugs in | ESP32-S3-WROOM-1 module, 8 MB flash, 8 MB PSRAM, soldered |
| Gyro | The Atom's own BMI270 | The Atom's own BMI270 | BMI270 on the board |
| GPS receiver | MAX-M10S breakout in a socket | NEO-M9N soldered to the board | MAX-M10S chip soldered to the board |
| At 25 Hz | GPS alone, after a permanent one-time setting in the chip (18 Hz without it) | GPS, GLONASS, Galileo and BeiDou together, as shipped | GPS alone, after the same one-time setting |
| Fix after a restart | Fast: the breakout has its own backup cell | Fast: a backup cell on the board holds about five days | Cold start every power-up: no backup supply |
| GPS antenna | u.FL on the breakout | SMA jack on the board edge | SMA jack on the board edge |
| Screen | The Atom's | The Atom's | Panel on the board, same controller and size, folded over its tail |
| Power in | The Atom's own USB-C | The Atom's own USB-C | The board's USB-C, 0.5 A resettable fuse, 1 A regulator |
| Buttons | The Atom's screen | The Atom's screen | RESET, BOOT and USER, plus a colour status LED |
| Spare I/O | G39 on a probe pad | G39 on a probe pad | IO39 on its own screw terminal with 3V3 and ground |
| Mounting | Three M3 holes | Three M3 holes | Four M3 holes |
| Placed by the board house | 6 small parts | 19 parts, the receiver included | 38 parts; the terminals and the SMA jack on its hand line |
| Soldered by you | Atom headers, GPS socket, CAN terminal | Atom headers, CAN terminal, backup cell | The screen panel |
| Firmware | Unchanged | GPS setup changes; pins unchanged | New pin map; the gyro gets its own bus |
What each costs in parts
One board's parts at single-unit prices. Boards, assembly and shipping are left out, since they depend on the order.
| 1 · Plug-in modules | 2 · AtomS3R + NEO-M9N | 3 · All surface mount | |
|---|---|---|---|
| Parts the board house places | $0.90 | $17.88, of which the receiver $16.30 | $21.65, of which the ESP32 module $4.98, the MAX-M10S $10.78 and the BMI270 $3.63 |
| Through-hole parts | $0.38, the CAN terminal | $0.38, the CAN terminal | $1.17, two terminals and the SMA jack |
| AtomS3R | $17.50 | $17.50 | none |
| GPS breakout | about $18 | none | none |
| Screen panel | in the Atom | in the Atom | $3.72 |
| Not priced | GPS socket, Atom headers | Atom headers, backup cell | nothing left out |
| Priced parts | about $36.80 | about $35.80 | $26.55 |
| Extended-part lines | 2 | 9 | 13 |
Prices checked 2026-11-30: board-house parts from JLCPCB's and LCSC's public listings, the AtomS3R from DigiKey's US listing, the GPS breakout approximate. JLCPCB charges a setup fee for each extended-part line on an order, whatever the quantity, so on a small order board 3's 13 lines matter more than its parts total suggests. All three also need an active GPS antenna: a u.FL one for board 1, SMA for boards 2 and 3.
The three boards
Each one as it comes out of the board files. Cables leave from one edge on all three.
1Plug-in modules
The smallest of the three, and a carrier for the modules already in use. The AtomS3R plugs in on its header pins, screen up, with its USB-C and Grove port on the cable edge. The MAX-M10S GPS breakout plugs into a socket beside it and stands 11 mm up, over the CAN transceiver and the four small parts under it. The CAN wires go into a screw terminal. The board has no power input of its own: a USB-C cable from the hub goes into the Atom, and the Atom's 3.3 V regulator runs the GPS and the transceiver.
Every module pin lands on the same ESP32 pin as on the current logger, so nothing in the firmware changes.
Six small surface-mount parts for the board house: the transceiver, its ESD clamp, a 0 Ω link and three capacitors. Two of them are extended parts.
The breakout's limits: 25 Hz only on GPS alone, and only after the receiver's permanent high-clock setting. The antenna plugs into a small u.FL socket on top of the breakout, and the pigtail leaves over the top edge.
The GPS board sits 11 mm above the carrier and the u.FL about 13 mm. There is 6.8 mm between the parts underneath and the GPS module above them.
2AtomS3R and a NEO-M9N
Board 1 with the GPS breakout and its socket replaced by a u-blox NEO-M9N soldered to the board. The NEO-M9N reaches 25 Hz with GPS, GLONASS, Galileo and BeiDou all on, as it ships, where the M10 does 25 Hz on GPS alone. More satellites in view means a steadier fix under trees and beside grandstands. The receiver gets its own 3.3 V regulator from the Atom's 5V pin, a rechargeable backup cell, and a screw-on SMA jack on the cable edge. The AtomS3R and the CAN block are as on board 1, with the CAN terminal moved to the far side from the antenna.
The NEO-M9N's data sheet gives 25 Hz with all four constellations; it needs no one-time setting.
A 3 V, 5.5 mAh MS621FE cell keeps the receiver's time and satellite data for about five days with USB out, so the next start is a hot start. It recharges from the receiver's supply while the logger runs.
The antenna screws onto an SMA jack soldered on both faces of the board, instead of a snap-on u.FL. The feed powers an active antenna, holds a shorted cable to about 140 mA and has an ESD diode.
The pins stay as they are. The GPS setup changes: turn on the other three constellations, drop the M10's clock check and accept the M9's firmware version. The receiver also has flash, so its settings can survive a flat cell.
3All surface mount
No modules. The ESP32-S3, the BMI270, the MAX-M10S and a screen with the Atom's controller and size are all on one board that the board house assembles, with its own USB-C, buttons and a status LED. Every cable leaves from the bottom edge: the CAN terminal, USB-C, the GPS antenna's SMA jack and a spare terminal. The screen is the one part soldered by hand. Its tail is soldered to twelve pads and the panel folds over onto foam tape on its seat.
$26.55 for everything, the screen included, with no modules to buy. The board house places all but the screen.
RESET and BOOT give a way into the ESP32 that the Atom hides. USER stands in for the Atom's screen button. A WS2812B shows status in any colour, and IO39 has its own screw terminal with 3V3 and ground.
No backup cell can be reflow-soldered from the board house's library, so every power-up is a cold start and the first fix takes longer after the car has been off.
The modules' pins keep their numbers. The gyro moves from the Atom's internal bus to IO1 and IO2 with an interrupt on IO4. The backlight becomes a PWM output on IO16 instead of the Atom's LED driver, and the status LED is new.
Choosing
The smallest board, the fewest parts and no firmware change. It keeps the modules' limits: GPS alone at 25 Hz and a u.FL antenna.
Four constellations at 25 Hz, a backup cell and an SMA antenna, for about the same parts cost as board 1. It still needs the AtomS3R, and nine extended lines make a small order dearer.
The lowest parts cost and nothing to plug in, with buttons and a spare terminal. It is the largest, has no GPS backup, and changes the firmware's pin map.
Schematics
Drawn by function, one sheet per block, with the boards' real part references, values and pin numbers. Every connection on these sheets was checked against each board's netlist. Click a block in an overview to jump to its sheet.
1Plug-in modules
Plug-in board: overview
click a blockAtomS3R, GPS socket and probe pads
J2 · J3 · C2 · C3 · TP1–TP3 · TP6 · TP7CAN
U1 · R1 · C1 · D1 · J1 · TP4 · TP52AtomS3R and NEO-M9N
NEO-M9N board: overview
click a blockAtomS3R and probe pads
J2 · TP1–TP3 · TP6–TP9Receiver supply and backup cell
U3 · C4 · C5 · TP12 · D3 · R6 · BT1NEO-M9N receiver
U2 · C2 · R2–R4 · TP10 · TP11Antenna feed
R5 · C3 · L1 · D2 · J3CAN
U1 · R1 · C1 · D1 · J1 · TP4 · TP53All surface mount
Surface-mount board: overview
click a blockUSB-C, fuse and 3.3 V
J2 · R2 · R3 · U5 · F1 · C4 · U3 · C5 · TP1–TP3ESP32-S3 module, reset and buttons
U1 · C1 · C2 · R1 · C3 · SW1–SW3Motion sensor
U6 · R6 · R7 · C10 · C11GPS receiver and antenna
U4 · C7 · C8 · R5 · C9 · L1 · J3 · TP6 · TP8–TP12CAN
U2 · R4 · C6 · D1 · J1 · TP4 · TP5 · J4 · TP7Screen and status LED
LCD1 · C13 · R9 · Q1 · R10 · D2 · R8 · C12ESP32 pin map and probe pads
U1 · TP1–TP12| GPIO | Pin | Net | Goes to |
|---|---|---|---|
| IO0 | 27 | BOOT | SW3 to ground; hold at reset to flash |
| IO1 / IO2 | 39 / 38 | I2C_SDA / I2C_SCL | U6 BMI270, 4.7k pull-ups |
| IO4 | 4 | IMU_INT1 | U6 INT1 |
| IO5 / IO6 | 5 / 6 | CAN_RX / CAN_TX | U2 R / D |
| IO7 | 7 | GPS_PPS | U4 TIMEPULSE, TP6 |
| IO8 | 12 | GPS_TXD | U4 TXD (the ESP32 receives), TP8 |
| IO38 | 31 | GPS_RXD | U4 RXD (the ESP32 transmits), TP9 |
| IO14 / IO15 / IO21 | 22 / 8 / 23 | LCD_CS / LCD_SCK / LCD_MOSI | LCD1 CS / SCL / SDA |
| IO42 / IO48 | 35 / 25 | LCD_DC / LCD_RST | LCD1 D/C / RESET |
| IO16 | 9 | LCD_BL | Q1 gate, 10k to ground; high = backlight on, PWM dims |
| IO47 | 24 | LED_DATA | D2 DIN through R8 |
| IO39 | 32 | SPARE_G39 | J4 pin 2, TP7 |
| IO41 | 34 | BTN | SW2 USER to ground |
| IO19 / IO20 | 13 / 14 | USB_DM / USB_DP | J2 through U5 |
| EN | 3 | EN | SW1 RESET, R1 10k to 3V3, C3 1 µF |
| Pad | Silk | Carries |
|---|---|---|
| TP1 / TP2 / TP3 | 5V / 3V3 / GND | The supplies |
| TP4 / TP5 | CANH / CANL | The bus |
| TP6 | PPS | GPS time pulse |
| TP7 | G39 | Spare GPIO |
| TP8 / TP9 | GTX / GRX | GPS UART |
| TP10 | GRST | GPS RESET_N |
| TP11 | SAFE | GPS SAFEBOOT_N |
| TP12 | VBCK | GPS V_BCKP, open |
These are renders and drawings from the board files. None of the three boards has been made or powered, so nothing here has been on a car yet.