Sophie Sacks’s Status Report for April 2nd

This week, Dina and I made a lot of progress on connecting the Raspberry Pi to our web application. In order to do so, we first had to set up the RPi and connect it to the CMU-DEVICE wifi, which took a decent amount of time. Afterwards, in order to be able to send a request from the RPi to the web app, I had to deploy the whole web app to an AWS EC2 instance since the RPi can’t see any sort of “localhost” server. After some small issues with the sizing of the instance and installing all of the required packages, I was able to get the RPi to send a post request to the web app. This can be seen in the code snippet below.

Before the demo next week, Dina and I want to try sending real information to the web app from the RPi and saving it into our database. Although this won’t include the circuit and RFID scanner piece yet, it will get us much closer to connecting all of the subsystems together.

My progress is currently on schedule. In the next week, I hope to be able to share all of my progress in the interim demo. I also hope to start connecting Sam’s circuit to our RPi so we can begin connecting all three subsystems together. This will most likely involve connecting the RPi and the Arduino at the very least, and if we get that working, then we can start to focus on the circuit connection as well.

Leave a Reply

Your email address will not be published. Required fields are marked *

*