Hi everyone.
I recently made my first motor controller. It is a PWM fan speed controller for DC fans up to 80 watts: You can see a demonstration of it here:
I used a Launchpad RM57L development kit to run the C code, which adjusts the PWM signal's duty cycle based on the analog to digital converter's reading. The fan speed will vary from 20% of the maximum to 100%, depending on the temperature.