• Log In

PS5888/CY2003 | Pill Dispenser

Dispense Pills, Disperse Trouble

Skip to content
  • Introduction
  • Project Overview
  • Parts and Principle
    • Parts
    • Working Principle
  • Design Specifications
  • Development
  • Our Learning Experience
  • PS5888 Home
  • Media Links

Raspberry Pi – Code Explanation

5 Oct 2023, ThuSoftwareJENNIFER GOH ZHEN NI

This first section imports the necessary modules / packages required to run the code and sets up the serial communications between Arduino and RPi. The second section of the code sets up the pysimpleGUI elements in the main Menu window (table and touchscreen buttons), as well as the arrays for data stored in the table … Continue reading Raspberry Pi – Code Explanation →

Leave a comment

Raspberry Pi – Part 2

4 Oct 2023, WedSoftwareJENNIFER GOH ZHEN NI

This is the main menu interface of our user interface, displayed on the touchscreen. To add the time input, at first we added sliders (again) similar to those for pill quantity of each pill. However, it is very tedious to use; the hour slider range is from 0 to 12, while the minutes slider range … Continue reading Raspberry Pi – Part 2 →

Leave a comment

3D Printing – Phase 6 (Final Phase!)

24 Sep 2023, Sun3D PrintsJENNIFER GOH ZHEN NI

This is the final phase for the designing of our pill dispenser. We completed the last minor touch-ups required to the set-up of our pill dispenser and finalized the placement of all the different parts onto the main acrylic board. We assembled our pill dispenser and made markings according to the existing holes (for screws) … Continue reading 3D Printing – Phase 6 (Final Phase!) →

Leave a comment

3D Printing – Phase 5

24 Sep 2023, Sun3D PrintsJENNIFER GOH ZHEN NI

In this phase, we designed 3D printed parts to house the laser and the laser sensor, as well as the load cell. We also added another stopper onto each dispensing cup to ensure that only one pill is dispensed from the dispensing cup each time, to prevent the pill dispenser from jamming. Laser housing   … Continue reading 3D Printing – Phase 5 →

Leave a comment

3D Printing – Phase 4

24 Sep 2023, Sun3D PrintsJENNIFER GOH ZHEN NI

In this phase, we focused on designing the structures that connect the 3 pill dispensing cups to the main collection cup. There are 3 curved tubes that connect each pill dispensing cup to the main slide, which leads to the main collection cup. Both the curved tubes and the inclined slide need to fit within … Continue reading 3D Printing – Phase 4 →

Leave a comment

3D Printing – Phase 3

24 Sep 2023, Sun3D PrintsJENNIFER GOH ZHEN NI

In this phase, we focused on designing the parts required to house the Arduino Mega and mount the stepper motors within our pill dispenser. Initially, the motor support was conceptualized as a solid triangular block (in red). We realized that there was wasted space, thus we redesigned it as an L-shaped support with a hollow … Continue reading 3D Printing – Phase 3 →

Leave a comment

3D Printing – Phase 2

24 Sep 2023, Sun3D PrintsJENNIFER GOH ZHEN NI

In this phase, we focused on designing the dispensing cup support (in yellow), the dispensing cup, and the inner disc. The holes in the dispensing cup and the inner disc should align in order for the pills to be successfully dispensed. The shapes and sizes of the holes are designed to correspond to the shapes … Continue reading 3D Printing – Phase 2 →

Leave a comment

Raspberry Pi – Part 1

24 Sep 2023, SunSoftwareJENNIFER GOH ZHEN NI

RPi 3B+ For this project, we proceeded to use the Raspberry Pi 3B+. The RPi is a microprocessor-based mini computer with high processing power, thus it will contain the code for the graphical user interface (GUI) that users will interact with on the touchscreen, as well as code to send and receive information from the … Continue reading Raspberry Pi – Part 1 →

Leave a comment

3D Printing Inventory – Part 2

11 Jul 2023, Tue3D Printstliu023

Versions of the cup holder: Version 5.1 Version 5.2 Process: In Version 5.1, the stoppers were made filleted compared to Version 4. This made it slightly smoother for the cup to fit easier into the holder. Mechanically, this would help to spread the load of the weight of the cup on the stoppers. This helps … Continue reading 3D Printing Inventory – Part 2 →

Leave a comment

Software Progress Pt. 1

6 Jul 2023, ThuSoftwaretliu023

So far, we have managed to code the ability for the load cell to detect small changes in weight. Thus allowing us to ascertain that a pill has been dispensed. If a pill was not dispensed, the code will make the motor turn once more. This code is also able to adjust for the number … Continue reading Software Progress Pt. 1 →

Leave a comment

Posts navigation

← Older posts