Smart Pill Dispenser

An automatic pill dispenser aimed to ease the lives of the elderly and disabled persons.

IntermediateFull instructions providedOver 3 days59,459

Things used in this project

Hardware components

AVR-IoT WA Development Board
Microchip AVR-IoT WA Development Board
×1
Arduino Mega 2560
Arduino Mega 2560
×1
SG90 Micro-servo motor
SG90 Micro-servo motor
×4
Nextion NX8048T070 - Generic 7.0" HMI TFT LCD Touch Display
Itead Nextion NX8048T070 - Generic 7.0" HMI TFT LCD Touch Display
×1
Adafruit 16-Channel 12-bit PWM/Servo Driver I2C
×1
Speaker: 0.25W, 8 ohms
Speaker: 0.25W, 8 ohms
×1
Adafruit Photo Transistor IR Light Sensor
×4
Adafruit 5mm IR LED - 940nm
×4
Ultrasonic Sensor - HC-SR04 (Generic)
Ultrasonic Sensor - HC-SR04 (Generic)
×1
Parallax Feedback 360° High-Speed Servo
×1
Adafruit 5V 2A Switching Wall Power Supply
×1

Software apps and online services

MPLAB X IDE
Microchip MPLAB X IDE
Arduino IDE
Arduino IDE
Fusion
Autodesk Fusion
AWS IoT
Amazon Web Services AWS IoT
AWS DynamoDB
Amazon Web Services AWS DynamoDB
AWS API Gateway
Amazon Web Services AWS API Gateway
AWS Lambda
Amazon Web Services AWS Lambda
VS Code
Microsoft VS Code

Hand tools and fabrication machines

3D Printer (generic)
3D Printer (generic)
Soldering iron (generic)
Soldering iron (generic)
Solder Wire, Lead Free
Solder Wire, Lead Free

Story

Read more

Custom parts and enclosures

Thingiverse Repository

Thingiverse Repository for SmartPill Dispenser

Pill Dispenser Mechanism

Pill Dispenser Mechanism that will take care of dispensing the correct quantity of pills. It is controlled by a servo.

Smart Pill Dispenser

SmartPill Dispenser enclousure

Pill Dispenser Full Assembly

The full assembly of the project. It's in STEP format so it can be modified by everyone.

Mechanism V2 STEP

This is a STEP (editable) file of the new mechanism. It uses small stepper mottors to rotate the wheel. The wheel must be changed for each size of pill.

Mechasnism V2.1 STEP

This is a STEP (editable) file of the new mechanism. It uses small stepper mottors to rotate the wheel. The wheel must be changed for each size of pill.

PS: Is slighlty bigger than the last one.

Small Wheel STEP

The wheel of mechanism must be edited dependign on the size of the pill you want to disepense. This version is for a small pill.

It is held in place with an M3 screw.

Large Wheel STEP

The wheel of mechanism must be edited dependign on the size of the pill you want to disepense. This wheel is prepared for larger pills such us "ibuprofen".

It is held in place with an M3 screw.

Wheel F360 file

Parametric wheel design

Mechasnism V2.1 F360 File

A fully editable F360 file

Schematics

SmartPill Electronics Schematic

SmartPill Electronics HW connections

Code

Smartpill Web Application

Frontend code for the webapp user interface

Smartpill Backend Lambda functions

Smartpill AVR-IoT Code

Smartpill Arduino Code

Credits

Mireia Flores

Mireia Flores

1 project • 14 followers
A last year mechanical engineering student in Universitat Politècnica de València (UPV), willing to learn new skills.
Isabel Fernández Palou

Isabel Fernández Palou

2 projects • 16 followers
Electronic engineer student in Universidad Politecnica de Valencia (UPV). Interested in electronic design and programming.
Javier Poveda

Javier Poveda

1 project • 13 followers
Last year spanish electronics engineering student, willing to find out new challenges and learn whatever I come across.
Pablo Fernández Silva

Pablo Fernández Silva

2 projects • 19 followers
Motivated electronic engineering student. Really interested in design and fabrication process.
Jaime Laborda

Jaime Laborda

0 projects • 14 followers
I am an Electronics Engineer especialized in embedded systems and Internet of Things devices. Currently working in LoRaWAN sensor networks.

Comments