/ICU-monitoring

A 2-step system for connecting multiple wearables in multiple ICU rooms to the main server.

Primary LanguageJavaScript

ICU_monitoring

Connect the two bluetooth modules as a master and a slave using this link

For the Arduino circuit there is a DHT (temperature and humedity sensor on pin 2, in addition to two LEDs on pin 12, 13 indicating the turned off readings

Create database using MongoDB

Download MongDB

From here

Use MongoDB Shell (mongosh) in Compass or use terminal with next commands

mongo
use patient_data( yourDB_name)
db.vital_signs(your collection_name).insertOne({ "_id": "1", "temp": ["47, 46, 48, 39"], "pressure":  ["47, 46, 48, 39"] });

Get your own IP address by using cmd of your device and type

ipconfig

then make sure to change the existing IP in 'slave_server_esp.ino' in (/slave_server_esp) directory

  • Make sure to change IP adress and SSID & password in the arduino code first

Run Server

python monitoring_server.py

In react directory for the application interface

install components

npm install
npm start