Engineers Garage

  • Electronic Projects & Tutorials
    • Electronic Projects
      • Arduino Projects
      • AVR
      • Raspberry pi
      • ESP8266
      • BeagleBone
      • 8051 Microcontroller
      • ARM
      • PIC Microcontroller
      • STM32
    • Tutorials
      • Audio Electronics
      • Battery Management
      • Brainwave
      • Electric Vehicles
      • EMI/EMC/RFI
      • Hardware Filters
      • IoT tutorials
      • Power Tutorials
      • Python
      • Sensors
      • USB
      • VHDL
    • Circuit Design
    • Project Videos
    • Components
  • Articles
    • Tech Articles
    • Insight
    • Invention Stories
    • How to
    • What Is
  • News
    • Electronic Product News
    • Business News
    • Company/Start-up News
    • DIY Reviews
    • Guest Post
  • Forums
    • EDABoard.com
    • Electro-Tech-Online
    • EG Forum Archive
  • DigiKey Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Learn
    • eBooks/Tech Tips
    • Design Guides
    • Learning Center
    • Tech Toolboxes
    • Webinars & Digital Events
  • Resources
    • Digital Issues
    • EE Training Days
    • LEAP Awards
    • Podcasts
    • Webinars / Digital Events
    • White Papers
    • Engineering Diversity & Inclusion
    • DesignFast
  • Guest Post Guidelines
  • Advertise
  • Subscribe

IoT-based patient health register

By EG Projects October 31, 2022

This project will develop software that will take patient readings from sensors and send them to the main clinic where doctors can see the data and analyze patient health remotely. We will be accomplishing this using the FTP protocol and C#.

 Components required
Tools Required
Tools

  1. Visual studio 2015 IDE
  2. FTP Server

Circuit Diagram

Figure 1 Arduino connection diagram

Connect a push button to Arduino UNO pin number 7. Make it pull up and detect if the button is pressed low.

Technical Insights
The software collects the data from sensor and user inputs and then sends them the remote FTP files where a doctor can examine the details. Collecting the patient data is done using serial communication from Arduino, and sending the data to the FTP server is done using the FTP protocol.

In the background, data transfer and storing are done inside Excel files.

Block Diagram/Algorithm

Figure 2 Network Diagram

How it works

  1. Starting the software:
    While opening the software, first enter the following details.

Figure 3 Logging into software

Username: The particular username for the nursing staff
Password: The password for the username above
Clinic name: The name of the clinic at which the data needs to be saved. It is the remote location where the FTP file will be saved.
Device port: Port number of the temperature detection unit
Server address: It is the web address for the FTP server at which the files are stored.

  1. Downloading the FTP file:
    If all the details are correct, the software will open, and the FTP file for that specific clinic will be downloaded to the local storage.
  1. Taking the details from patient

Figure 4 taking the data from patient

Now the software user can detail from the patient, press the button connected to the Arduino, and it will take a reading from the sensor and write in the details section automatically.

  1. Submitting the details to FTP server
    When we press the “send to doctor” button, the details are sent to the FTP server and saved there so the doctor can see the details by using username “Sadmin” and password ‘123”.
  1. Seeing the entries

Figure 5 Observing the data from the server

Once the data is there, the doctor from anywhere can type the credentials and see the data present there.

Understanding the source code
The source code can be understood in some points.
There are three forms in the project. Their description is given below.
(please see/download the complete software files attached at the end of the article)

login cs
It handles the login into the system and checks for the usernames and passwords. Also, in the background, it downloads the FTP file to the local storage to be accessed through the software.
Downloading the FTP file is done inside the function DownloadFTP function called from FTP function. If all the details are correct, it opens the homepage.
Homepage.cs

Taking the data from the Arduino UNO and sensor is done over serial communication.

Inside a callback function which gets active when any data is received at the serial port, we check for the data if it contains “temp:” then we accept the data and then store it in the software.
Data is stored inside an Excel file in this format
Superadmin.cs
This form is used to show data stored on remote files, which is only accessible to the doctor. It uses an OleDDb connector which is used to extract data from database and excel file storage.
The data is then displayed inside a form in grid view style.

So, this is how we can use FTP communication to make a patient’s health register and use it in real life.

 

 

You may also like:


  • How to use IoT-based D2D automation

  • IoT-based, pre-paid electricity system

  • IoT-based smart remote classrooms

  • IoT-based water geyser

  • An IoT-based virtual doctor

  • How to program an IoT-based coffee machine

Filed Under: Electronic Projects
Tagged With: IoT
 

Next Article

← Previous Article
Next Article →

Questions related to this article?
👉Ask and discuss on EDAboard.com and Electro-Tech-Online.com forums.



Tell Us What You Think!! Cancel reply

You must be logged in to post a comment.

EE TECH TOOLBOX

“ee
Tech Toolbox: Internet of Things
Explore practical strategies for minimizing attack surfaces, managing memory efficiently, and securing firmware. Download now to ensure your IoT implementations remain secure, efficient, and future-ready.

EE Learning Center

EE Learning Center
“engineers
EXPAND YOUR KNOWLEDGE AND STAY CONNECTED
Get the latest info on technologies, tools and strategies for EE professionals.

HAVE A QUESTION?

Have a technical question about an article or other engineering questions? Check out our engineering forums EDABoard.com and Electro-Tech-Online.com where you can get those questions asked and answered by your peers!


RSS EDABOARD.com Discussions

  • Voltage mode pushpull is a nonsense SMPS?
  • Reducing "shoot-through" in offline Full Bridge SMPS?
  • High Side current sensing
  • How to simulate power electronics converter in PSpice?
  • Layout IRN reduction in Comparator

RSS Electro-Tech-Online.com Discussions

  • Back to the old BASIC days
  • Parts required for a personal project
  • PIC KIT 3 not able to program dsPIC
  • Failure of polypropylene motor-run capacitors
  • Siemens large industrial PLC parts

Featured – RPi Python Programming (27 Part)

  • RPi Python Programming 21: The SIM900A AT commands
  • RPi Python Programming 22: Calls & SMS using a SIM900A GSM-GPRS modem
  • RPi Python Programming 23: Interfacing a NEO-6MV2 GPS module with Raspberry Pi
  • RPi Python Programming 24: I2C explained
  • RPi Python Programming 25 – Synchronous serial communication in Raspberry Pi using I2C protocol
  • RPi Python Programming 26 – Interfacing ADXL345 accelerometer sensor with Raspberry Pi

Recent Articles

  • What is AWS IoT Core and when should you use it?
  • AC-DC power supply extends voltage range to 800 V DC
  • Infineon’s inductive sensor integrates coil system driver, signal conditioning circuits and DSP
  • Arm Cortex-M23 MCU delivers 87.5 µA/MHz active mode
  • STMicroelectronics releases automotive amplifiers with in-play open-load detection

EE ENGINEERING TRAINING DAYS

engineering

Submit a Guest Post

submit a guest post
Engineers Garage
  • Analog IC TIps
  • Connector Tips
  • Battery Power Tips
  • DesignFast
  • EDABoard Forums
  • EE World Online
  • Electro-Tech-Online Forums
  • EV Engineering
  • Microcontroller Tips
  • Power Electronic Tips
  • Sensor Tips
  • Test and Measurement Tips
  • 5G Technology World
  • Subscribe to our newsletter
  • About Us
  • Contact Us
  • Advertise

Copyright © 2025 WTWH Media LLC. All Rights Reserved. The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of WTWH Media
Privacy Policy

Search Engineers Garage

  • Electronic Projects & Tutorials
    • Electronic Projects
      • Arduino Projects
      • AVR
      • Raspberry pi
      • ESP8266
      • BeagleBone
      • 8051 Microcontroller
      • ARM
      • PIC Microcontroller
      • STM32
    • Tutorials
      • Audio Electronics
      • Battery Management
      • Brainwave
      • Electric Vehicles
      • EMI/EMC/RFI
      • Hardware Filters
      • IoT tutorials
      • Power Tutorials
      • Python
      • Sensors
      • USB
      • VHDL
    • Circuit Design
    • Project Videos
    • Components
  • Articles
    • Tech Articles
    • Insight
    • Invention Stories
    • How to
    • What Is
  • News
    • Electronic Product News
    • Business News
    • Company/Start-up News
    • DIY Reviews
    • Guest Post
  • Forums
    • EDABoard.com
    • Electro-Tech-Online
    • EG Forum Archive
  • DigiKey Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Learn
    • eBooks/Tech Tips
    • Design Guides
    • Learning Center
    • Tech Toolboxes
    • Webinars & Digital Events
  • Resources
    • Digital Issues
    • EE Training Days
    • LEAP Awards
    • Podcasts
    • Webinars / Digital Events
    • White Papers
    • Engineering Diversity & Inclusion
    • DesignFast
  • Guest Post Guidelines
  • Advertise
  • Subscribe