December 2015
Beginner to intermediate
650 pages
18h 28m
English
This project-based chapter directs the reader to develop a PI feedback controller to control the brightness of an LED using a low-pass-filtered phototransistor light sensor for feedback. This project makes use of PWM to pulse the LED, analog input for the sensor feedback, a counter/timer for the fixed-frequency control loop, the parallel master port to print to an LCD screen, and a UART for communication with the host computer. The project includes a simple interface in MATLAB on the host computer that allows the user to enter PI gains, plot the step response of the controller, and iterate to manually tune the PI gains. This project exercises the reader’s skills in several areas of embedded ...
Read now
Unlock full access