← Selected workHardware / Embedded
CASE STUDY

Spatial Mapping System

A standalone embedded LIDAR-style scanner. A VL53L1X time-of-flight sensor is rotated through 360° by a stepper motor to capture one planar distance scan; moving the rig along the perpendicular axis and scanning again builds a full 3D point cloud of a hallway or room. Everything runs bare-metal in C on a TI TM4C123 (ARM Cortex-M4), with I2C to the sensor, UART to the host, and a button-driven state machine covering start/stop, rotation direction, angular step and homing.

Embedded CARM Cortex-M4I2CUARTStepper ControlPython
Preview of Spatial Mapping System
01 / THE CHALLENGE

What needed to change.

Commercial LIDAR is expensive. The exercise was to reach a usable indoor 3D scan using a single low-cost time-of-flight sensor, a stepper motor and a microcontroller.

02 / THE IDEA

The system I chose to build.

A finite state machine drives the sensor and motor from four debounced buttons, with four status LEDs reporting measurement and transmission state. Distance samples are buffered on-chip, then streamed to a host over UART where polar samples are converted to Cartesian coordinates and rendered as a point cloud.

My role: Solo. Firmware, hardware bring-up, serial protocol design and PC-side reconstruction.

03 / ARCHITECTURE

Under the surface.

VL53L1X ToF. Stepper Motor. TM4C123 MCU. UART Link. PC Reconstruction.
04 / WHAT GOT HARD

The interesting parts rarely stay simple.

05 / RESULT

What came out the other side.

Scanned an assigned campus location and reconstructed it as a 3D model that matched the real space. Angular resolution is switchable between 11.25° and 45° per step.

06 / NEXT

What I would improve next.

NEXT PROJECTCortex Lab