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.

Project Samples

Project Activity

See All Activity >

License

Creative Commons Attribution License

Follow Digital PID Controller MSP432

Digital PID Controller MSP432 Web Site

Other Useful Business Software
$300 Free Credits for Your Google Cloud Projects Icon
$300 Free Credits for Your Google Cloud Projects

Start building on Google Cloud with $300 in free credits. No commitment, no credit card required until you're ready to scale.

Launch your next project with $300 in free Google Cloud credits—no strings attached. Test, build, and deploy without risk. Use your credits across the entire Google Cloud platform to find what works best for your needs. After your credits are used, continue with always-free tier services. Only pay when you're ready to scale. Sign up in minutes and start exploring.
Start Free Trial
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Digital PID Controller MSP432 !

Additional Project Details

Intended Audience

Engineering

Programming Language

C, C++

Related Categories

C++ Scientific Engineering, C++ Robotics Software, C++ Mechanical and Civil Engineering Software, C Scientific Engineering, C Robotics Software, C Mechanical and Civil Engineering Software

Registered

2016-01-04