This post describes a prototype of a smart medication dispenser, created with an Arduino as the controlling unit. The hardware platform and the software to support all the functionalities were created from scratch. Some of the functionalities include the possibility to connect the dispenser to a smartphone using HC-06 bluetooth module, or to communicate with a remote server through the internet, using ESP8266 Wi-Fi module.
This tutorial explains how to create an internal representation of date and time in a microcontroller, using interruptions.
Following the previous post on how to structure data, this one describes an application specific approach, based on the concept of commands and built on top of the previous structure.
In the development of embedded systems applications, transferring serial data without any high level structuring is a bad practice. Although this is a quick way of testing, it’s not good idea to just send bytes of information and expect that everything will work fine, in a final application.
I created this blog to share some knowledge about electronics, programming and technology with others. Hope this content helps others in creating their personal projects 🙂