← Back

PID-Controlled DC Motor (RTOS)

Embedded Systems Lab

Developed firmware that controls the speed of a DC motor using PID parameters. 

The user can enter a speed on the keypad (in rpm). The DC motor will smoothly ramp up to the desired speed and hold it. The user can cancel the command and enter a new speed.

The video below shows the motor ramping up to 500rpm first, then 1000rpm.

The firmware was developed for a CORTEX M4 microcontroller (installed on the red TI Board on the right). TI's Code Composer Studio was used as the IDE. FreeRTOS was used for the RTOS environment.