This project implements a fully functional, embedded 3D LIDAR scanner capable of mapping indoor environments. The system autonomously collects spatial data by rotating a Time-of-Flight (ToF) sensor, processes the measurements on a microcontroller, and transmits the data to a PC for real-time 3D point cloud visualization in MATLAB.
- Microcontroller: TI MSP432E401Y – ARM Cortex-M4F @ 14MHz, 1MB Flash
- Distance Sensor: VL53L1X ToF Sensor – 400cm range, 50Hz sampling, 940nm laser
- Actuation System: 28BYJ-48 Stepper Motor – 512 steps/revolution, 11.25° resolution
- Motor Driver: ULN2003 Driver Board
- User Interface: Onboard push buttons (PJ0, PJ1) and status LEDs
- Embedded Development: Keil uVision 5 IDE with C programming
- Data Visualization: MATLAB for 3D point cloud plotting
- Communication Protocols: I2C (ToF to MCU), UART (MCU to PC @ 115200 bps)
- High-Precision Scanning: Captures distance measurements at 11.25° angular increments
- Real-Time Data Processing: Onboard polar-to-Cartesian coordinate conversion
- Interactive Control: Hardware-triggered scan initiation via push buttons
- 3D Spatial Reconstruction: Generates accurate 3D models by stacking 2D scans with user-defined depth displacement
- Visual Feedback: Status LEDs indicate measurement progress and data transmission
- Initialization: Press PJ1 to initialize the ToF sensor and enable scanning mode
- Scanning: Press PJ0 to start motor rotation and data acquisition
- Data Collection: ToF sensor takes measurements every 11.25° of rotation
- Data Transmission: Microcontroller sends distance and angle data via UART to PC
- 3D Visualization: MATLAB processes incoming data and generates real-time 3D point clouds
- Depth Progression: System is physically displaced between scans to build 3D spatial data
- Angular Resolution: 11.25° (32 measurements per full rotation)
- Maximum Range: 400cm (VL53L1X specification)
- Communication Speed: 115200 bps UART, 100 kbps I2C
- Power Requirements: 3.3V (MCU/ToF), 5V (Stepper Motor)
- Scan Cycle Time: ~10 seconds per 360° rotation
- Indoor environment mapping and modeling
- Obstacle detection and spatial awareness systems
- Embedded systems education and prototyping
- Low-cost 3D scanning solutions
Developed for COMP ENG 2DX3 at McMaster University