1. Serial Peripherial Interface (SPI)
2. The purpose of this lab is to become familiar with the spi
interface and specifically how it interacts with the light sensor
attachment. By using a spi leader reciever, binary to bcd converter,
seven seg driver, decoder, and SPI lightsensor module we can
create a light sensor using FPGA and verilog.
3. Materials and Methods
Basy 3 FPGA
Light Sensor Module
Flashlight
4. Results
Figure 1. Video verification of light sensor in action using
hand to block light and lower light value.
Figure 2. Code and modules used to create the light sensor using
verilog.
5.
Discussion
The lab was good to learn because of the spi knowlegde and application
process being provided. Similiarly it was good to reienforce the
process of running the seven segment driver and SPI
communication proticol. The Light module was good to become familar
with as it helped to reinforce the master edits to create a top module
that works.