Weekly Updates

Week 1


This is the first week of the project. I have ordered the parts and am still waiting for some of them to arrive. I worked on reading the datasheets for the camera module and fingerprint sensor. In addition, I went through Lab 4 (to recall information about how to setup I2C, SPI, and UART on the STM32L476VGTx MCU) and made a list of instructions and values to fill in to set up these protocols to interface with the sensors (based on the information from their datasheets). Since I am still waiting for the parts to arrive, I have not been able to actually test out the code yet. To help with my understanding of I2C, SPI, and UART I also used a logic analyzer that I purchased to scope the transmission lines when running the code from Lab 4 (the aim was to get some debugging practice so that if I have issues interfacing with my sensors, I would have some tools to help debug the issues). Unfortunately, I found that my scope was not very good because the values would only be correct if I held the wires in a certain position. I plan on testing this out a bit more this weekend and then proceed to test the code I outlined this week when the sensors arrive.


Week 2


This is week 2 for the project. I worked with the fingerprint sensor to store and retrieve fingerprints from the fingerprint database. In addition, I set up some an interface over Bluetooth that allows the user to toggle the STM32 board between the storing and retrieving fingerprint mode. I also started to configure the camera module but ran into some issues that I am currently debugging.



Week 3


This week 3 of the project. I worked with the camera module to capture an image in JPEG format and send the image over Bluetooth. I also set up an interrupt so that whenever a button is pressed, the camera takes an image and sends it over Bluetooth.



Week 4


This is the Week 4 of the Project. I worked on finishing up the system so that it would work more seamlessly. First, I worked on writing expect scripts so that whenever the STM32 sends the hex image over Bluetooth, the reciever can decode the hex bytes and store the image in JPEG format. Next, I started working on a small UI so that the user can easily control adding new fingerprints to the database/erasing the database. In addition, I am working on making the Raspberry Pi rotate a motor whenever an authenticated user scans their fingerprint and logging the timestamp of the entry to a file.