CE 351 Microcontrollers - Fall 2020

Name: Monica Fuson
Email: mrfuson@fortlewis.edu

PID Control with Photocells

Introduction

A proportional-integral-derivative
(PID) controller is a feedback loop that continuously calculates an error value e(t) as the difference between a desired setpoint (SP) and a measured process variable (PV) and applies a correction based on proportional, integral, and derivative terms. In this study, a photocell will be used to test the ambient light and apply the feedback loop to a code.

Materials and Methods

Arduino Uno controller board
Resistors
LED (assorted colors)
Arduino (IDE) Software Wires Photocell

Circuit Board
Push Button

Each task was completed by following the tutorial listed below.
Tutorial: PID Control with Photocells

Results


Task 1



Task 2



Task 3



Discussion

Tasks 1-3 were successfully completed.