loading

The purpose of this project is to help persons with heart deficiencies. In order to do this, the project is able to take the ECG signal from the body, to process it and send some samples to the cloud. Also the project is able to monitor the person activity(if the person is active / inactive or he has fallen down). All this information will be available to a doctor via Exosite cloud system.

Step 1: ​Bill of Materials

1. Digilent ChipKit WF32 microcontroller board

2. Digilent PmodACL

3. Digilent PmodENC

4. Digilent PmodOLED

5. Olimex ECG shield

6. Electrodes and cables

7. Plexiglas for support board (1/2 m^2)

8. Some wires

Step 2: How to Make the Support Board

The support board will hold all the components together and gives a brilliant design to the project.

With a drilling machine, abrasive tape and some basic tools, design the support board from plexiglas as you want.

After designing the support board, fix the components with screws on it.

Step 3: Encoder Debouncing

Because the encoder is a mechanical part, you need to debounce the signal of the encoder in order to obtain good results.

For this, solder two 100nF capacitors between A - GND and B - GND.

The button of the encoder is debounced by software.

Step 4: Wire Connections

Connect the ECG shield above the ChipKit microcontroller board.

Connect the display, the accelerometer and the encoder as in image above.

Step 5: Exosite Cloud (IoT)

- Make a new account on https://portals.exosite.com

- Add a new generic device and complete the alias with "hscs"

- Each device has its own CIK code. You will have to copy this code into the main program.

- Create 3 new data with aliases: "ecg", "person", "ecgDet" with data type "string".

- For each data create a custom widget and copy the javascript code I have attached in the last step.

Step 6: How to Upload the Program

- Download MPIDE from chipkit website and install it.

- Download and unzip the program attached below.

- Connect the chipKit WF32 board to a computer using a mini USB cable.

- From MPIDE tools menu select the board type and the serial port used by the board.

- From MPIDE File->Preferences->Sketchbook location, select the mpide directory from the downloaded archive.

- From MPIDE open the main program file located at: your downloaded archive->mpide->libraries->ECG->mainWF32->mainWF32.pde

- Using the upload button, download the program into the microcontroller

Step 7: Save Data to SD Card

If you don't have a WiFi router to connect to, the data can also be saved on a SD card. Place a FAT32 formatted card into the slot and restart the system.

Great proiect! Keep going on!
<p>This is a cool idea! FUrthering the accecibility of health monitoring is a great idea! </p>
<p>Thank you for the kind words.:D</p>
<p>A good device that can help persons monitoring their cardiac activity and also doctors checking pacients status without a &quot;face to face &quot;meeting!Great job people,all support!</p>
<p>Tank you for supporting this project. If you have any questions, or implementation ambiguities, don't hesitate to contact me. </p>
<p>Great idea for persons that don't want to stay in hospitals and want to be monitorized at home. And it will make the system of hospitals more fluent and the hospitals will not be so full of patients :)</p>
<p>Boys , this is a great idea in the future for patients immobilized or can not get to the hospital . Well done . I appreciate the work .</p>
<p>Thank you for your support. :)</p>

About This Instructable

2,001views

17favorites

License:

More by burlacu.eusebiu:Health and Security Cloud System - Digilent Design Contest 2015 
Add instructable to: