Lab 2 - Obstacles

The following files are required to complete lab 2

E-puck avoiding obstacle while signaling the direction of the nearest object

Design by Christian Ahler

CS266 - E-pucks

Output from one of the proximity sensors. Similar trends are seen for all proximity sensors, with slightly varying offset values.

Processing and empirical data collection were performed by Andrew, Pierre and Nick. Thank you for sharing!

Beta version

File name



Lab2 - All

All files required for lab 2


Lab2 - Code

MPLAB project files


Lab2 - Obstacles

Tutorial for lab 2


Lab2 - Solution

Solution example for lab 2