All projects

Products

FairLie

A smart golf training mat (built under the TurfTrack name) that reads every strike with pressure pads, an IMU, and 60 GHz radar, then scores it on an iPhone app. I worked on the sensors, the board, the printed housings, and the app.

  • ESP-IDF / C
  • KiCad
  • Fusion 360
  • CadQuery
  • SwiftUI
  • BLE
  • Supabase
Fig 1Sensing a strike
Ready. Click to take a swing.
The club crosses six pressure pads heel to toe, the radar pod reads ball speed, and the strike goes to the phone over BLE.

Sensing a strike

  • Architected a 3-board sensor system (ESP32-S3, XIAO nRF52840, Pro Micro nRF52840) fusing 6 pressure sensors, a 9-axis IMU, and a 60 GHz radar.
  • Wrote ESP-IDF firmware split into sensor sampling, strike detection, IMU, radar, scoring, and BLE modules.
  • Merged each mat strike with the radar reading from the previous 0.75 s so ball speed lands on the right swing.
  • Debugged communication, sensor, and integration issues across the microcontrollers and sensor modules during prototype bring-up.
  • Wrote Python scripts to process, visualize, and validate sensor telemetry during system testing.
Fig 2Control board
13 nets routed. Click to power it up.
Power, sensors, camera, and radar all route back to the ESP32-S3 module on one custom board.

Control board

  • Drew the schematic in KiCad across four sheets: power, MCU, sensors, and camera.
  • Designed a USB-C charging and Li-Po power path with a P-FET switchover and 3.3 V regulation.
  • Read 6 pressure channels through two ADS1115 ADCs with RC input filters, plus an IMU and Qwiic ports for radar and temperature.
  • Autorouted with Freerouting, then prepared the BOM and assembly files for fabrication.
  • Brought up a perfboard prototype first, testing each subsystem in stages.
Fig 3Printed housings
Sealed. Click to open the cassette.
The control cassette opens, the board comes out, goes back onto its standoffs, and the lid screws down.

Printed housings

  • Resized the control cassette to 160 × 100 × 20 mm with a screw-down lid after the first shell couldn’t fit the board.
  • Designed a camera pod with a print-in-place hinge and a push-push latch, with no extra hardware.
  • Moved the radar pod to the middle of the long side and routed a wire channel under the turf.
  • Swapped trapped M3 nuts for printed self-tapping bosses, and checked every part watertight before export.
Fig 4iPhone app
Waiting for a strike. Click to send one.
A strike arrives over BLE and the app scores it.

iPhone app

  • Built the SwiftUI app that connects to the mat and the radar board over BLE and reconnects on its own.
  • Added practice, progress, and a Clubhouse with leaderboards and challenges.
  • Set up email and Sign in with Apple accounts on Supabase, a guest mode that stays on the phone, and account deletion.
  • Labeled simulated swings clearly and kept them out of uploads and rankings.