This application note describes a fully functional and highly flexible software application that uses the dsPIC30F to control brushless DC (BLDC) motors without position sensors. This software leverages the dsPIC30F peripherals for a wide range of motor control. The implemented sensorless control algorithm is specifically tuned for fans and pumps. The program is written in C, highly optimized, and well-documented for ease of understanding and program modification.