LED-Photoresistor PID Controller with the PIC32

Feb 2017

Overview

Implement a Position-Integral-Differential (PID) Controller with a LED, a Photoresister, and a NU32. The NU32 interfaces with python on a host machine via usb cable to plot out the sampled ADC values.

Keywords: C, Python, PID, Mechatronics, PIC32, Microcontroller, Circuits

Tasks

  • Configure ADC Register.
  • Configure Timer Register.
  • Wrote Interupt Service Request.
  • Sample ADC values.
  • Tune PID Gain Values.

Technologies Used

  • C
  • Python
  • PIC32
  • nScope