Project Updates

Week of 2/21

In the process of purchasing parts, fleshing out project details, and dividing the project into separate parts to work on.

We purchased the OPT3001 sensor as well as the LED lamps and adapter. Then we decided that Arthur should work on the logic of the code, while Tahereh should work on the communications with the TAs and peripheral structure.

Week of 2/28

Began coding the I2C initialization and communication with the device, and started researching USB initialization.

We based our I2C initialization on a modified Lab 3C file. We are awaiting the device to debug the program.

Week of 3/06

Finished I2C initialization and began USB initialization. Currently waiting for parts to arrive to debug the code.

The USB initialization is proving to be difficult so we were researching backups at this point. Our first backup was the UART/SPI LCD screen, so we made a purchase.

Week of 3/13

The initial sensor we ordered did not work out so we ordered a new I2C light sensor with much better documentation. We found that USB initialization proved difficult and opted to use our first backup with the UART protocol LCD peripheral.

We soldered the pins to the TSL2591 and began testing with it. While we were able to read from most registers, the data channels were not being read properly. Furthermore, we began modifying code from Lab 1C to communicate over UART to the LCD peripheral.

Week of 3/20

We were able to finally read data from the proper channels of the light sensor by reading all four registers at once with consecutive reads. However, the LCD peripheral had issues such as not responding to commands from its documentation.

The LCD peripheral's documentation showed that we could download a program and communicate to it through a serial USB. However, by testing every method possible recommended in the documentation, we could not get the device to respond.

As a last effort we opted to use Bluetooth to connect to our phones and send the light sensor data.