MM Demangone’s Status Report for 3/29/2025

This week I accomplished several main tasks: integrated the speaker into the RPI5, connected websockets across the web app and the RPI5, tested and integrated RPI5 code I wrote in previous weeks, deployed to EC2, and continued to work on the 180 degree servo motor motion with my team. I did fracture my femur and tore my labral, so walking around campus will be difficult as I am on crutches for the next 8 weeks. I am on schedule with all of my tasks. Next week, I will work on preparing for the demo with my team and continue to work with Aneesha and Taylor to physically build our project

Taylor Koda status report March 29th

Status report. This week I worked on a few things. In class I helped with the dispense pill code. Outside of class time I worked on registering the domain pillpopperpro.com and linking to allow for oath and helped MM with the EC2 deplotment. Then I also added days of the week to the pill form and worked on some security for the forms. I also started updating the team calendar for the intern demo. Get excited for the midway demo!

Team Status Report 3/29/25

This week we accomplished a lot on both the hardware and the software end. For software, Taylor added some additional APIs and did some more testing on the web app. We then purchased a domain and deployed our app. MM and Aneesha worked on the hardware to get the servos and the websocket connection working, so we can use the dispense button on the web app to signal a servo to move. The device housing was built and the hardware components were mounted, and we are testing their movement and the dispensing of the pill. MM also got the speaker connection via Bluetooth working,g but we still need to work on that more, but it will not be a part of our interim demo. Overall, we are on track and at a good spot for the demo.

Aneesha Bhattacharjee Status Report 3/29/25

This week I spent time working with MM to get the servo motors working. We figured out the issue we had with the servo motors not turning 180 degrees since we were not resetting the angle each time we moved them. Since that was working via Bluetooth, we then tested the websockets to make sure that once deployed, we were able to send a signal from our web app to move the right servo and that was successful. Then I spent the rest of the week building our device. I had some issues with the materials we were using, but that got resolved, and I build the structure that holds the pill compartments and the rotating discs and tested the servo motion when attached to the disc. Although some goals got shifted over the previous weeks, I am on track for where we need to be for the interim demo.

Team Status Report 3/22/2025

This past week we have made significant progress on our project, both on the hardware and software side. The majority of the tasks associated with the web application have been completed with Taylor taking on some extra tasks due to issues with the hardware that Aneesha and MM have been working on. Initially, there were some delays in 3D printing which have been resolved with the folks at FabLab and all the components have been printed. The hardware connection between all the devices has been established and they are working, particularly, connecting to the RPi via Bluetooth and sending the signal to move the 6 servos which work at a primitive level. There needs to be additional testing done with the deployed web app and connection via websocket. We are also in the process of physically constructing the device, connecting the funnels and the discs to the housing and hardware, so by next week we should have the end-to-end dispensing functionality working and we will also get started on installing the load cell. Although some tasks have been shifted around and unexpected issues had arisen, we are still on track for the interim demo. There are multiple commits from all 3 of us on the GitHub tracking the progress we have made with the web app and hardware/software connection.

Aneesha Bhattacharjee 3/22/2025

This week I have been focusing on the hardware components as well as building the device. Last Sunday, the RPi5 required reflashing due to a corrupted SD card, which MM and I worked to set up again, after which I worked on setting up the Bluetooth to Rpi to servo connection via I2C. I used client/server code, which we have been using as a basis for our Bluetooth connection and I was able to send a signal to move the servos. Then we soldered the PWM driver and connected the 6 servos to test if all of them worked. In order to do this, I added more code to get all 6 servos moving using an I2C module that allows the client to pick which servo to move. When we tested with 1 servo, it moved 180 degrees, but when we tested with all 6, they only moved about 90 so I have been spending some time troubleshooting that. When MM sshed into the RPi from her device, the servos did not move at all, but when I tried from my device they did, so we need to figure out what kind of issues can come from that. With all of the 3D printing components printed and the hardware connection established, I have started to build our device and its housing. The backing that I designed initially is too large to be 3D printed, so I am using other materials to fit the exact specifications of our design.  I will also continue working with MM over the course of next week on using the WebSocket to move our servos via the deployed application and once we get that working we will test the dispensing functionality in our device.

MM Demangone’s Status Report for 3/22/2025

This week I worked with Aneesha on the hardware components. We had spent Sunday re-setting up our RPi5 again as the SD card was fried due to a wiring mishap. We had spent Wednesday’s class soldering wires to our servo driver. Since then, we spent time working on getting the servo motors to move, and I had set up remote SSH on the RPi5. We have successfully created code so all 6 servo motors move, upon the user manually instructing which motor to move, via bluetooth. This is obviously for testing purposes, not as the final product. While the servo motors are moving, they are not moving a whole 180 degrees, so we will continue to work on that. I had also created some code for the load cell amplifier to read the weights, but haven’t had the chance to test it as we need plates to be on both side of the load cell amplifier. Additionally, I had set up websockets on the RPi5, however, I haven’t tested it yet because our app needs to be deployed to EC2. We have realized that most web browsers do not support bluetooth, so we will eventually pivot away from bluetooth and towards web sockets. I am going out of town tomorrow, so I am submitting my status report a few days early. There are quite a lot of github commits, as we ssh into the raspberry pi and need to pull any changes we want to test, but I have included some of my “highlight commits.” I am ahead of schedule in regards to the weight sensor, but a bit behind with the web socket communication between the RPi and the web browser due to delays with EC2 deployment. However, it does work via bluetooth, so we simply need to change the method of transmission. Next week I hope to test my websocket code on the RPi5 after deploying it to EC2 and have the servo motors move 180 degrees. 

https://github.com/tkoda1/Capstone/commit/888f203d0ef824a518d87993ad75c521b3fe1026

https://github.com/tkoda1/Capstone/commit/e4ef905aae6ae3cb90adfed0ad1f6eed6445f6b7

https://github.com/tkoda1/Capstone/commit/e340b7608117ff9f28c711fab6af92b836bdd7b0

Taylor’s Status report March 21

Okay so I did the following to the web app this week:
⁃ Required login finished the login/register pages
⁃ Added google oath library
⁃ Fixed the model so pills are unique to users
⁃ Added google calendar api to schedule events and did permissions
⁃ Added images and time zones to pill model and populated the info throughout
⁃ Updated the account page for more info then just logout and styled
⁃ Added to the model a field that keeps track of when the user dispenses pills over seven days
⁃ Started the pill tracking dashboard to render the pills the user has taken in the last seven days (not done)
– Added ability for users to see if they are connected to bluetooth on their device on the account page
– Worked on the Pill dash board so that it displays all the times users where meant to take in their medication in the past seven days
– Added accuracy calculations to the dashboard
– Updated the logic on the dispense so that keeps track of how many pills have been dispensed and saves it
There are still quite a few more tasks for the web app I will keep adding just to make it better. Overall I picked up a few tasks this week because due to 3D printing issues we are a little behind schedule on the hardware side, so I wanted to just work more and ensure the web app was done. Also I got scheduled for less hours at work this week so figured I would use the time.

Team Status Report 3/15/25

This week we have made significant progress, both on the software and hardware ends of our project. Taylor and MM worked on the web application setting up the UI. Most of the pages that we need have been set up. MM and Aneesha started working on the Bluetooth connection between the web app and the Raspberry Pi which is working. We have also started working on sending the signal from the web app to the servos so we can start assembling our device. The 3D printing took a little longer than anticipated because there were more requests for 3D printing at the FabLab. We are on schedule for our work even though some aspects we have been a little behind on but it is only because they require more time then we initially thought, however, we are still on schedule.

Aneesha Bhattacharjee Status Report 3/15/25

This past week I have been working on code for the pill dispensing. I worked with MM to get the Bluetooth connection between the Raspberry Pi and the web app working and after that, I have been working on getting the web app to send the dispense signal to the servo motors to move the discs. This has been a little challenging since the Raspberry Pi 5 does not use the same GPIO hardware as older models and there is little documentation out there for the RPi 5, but I have gotten the servos to work locally where I send a signal from the RPi and the next step would be to use the Bluetooth to dispense. Next week I will be working on assembling the device by mounting the servos to the 3D printed components.