---
title: "MedicBox using WizFi360-Pico"
url: "https://maker.wiznet.io/wiz_chandana/projects/medicbox-using-wizfi360-pico/"
markdown_url: "https://maker.wiznet.io/wiz_chandana/projects/medicbox-using-wizfi360-pico/md"
type: "UCC: User Created Content"
author: "Jeesang Kim"
author_url: "https://www.youtube.com/watch?v=WGAY_tN9-3o"
editor: "WIZnet"
editor_url: "https://maker.wiznet.io/"
original_author: "Jeesang Kim"
original_url: "https://www.youtube.com/watch?v=WGAY_tN9-3o"
published: "2022-12-06"
language: "en"
hardware: ["WIZnet WizFi360-EVB-Pico"]
likes: 2
views: 543
comments: 0
source: "WIZnet Makers (https://maker.wiznet.io/)"
---

# MedicBox using WizFi360-Pico

> Smart Medication Management System with Alarm for Reminder

Original author: Jeesang Kim (source: https://www.youtube.com/watch?v=WGAY_tN9-3o)

## Components

- **WIZnet WizFi360-EVB-Pico** x 1
- Software: **Microsoft Azure IoT Hub** ([docs](https://learn.microsoft.com/en-gb/azure/iot-hub/))

## Documents and links

- [WizFi360-Pico SourceCode](https://github.com/jeesang7/WizFi360-EVB-Pico-C/tree/contest) (code)
- [LED & Push Switch for Pico](https://www.hackster.io/jeesang-kim/medicbox-for-wizfi360-evb-pico-819608#schematics) (schematics)

## Article

**Purpose**
Sometimes, I can't remember if I took the medicine, or I forget to take it at the desired time.

Vitamins and blood pressure pills, have to take every day, but sometimes you forget and don't take them.

Based on C language, It is a system that allows you to set the desired time and check whether you are taking the medicine.

**Design**

I was thinking about how to manage my morning, lunch, and dinner medications.

We needed at least three containers, and we needed a way for each container to be identified by an alarm or indicator light.

Especially, I planned to implement the function by controlling GPIO using wizfi360-pico.

![](https://hackster.imgix.net/uploads/attachments/1514722/image_UVCfdqvCD9.png?auto=compress%2Cformat&w=740&h=555&fit=max)

**LED & Push Button**

By using the LED and button, you can store various medications and check whether they are taken or not.

It is a simple operation process:

If the LED is on, take your medicine.When you have taken your medicine, press the button to turn off the LED.

For people who take various medications, 3 pairs of LEDs and buttons are configured as a controller.

![](https://hackster.imgix.net/uploads/attachments/1514723/image_J8pa4cGcBB.png?auto=compress%2Cformat&w=740&h=555&fit=max)

First, configure a pair of LEDs and Buttons.

![](https://hackster.imgix.net/uploads/attachments/1514724/image_AeggR9F87I.png?auto=compress%2Cformat&w=740&h=555&fit=max)

![](https://hackster.imgix.net/uploads/attachments/1514725/image_PWvI9hCga5.png?auto=compress%2Cformat&w=740&h=555&fit=max)

Azure IoT Hub
Using Azure IoT Hub, LED status can be checked remotely.

Using Azure IoT Hub service, I connected my flask-based personal server. You can check the status of the WizFi360-Pico device anytime, anywhere by connecting to a smartphone through this server.

![](https://hackster.imgix.net/uploads/attachments/1514726/image_vw9zkJ87Mw.png?auto=compress%2Cformat&w=1280&h=960&fit=max)

Guides and References for connecting to Azure IoT Hub can be found in the repository below:

<https://github.com/Wiznet/WizFi360-EVB-Pico-AZURE-C>

Debugging is possible using picoprobe in Wizfi360-pico !

![](https://hackster.imgix.net/uploads/attachments/1514727/image_IsTYqpiP00.png?auto=compress%2Cformat&w=740&h=555&fit=max)

![](https://hackster.imgix.net/uploads/attachments/1514731/image_2BMmXS9GRI.png?auto=compress%2Cformat&w=740&h=555&fit=max)

![](https://hackster.imgix.net/uploads/attachments/1514732/image_CzK0fYumsK.png?auto=compress%2Cformat&w=740&h=555&fit=max)

---

Source: https://maker.wiznet.io/wiz_chandana/projects/medicbox-using-wizfi360-pico/
