17. Applications and Implications

The goal for this week was to define the final project clearly: what it will do, what it needs, what I will make myself, what questions are still open, and how I will evaluate if it works.

The general workflow was:

Final project: 16-day pill dispenser

My final project is a pill dispenser for my grandfather. It stores medication in a 16-compartment carousel. The RTC keeps the time and triggers an alarm. The buzzer keeps sounding until the user presses the blue confirmation button. Only after that button press does the stepper rotate the carousel and dispense the pills by gravity.

The first idea was a 31-day dispenser, and I also explored two-dose versions with separate morning and night rings. I simplified the build to one 16-day ring because it is more realistic for the time, easier to print, and easier to troubleshoot. Future versions can repeat the same 16-slot system: two rings for 32 days with one dose, or four rings for two daily doses across one month.

I also kept the networking idea from Week 11. The XIAO ESP32-C6 can create its own Wi-Fi access point and serve a small offline web interface, so family members or caregivers can connect from a phone without internet. The interface can be used to set alarm times, check the last dose status, and reset the schedule.

Current working principle

Alarm sounds, user presses the blue button, the 28BYJ-48 stepper moves 512 steps, one compartment aligns with the acrylic opening, and the pills fall into the tray. The red button is reserved for snooze, skip, or simple settings. A line follower or IR sensor can be added later to check if pills fell.

What will it do?

It will remind the user to take medication and dispense one dose when the user confirms the alarm. It is not meant to replace a caregiver completely. It is meant to reduce daily dependence by making the routine clearer: alarm, press button, collect pills.

1

Clock

The DS3231 RTC keeps the current time and the OLED displays it.

2

Alarm

At the programmed time, the passive buzzer plays a repeated beep pattern.

3

Confirmation

The blue push button stops the alarm and starts the dispense movement.

4

Dispensing

The carousel advances one compartment and the pills fall by gravity.

Learning outcomes