IoT based Patient Monitoring System– In this tutorial, you will learn how to make an IoT based Patient monitoring system using Nodemcu ESP8266 Wifi module, Arduino, HC-05 Bluetooth Module and Cell phone Applications. This is an advanced level project and is entirely different from all the existing Patient monitoring systems available.
In this project, two different cell phone applications are used for monitoring the patient temperature and BPM “Beats Per Minute”. One application is designed in Blynk while the other Cell Phone application is designed in Android Studio.
With the help of this application the patient BPM, temperature in centigrade and Fahrenheit with two decimal points precision can be monitored from anywhere around the world. With the help of this application, the Doctor can monitor the patient in real-time from anywhere so far the internet connection is available.
While this application can be used by the family members to wirelessly monitor the patient temperature and BPM. I have a separate video on the android cell phone application designing for the Bluetooth. I will provide a link in the related projects section given at the end of this article.
This project is designed in a way that it can be easily modified by anyone and more sensors can be interfaced. To accommodate more sensors I am using Arduino and Nodemcu esp8266 Wifi module together.
IoT based Patient Monitoring System Circuit Diagram:This is the complete circuit diagram designed in Cadsoft Eagle 9.1.0 version. If you want to learn how to make a schematic and PCB, then watch the video tutorial given below.
Let’s start with the DS18b20 waterproof one-wire digital temperature sensor. As you can see a 330-ohm resistor is connected between the VCC and data wires. You can also use a 4.7k resistor. The VCC is connected with 3.3 volts. The data wire is connected with the Arduino’s digital pin 4. While the ground is connected with the Arduino’s ground.
The VCC pin of the pulse sensor is connected with the Arduino’s 3.3 volts, but you can also connect this with the 5 volts. The S Pin of the pulse sensor is connected with the analog pin A0 and the ground pin of the pulse sensor is connected with the Arduino’s ground.
This Power Supply is based on the famous LM7805 voltage regulator. J1 is the female power jack and this is where we connect a 12v adaptor or battery. Two 470uf capacitors are connected at the input and output sides of the voltage regulator. A 330-ohm resistor is connected in series with a 2.5v led. This is a current limiting resistor. The output of the voltage regulator is connected with the Vin pin of the Nodemcu esp8266 wifi module and the ground is connected with the ground. SV1 and SV2 are the female headers.
The HC05 or HC06 Bluetooth module is powered up using 3.3 volts from the Nodemcu Module. The ground of the Bluetooth module is connected with the ground of the Nodemcu Module, make sure you connect the ground of the Nodemcu Module with the Ground of the Arduino. The TX and RX pins of the Bluetooth module are connected with the Arduino’s Pin number 7 and Pin number 8. Pin number 7 is the RX while pin number 8 is the TX which will be defined in the programming.
This is the final Nodemcu ESP8266 Wifi Module Power Supply circuit board. I have a separate video on how to design the PCB, how to place an online order.
I also have a separate video on how to change the name of the Bluetooth module and how to change the password. This tutorial explains everything you need to know about the HC-05 or HC-06 Bluetooth Module.
This is the Pulse Sensor which I am using in this project for measuring the heartbeats, I personally don’t like this sensor and I am searching for another sensor, but right now this is what I have for now. If you have never used this sensor then I recommend you should watch my previous two tutorials on the Pulse Sensor which explains everything. You can find links in the related projects section.
Android cell phone Application:The Bluetooth cell phone application is designed in Android Studio. I have a very detailed tutorial on how to design your own android cell phone application. The APK file of this project can be downloaded by clicking on the following link.
Download Patient Monitoring Application: patient monitoring applicationIf you want to learn how to make your own android application then you can watch the following video for the demonstration.
Blynk Application Designing:- First of all, open the Blynk application…
- Set the project name as IoT Patient…
- Click on the choose device and select Nodemcu….
- Make sure you set the connection type to wifi and then click on the create button, an authentication token will be sent on your email id, which will be then used in the programming, simply copy and paste it in the programming …
- Click anywhere on the screen and search for the gauge and add it…
- Now click on the gauge set the name…
- Click on the pin and select virtual pin V3…
- Set the maximum value to 50, Change the Font size, click on the push button and select 1 second…
- Now again click on the screen and add another gauge, follow the same exact steps but select virtual pin V4…
- Now again click on the screen and this time search of the LCD widget and add it…
- Select the input type as advanced…
- Click on the pin and select virtual pin V5. That’s it.
If you find it difficult to follow these steps then you can watch my video given at the end of this article, which practically explains all the steps.
IoT Based Patient Monitoring System Programming:In this project two programs are used, one program is written for the Arduino while the other program is written for the Nodemcu ESP8266 Wifi Module. Before you start the programming, first of all, make sure that you download all the necessary libraries used in the making of the IoT based Patient Monitoring System.
Download LibrariesLet’s first start with the Arduino programming
Comments
Please log in or sign up to comment.