Real-time PID control with nScope

One of the reasons we use microcontrollers every day is because we need to control physical systems. Motor control is a very basic application in which microcontrollers prevail over full-blown computers. Lately, we’ve been testing the limits of nScopeAPI. In this video, we demonstrate a real-time motor controller implemented in python, using nScope as the hardware interface. Because the computer is in the loop, prototyping the PID parameters is super fast and easy. Tuning control parameters and seeing physical results has never been easier.