The code in this repository is old and I don't like the sourceforge interface. You can get the code that was running in the video here: https://github.com/arduinoNube/digital-pid-classroom-demo
This was a class demonstration I developed for a mechatronics class. Feel free to contact me about getting design files, code, a little help, etc.
It demonstrates proportional, integral, and derivative controllers and their features as well as anti-windup and control loop update rate. It uses a DC motor controlled by an h-bridge and an optical quadrature encoder for feedback.
It uses timers, counters, and interrupts to generate PWM to control the speed of the motor, encoder pulse counting, and control loop updates.
License
Creative Commons Attribution LicenseFollow Digital PID Controller MSP432
Other Useful Business Software
Gen AI apps are built with MongoDB Atlas
MongoDB Atlas provides built-in vector search and a flexible document model so developers can build, scale, and run gen AI apps without stitching together multiple databases. From LLM integration to semantic search, Atlas simplifies your AI architecture—and it’s free to get started.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of Digital PID Controller MSP432 !