Inspirational cases

Finalist 2024
Brazil
Share

Students create a machine that helps people take medicine at the right dose and time

With knowledge in Mechanics, Electronics, and Programming, high school students built an automatic pill dispenser that helps with health treatments.

Teacher

Foto de Marcos Anibal da Cunha
Marcos Anibal da Cunha
Foto de Luís Henrique Bernardo
Luís Henrique Bernardo

Schools

 Escola Técnica Estadual Coronel Fernando Febeliano da Costa

Project name

Pharmakos

STEM areas

Engineering, Sciences, Technology

Other areas of knowledge

Mecânica

After a student noticed his grandmother often forgot whether or not she had taken her daily doses of medication, he decided to create a solution by combining his knowledge of Mechatronics with Sustainable Development Goals (SDGs) 3 (Good Health and Well-being) and 9 (Industry, Innovation and Infrastructure). This is how, together with two other colleagues and two mediator teachers, he created “Pharmakos”, an automatic pill dispenser that releases it at the scheduled times and doses, according to the patient’s medical prescription.

The initiative was a finalist and a highlight for the Solve for Tomorrow popular jury in Brazil in 2024. “Based on the idea, they researched whether something similar already existed on the market and began to create the design. The first three prototypes were made of cardboard to test the mechanism. Then, they made the structure on a 3D printer to give greater precision to the mechanical movements. The electronic and programming parts came later,” recalls teacher Marcos Anibal Cunha, who is a mechatronic engineer and one of the project’s mediators.

The project required students to research programming and, with the mentoring offered by Solve for Tomorrow, they also interviewed the school’s nursing technician, who helped with practical tips and reinforced the importance of “Pharmakos” in helping to reduce medication errors.

Through the STEM project, young people were able to put their knowledge into practice to create an innovative solution.

What I see in students is that they think they are not capable. We have to work on encouraging them. We need to show them that it is possible to dream big, but with their feet on the ground, highlights Marcos Anibal Cunha.

How the automatic pill dispenser works

The prototype consists of a mechanical part that stores and moves the pills; an electronic part, which makes the mechanism move according to commands; and a programming part, which allows the schedules and quantities to be set for dispensing the medicines. The students already had experience with Arduino, an open-source microcontroller board that can be programmed to control electronic devices, such as motors and sensors. But they were looking for a way for the system to be accessed remotely. “They had to work with another microcontroller, the ESP32,” adds the educator.

The latest prototype has not been tested by users, but it has achieved functional results in pill-dispensing tests carried out at the school itself. With the automatic pill dispenser, it was possible to program the frequency, quantity of medication, and time and date of the start of treatment. The equipment also allows different settings for continuous or temporary medication. Two medications were tested to be dispensed at different times and doses, emitting audible alerts whenever this happened.

While these dispensers can help caregivers and patients manage medications, they are relatively expensive. Excluding the labor and time spent developing the project, each unit costs around R$500 (around US$85, which includes the materials and equipment used in the machine).

“To gain scale and be on the market, the project still needs more refined technology, and this has a cost. The students are very excited; they are talking about patenting and improving the system, but they would need an investment to continue. With the visibility the project has had in the press, a pharmacy chain is already wanting to talk to the team,” says the educator.

Before the prototype was ready, students had to assemble the device and design the casing.

Project success motivates students and teachers

Throughout the course, despite being focused on their studies and the vestibular (an exam to enter university), the students remained organized and motivated in the project. According to the teacher, an important part of this motivation came from the mentoring of Solve for Tomorrow. The methodology was key to the success of the project. “It is something that the students will always take with them. One example was the habit of keeping project records throughout the STEM project path. We often refer to these notes to know what has already been done and where we need to make changes. This encouraged teamwork and division of tasks. When responsibilities are assigned, the project goes better,” he says.

Cunha also highlights the importance of the program involving the school community. The principal, other teachers, and students contributed with suggestions, translated the project videos into sign language, and engaged in the popular vote. The school’s teaching assistant, Abraão Lacerda, also provided important support in the dialogue with the students. “After the students made it to the semifinals of Solve for Tomorrow, their joy was inexplicable. One of them even said during the mentoring session that he already felt like a scientist. So, I think it was hard work, but it was very good for them. And for us teachers, it was also excellent”, he says.

Focus on the practice!

Take a look to the teacher’s guide on how to build a machine that organizes and delivers medications in the correct doses and times to patients.

Empathize

One of the students decided to think of a solution to a domestic problem: his grandmother often forgot to take her medication at the right dose and at the right time. To help her not miss her treatment, he imagined that he could create a machine that would help her administer the medication.

Define

In the last year of the technical course in Mechatronics, the student formed a group and thought of a programmable machine that would provide medication in the right quantity and at the right time, according to the patient’s medical prescription.

Ideate

The dispenser is made up of a mechanical part that stores and moves the pills; an electronic part, which makes the mechanism move according to the commands; and a programming part, which allows you to set times and quantities to dispense the medicines.

Prototype

The final prototype was a box, manufactured on a 3D printer, with mechanisms and electronic components, where it is possible to program the frequency, quantity of medication, and time and date of the start of treatment. The equipment also differentiates between continuous and temporary medications.

Test

The equipment was tested in the school’s laboratories. Two medications were tested to be released at different times and in different doses, with sound alerts being emitted whenever this happened. The tests were successful, and to gain scale, the project needs funding to improve the technology and reduce costs.

Subscribe to the newsletter of Solve for Tomorrow Latam platform and receive monthly the latest updates on the program in the region.

Subscribe