Fundamentals of Mechanical Engineering — December 2019

The third project we completed for my freshman introductory mechanical engineering course was a line following robot. Modelled after the Mobot races that are traditionally part of CMU’s “Carnival” ( The playlist below contains some of the tests while developing the controls for the bot. The objective was to complete the about 7 ft track autonomously and stop 15cm from the box at the end. We managed to do both, completing the task in the fastest recorded time of about 7 seconds. We built the chassis as a team from a kit and I wrote the code for the controls and line detection using a standard PID controller.

For a more complete breakdown check out:

First Successful Test
Testing and PID Tuning



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store