Health and Security Cloud System - Digilent Design Contest 2015

Introduction: Health and Security Cloud System - Digilent Design Contest 2015

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

- 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.

Step 8: Files and Documentation


Be the First to Share


    • Organization Challenge

      Organization Challenge
    • Block Code Contest

      Block Code Contest
    • Crafts For Kids Challenge

      Crafts For Kids Challenge



    Question 1 year ago on Step 1

    Great project very good innovation but please when the device detects that the human is inactive how is it going to make the human active?


    5 years ago

    Great proiect! Keep going on!


    7 years ago on Introduction

    This is a cool idea! FUrthering the accecibility of health monitoring is a great idea!


    7 years ago on Introduction

    A good device that can help persons monitoring their cardiac activity and also doctors checking pacients status without a "face to face "meeting!Great job people,all support!


    Reply 7 years ago on Introduction

    Tank you for supporting this project. If you have any questions, or implementation ambiguities, don't hesitate to contact me.


    7 years ago on Introduction

    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 :)


    7 years ago on Introduction

    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 .