Engineers Garage

  • Projects and Tutorials
    • Electronic Projects
      • 8051
      • Arduino
      • ARM
      • AVR
      • PIC
      • Raspberry pi
      • STM32
    • Tutorials
    • Circuit Design
    • Project Videos
    • Components
  • Articles
    • Tech Articles
    • Insight
    • Invention Stories
    • How to
    • What Is
  • News
    • Electronic Products News
    • DIY Reviews
    • Guest Post
  • Forums
    • EDABoard.com
    • Electro-Tech-Online
    • EG Forum Archive
  • Digi-Key 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
  • EE Resources
    • DesignFast
    • LEAP Awards
    • Oscilloscope Product Finder
    • White Papers
    • Webinars
  • EE Learning Center
  • Women in Engineering

IoT-based patient health register

By EG Projects

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:


  • IoT-based, pre-paid electricity system

  • IoT-based smart remote classrooms

  • IoT-based water geyser

  • An IoT-based virtual doctor

  • How to use IoT-based D2D automation

  • How to program an IoT-based coffee machine

Filed Under: Electronic Projects
Tagged With: IoT
 

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



Tell Us What You Think!! Cancel reply

You must be logged in to post a comment.

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!


Featured Tutorials

  • Designing Gate Driver Circuit and Switching Mechanism for Modified Sine Wave Inverter – (Part 9/17)
  • Completing Modified Sine Wave Inverter Design with Full Bridge Circuit and Step Up Transformer – (Part 10/17)
  • Designing an Offline UPS – Part (12 /17)
  • How to reduce Switching Time of a Relay – (Part 15/17)
  • Testing MOSFET – (Part 16/17)
  • Driving High Side MOSFET using Bootstrap Circuitry – (Part 17/17)

Stay Up To Date

Newsletter Signup

Sign up and receive our weekly newsletter for latest Tech articles, Electronics Projects, Tutorial series and other insightful tech content.

EE Training Center Classrooms

EE Classrooms

Recent Articles

  • New automotive radar sensor enables reliable in-cabin monitoring system
  • TI breaks ground on 300-mm semiconductor wafer-fabrication plants in Texas
  • New wireless AR Smart Viewer reference design
  • Infineon launches scalable and wireless charging platform with configurable controllers
  • First single-core MPU with MIPI CSI-2 camera interface and audio

Most Popular

5G 555 timer circuit 8051 ai Arduino atmega16 automotive avr dc motor display Electronic Part Electronic Parts Fujitsu ic infineontechnologies integratedcircuit Intel IoT ir lcd ldr led maximintegratedproducts microchip microchiptechnology Microchip Technology microcontroller microcontrollers mosfet motor powermanagement Raspberry Pi remote renesaselectronics renesaselectronicscorporation Research samsung semiconductor sensor software STMicroelectronics switch Technology vishayintertechnology wireless

RSS EDABOARD.com Discussions

  • A circuit that can adjust a resistance and probing a voltage node
  • DC to DC buck converter
  • A circuit that can probe 2 currents and adjust the resistor
  • Microsoft Project 2019 dependencies
  • MOSFET ORing circuit simulation (LTspice)

RSS Electro-Tech-Online.com Discussions

  • Enclosure sought
  • Need help using a common power supply for two devices
  • Fletcher's Law
  • Setting the 18F24K20 to digital.
  • Multistage BJT amplifier
Engineers Garage
  • Analog IC TIps
  • Connector Tips
  • DesignFast
  • EDABoard Forums
  • EE World Online
  • Electro-Tech-Online Forums
  • Microcontroller Tips
  • Power Electronic Tips
  • Sensor Tips
  • Test and Measurement Tips
  • 5G Technology World
  • About Us
  • Contact Us
  • Advertise

Copyright © 2022 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 | Advertising | About Us

Search Engineers Garage

  • Projects and Tutorials
    • Electronic Projects
      • 8051
      • Arduino
      • ARM
      • AVR
      • PIC
      • Raspberry pi
      • STM32
    • Tutorials
    • Circuit Design
    • Project Videos
    • Components
  • Articles
    • Tech Articles
    • Insight
    • Invention Stories
    • How to
    • What Is
  • News
    • Electronic Products News
    • DIY Reviews
    • Guest Post
  • Forums
    • EDABoard.com
    • Electro-Tech-Online
    • EG Forum Archive
  • Digi-Key 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
  • EE Resources
    • DesignFast
    • LEAP Awards
    • Oscilloscope Product Finder
    • White Papers
    • Webinars
  • EE Learning Center
  • Women in Engineering