Anna’s Status Report for 4/12/25

This week, I focused on setting up and testing the passive infrared sensor. I explored multiple approaches to verify its accuracy, but unfortunately, I haven’t fully resolved the issue yet. Initially, I connected the sensor directly to the GPIO pins and printed “detection” based on the PIR’s state. However, this approach produced frequent false positives. In response, I researched alternative methods—experimenting with both the gpiozero and RPi.GPIO libraries, changing conditionals, sensitivity and timeout parameters, and even incorporating a LED diode that lights up upon detection. Despite these efforts, the false positives persisted regardless of how much I changed it. I suspect the issue may be related to the sensor’s sensitivity and timing, which I plan to debug further.

Outside of the PIR, I successfully helped Ashira get the speakers to produce sound by adjusting the wiring—this involved some frustrating debugging, but we eventually resolved it. I also assisted David with the motors by suggesting that lowering the Vref on the motor drivers could help achieve the expected rotation, which thankfully worked. Additionally, I reorganized the motor circuitry, consolidating it from 3 breadboards to 1 with Ashira.

Although I’m currently a bit behind schedule due to the PIR sensor not being integrated yet, I plan to go into the lab tomorrow to continue debugging. Hopefully, by next week, motion detection will be more reliable and we can move forward with integration.

Ashira’s Status Report for 3/29/25

What did you personally accomplish this week on the project? Give files or photos that demonstrate your progress. Prove to the reader that you put sufficient effort into the project over the course of the week (12+ hours).

This week, I mainly focused on finalizing some parts of the enclosure; namely, finishing the manufacturing/assembly of the front panel window, as well as getting the springs we’ll be using to dispense the snacks from the machine to attach to the springs. This mainly consisted of me working in CAD again to design these mounts, laser cut everything, and attach them to the springs and motors. Right now, rotational movement from the motors is not being translated well to the springs. There’s some jitter that occurs when the springs begin to turn, which I’m assuming is a result of not having the mounts coupled tightly enough to the motor shaft, something I plan on fixing later on. I also assisted in attempting to debug the speakers with David and Anna, since the initial tutorial we referenced to set the speaker up ended up not working for us. I tried to look at other websites and blogs for possible fixes, but unfortunately none of them ended up helping us get the components working. 

Is your progress on schedule or behind? If you are behind, what actions will be taken to catch up to the project schedule? 

My progress is on schedule with our original Gantt chart we made.

What deliverables do you hope to complete in the next week?

This upcoming week, my focus will probably be on integrating all the parts into the gui again, and possibly further finalizing code. I’ll also put some more effort into trying to debug the speakers again and potentially also help bring up the new PIR sensor we plan on replacing our ultrasonic sensor with. 

David’s status report for 3/29/25

What did you personally accomplish this week on the project? Give files or photos that demonstrate your progress. Prove to the reader that you put sufficient effort into the project over the course of the week (12+ hours).

Personally, I didn’t accomplish anything really significant, since I spent my entire week debugging components without much success. For the first half of the week, I spent time working with Anna on debugging the speaker and trying to get sound output. I tried soldering wires to the speaker module and connecting them to the raspberry pi. I also installed the libraries and tried making changes to the config files but that didn’t work either. Another thing that I worked on in the second half of the week is trying to get all 6 motors set up along with their motor drivers. The circuit board is set up but the motors need to be debugged. Anna and Ashira had fixed the motor code and schematic for 2 motors, but since we added 4 more motors, I haven’t figured out the issue with unstable and unpredictable movements. 

Is your progress on schedule or behind? If you are behind, what actions will be taken to catch up to the project schedule? 

I’d say my progress is still on schedule but I really need to try and figure out the speaker issue and the 6 motor integration issues this week. 

What deliverables do you hope to complete in the next week?

For this next week, I will try to get all 6 motors moving the way they should when the program is running. Ashira had some suggestions about the currents going through the motors and those adjustments, so that is like food for thought for me. Hopefully, making those measurements will give me some better idea about what is going wrong at the moment. 

 

Team Status Report for 3/22/25

What are the most significant risks that could jeopardize the success of the project? How are these risks being managed? What contingency plans are ready? 

The most significant risk at this point would probably be in bringing up the rest of the peripherals and integrating it with the rest of the system. It took us some time to debug the motors and LED strip, as well as integrate that code with the UI, so we anticipate having similar challenges with the speaker and proximity sensor. However, since the GUI and enclosure design of our project is pretty much finished, we will have much more of a combined focus on getting the peripherals to work this week than we did in previous weeks in an attempt to offload the possibility of having to debug in later weeks. We will also need to time ourselves to make sure that we have enough time to test our system as well.

Were any changes made to the existing design of the system (requirements, block diagram, system spec, etc)? Why was this change necessary, what costs does the change incur, and how will these costs be mitigated going forward? 

No notable changes were made in the design of the system.

Provide an updated schedule if changes have occurred. This is also the place to put some photos of your progress or to brag about a component you got working.

Ashira’s Status Report for 3/22/25

What did you personally accomplish this week on the project? Give files or photos that demonstrate your progress. Prove to the reader that you put sufficient effort into the project over the course of the week (12+ hours).

This week, I focused largely on getting the peripheral components to work + integration between parts. More specifically, I worked on helping David debug the motor driver circuit + code so that we could control the motors with the RPi. This consisted of looking through tutorials, as well as other existing projects which had also incorporated the same components we were using to try and see what the problem in our circuit could be. I also spent lots of time measuring voltages and currents across the circuit to make sure they were what we expected them to be.  In the end, the problem seemed to end up being incorrect motor driver step settings and also not having the GPIO output step pins oscillate between high and low at a high enough frequency. I was  able to extend this control to 2 motors, but since we ended up burning out some of our motor drivers in the debugging process, we’ll have to wait until our new motor drivers come in before attempting to integrate all 6 motors together. I also helped out Anna with integration between the LED and GUI – more specifically, figuring out how to configure the python environment we made for our LED strip functionality to work with the GUI libraries we were using. Since neither of us had super extensive experience in using python environments, we relied on forums to help us debug. In the end, we were able to begin integrating our existing motor and LED control code with our UI. 

Is your progress on schedule or behind? If you are behind, what actions will be taken to catch up to the project schedule? 

My progress is on schedule with our original Gantt chart we made.

What deliverables do you hope to complete in the next week?

This upcoming week, my focus will probably be on helping to get the rest of the peripherals (sensors + speakers) up and running. I will also try to clean up some of the motor control code + extend the functionality to 6 motors so that when the new motor drivers come in, integrating those will be a lot easier.  I also need to laser cut the clear window on our front panel and get that attached, although I don’t anticipate it taking a long time. I was also planning on laser cutting some motor attachments to make it easier to connect the springs to the actual motor. 

David’s status report for 3/22/25

What did you personally accomplish this week on the project? Give files or photos that demonstrate your progress. Prove to the reader that you put sufficient effort into the project over the course of the week (12+ hours).

On Monday, I worked with my team on trying to debug the motor issue that remained from last week. While I personally wasn’t able to figure out what was wrong with the schematic and code, my teammates were able to, which was awesome. They were able to get the motors to spin in a more clean motion as well.  Additionally, I’ve been spending time this week getting the schematic for the speaker to set up, installing needed scripts, and trying to run them to produce sound. Currently, no sound comes out of the speaker which leads me to believe that the wiring is wrong since there is also no indication of the speaker module turning on. I’m trying to fix that part. 

Is your progress on schedule or behind? If you are behind, what actions will be taken to catch up to the project schedule?

I believe my schedule is in progress, but that’s mainly because of the amount of help I am getting from my teammates, who are the best.

What deliverables do you hope to complete in the next week?

I hope to figure out the issue with the speakers and get those to output sound depending on what is happening in the system. Also, I think our team is trying to get the motors attached to the vending machine structure so I hope to assist with that. 

 

Ashira’s Status Report for 3/15/25

What did you personally accomplish this week on the project? Give files or photos that demonstrate your progress. Prove to the reader that you put sufficient effort into the project over the course of the week (12+ hours).

This week, I mainly focused on manufacturing and assembly of the vending machine enclosure, as well as finishing up the ethics assignment. Because our schedule for manufacturing was pushed back by a week into our initially planned assembly time, we had to redistribute some of our efforts to make sure that both jobs were finished by the end of the week, which we did successfully. With the help of David and Anna, we were able to laser cut all the pieces of the enclosure and assemble almost everything as well (shown below), with the exception of the dispenser springs and front panel, which we’ll install later on, when development for all the peripherals are finished and components can be mounted. I also spent some time helping David with debugging his schematic and code to troubleshoot the motor control. Other than that, I also spent some time this week working on the ethics assignment that was due on Wednesday.

Is your progress on schedule or behind? If you are behind, what actions will be taken to catch up to the project schedule? 

My progress was behind coming into the week due to delays in manufacturing, but I was able to catch up and finish almost all the manufacturing an assembly this week.

What deliverables do you hope to complete in the next week?

Since the mechanical end of the project is basically complete, this next week, my main focus will be in helping out with peripheral control, namely, getting the motors to work as needed, as well as bringing up speaker, LED, and sensor functionality. It might also be valuable to make an attempt at integration with the GUI as well, but the priority will mainly be implementing the basic functionality first.

Team Status Report for 3/15/25

What are the most significant risks that could jeopardize the success of the project? How are these risks being managed? What contingency plans are ready? 

The most significant risk at this stage is ensuring the proper functionality of the vending machine, particularly the motor controls. Debugging has been more time-consuming than anticipated, and we still need to configure 6 motors. To address this, the team has met to analyze probable causes, testing 1 motor at a time to identify and resolve any problems before scaling up.

Were any changes made to the existing design of the system (requirements, block diagram, system spec, etc)? Why was this change necessary, what costs does the change incur, and how will these costs be mitigated going forward? 

Nothing was changed in our design. On another note, however, based on our meeting, we recognized areas in which our requirements can be further clarified, such as further justification for the vending machine size, which is as follows: internal storage capacity determines its external dimensions, snack vending machines typically range from 68-72″ H x 29-41″ W x 30-34″ D, smaller machine would require more frequent restocking, designed to accommodate both study materials and the vending machine on a desktop while minimizing clutter.

Provide an updated schedule if changes have occurred. This is also the place to put some photos of your progress or to brag about a component you got working. 

Anna’s Status Report for 3/15/25

What did you personally accomplish this week on the project? Give files or photos that demonstrate your progress. Prove to the reader that you put sufficient effort into the project over the course of the week (12+ hours).

This week, I completed the ethics assignment and collaborated with my team to draft the group collaboration section. Additionally, I acted on feedback from our weekly meeting, particularly condensing our talking points into concise notes, such as further justifying our product’s size by researching and documenting studies that support ergonomic factors of our design. I also assisted Ashira with laser cutting and assembling parts of the physical enclosure. Besides this, I upgraded the RPi, installed necessary dependencies, and uploaded the GUI code to test its functionality. This test revealed that I need to adjust the display configuration as I encountered issues with the screen orientation and parts of the interface being cut off, so I also spent some time trying to fix these issues.  Additionally, I tried to help David on debugging the motor control system to ensure the team stays on track.

Is your progress on schedule or behind? If you are behind, what actions will be taken to catch up to the project schedule?

My progress is on schedule.

What deliverables do you hope to complete in the next week?

I hope to properly fit the GUI within the display by updating the current code and have some functioning peripherals.

David’s status report for 3/15/2025

What did you personally accomplish this week on the project? Give files or photos that demonstrate your progress. Prove to the reader that you put sufficient effort into the project over the course of the week (12+ hours).

This week, I worked with my team on the manufacturing of the structure of the vending machine. During class times, we went to TechSpark and I tried to assist with the laser cutting of the different pieces. Today, we as a team spent a lot of time assembling the structure from the laser cut parts, which included spending time securing pieces together with hot glue.

Individually, I worked on debugging the motor control issue that I had from last week – that the motors were turning as soon as the power was switched on and no program runs. I tried some different things but unfortunately wasn’t able to figure out the root cause. I had some tests where I would get different results each time without changing the setup, which makes us think this is a connection issue. 

Is your progress on schedule or behind? If you are behind, what actions will be taken to catch up to the project schedule?

My progress is a little bit behind schedule. Unfortunately I wasn’t able to figure out my issue with the motors, so that’s my task for the next week. My teammates may also be able to work with me on it since they made really good progress for their parts. 

What deliverables do you hope to complete in the next week?

I hope to fix the schematic and code for the motors so that when the power is turned on, no motors spin at all. Also when the code runs, the motors each move when they are supposed to and move with proper steps and direction.