Monitoring health of a person continuously 24 hours a day and every day of the week is not easy for even doctors and researchers, unless the person is under care in a hospital or clinic. For a common person wishing to monitor his or her health in normal day to day life, it becomes even more difficult because most cardiac and other health monitors are not portable. These cannot be left attached to a person’s body whole day for continuous monitoring.
So, here is how you can design and make a small IoT-enabled monitor that you can stick to your body to capture your health data. It will capture data like heartbeat and body temperature in real time and show it on your phone or any other device that can be connected to Wi-Fi. It can be used anywhere to monitor the health parameters on a continuous basis. The author’s prototype is shown in Fig. 1.
Fig. 2 shows circuit diagram of the IoT health sticker, which is built around ESP12F (MOD1 ), MAX 301002 (MOD2), and MCP73812T (MOD3) ICs. The circuit has two parts—the IoT sensor battery charger (left side) and the IoT sensor sticker.
After connecting the components as per circuit diagram, interconnect the charger and sensor circuits. The charging circuit has battery connector JP1, which is connected to the IoT sensor chip circuit via switch S1. Connect the battery’s positive terminal through wire to pin 1 of JP1 and the negative terminal through another wire to the battery connector.
You need to prepare the code for IoT sticker and Arduino IDE. To install the Arduino IDE and ESP8266 board, open the library manager and install ESP-DASH and Sparkfun Max301x libraries. Include the Max3015 library and ESP-DASH in the code. Then set up the SSID and password of your phone Wi-Fi (hot spot) or home Wi-Fi. To be mobile you may use phone Wi-Fi, but if you want to monitor at home only you may use the home Wi-Fi.
If you want to connect your phone to this monitoring device, you can set the Wi-Fi in STA mode. Set the cards’ names in the web page UI. You need to to show the heart rate, average heart rate, and body temperature data. So, create the cards for these to show in a web page hosted by ESP-DASH.
ESP12F (MOD1 )
Wi-Fi MCU SMD chip
MAX 301002 (MOD2)
Health sensor module
Cell charging SMD chip
LED1, LED2, LED3
4.7µF capacitor (C1, C2)
Resistor 100Ω (R1)
Resistor 470Ω (R2)
Resistor 2kΩ (R3)
Slide switch (S1)
SPST slide switch
Jumper 2-pin male
Now create the setup function and initialise the I2C connection with the Max sensor module and host the UI webpage. In the loop, check the sensor data and update it in the webpage UI cards. Put the ESP32 in programming mode and connect the ESP chip to FTDI. Select the ESP8266 board in Arduino IDE and select the right port and upload the source code healthtest.ino.
Construction and testing
After uploading the source code, solder all the components and connect the battery. Make a small, thin sticker using a sticking tape available at chemists for use on skin to stick it as shown in Fig. 5 and Fig. 6.
Charge the device and slide the switch on the device to on position. You may now stick the IoT health monitor on your forearm or upper arm.
Wait for the device to get connected and then search for the IP address in the browser. You should be able to see your health data on your phone or any other device you may have connected. Fig. 7 shows how the real-time data looks like.
Bonus. A design with more functions and a market-ready PCB design is available on this link.
At larkbiz.biz we participate in the Amazon Services LLC Associates Program, which is an affiliate advertising program designed to provide a means for websites to earn advertising fees by advertising and linking to amazon.com
As an Amazon Associate, we may earn commissions from qualifying purchases from Amazon.com. You can learn more about our editorial and affiliate policy