Arduino code using eHealth plaform to collect human data & send data to MATLAB through serial communication
- Arduino Uno R3
- Arduino IDE 1.6.5 R5
- eHealth library for Arduino V2.4(July, 2015)
- Arduino mthread library for multi-thread programming(https://github.com/jlamothe/mthread)
- MATLAB R2015b
- USB serial communication
- HC-06 Bluetooth Module for Arduino
- ECG
- Airflow
- Body temperature
- Galvanic skin response
- Body position
- Pulse
- O2 saturation
- arduino_mthread_ehealth.ino: This is a sketch file that can be uploaded to Arduino. (for both Serial and Bluetooth)
- arduino_ehealth_serial.m: This is a MATLAB file to receive data via Arduino USB serial.
- arduino_ehealth_bluetooth.m: This is a MATLAB file to receive via from Arduino Bluetooth HC-06.
This project is conducted by
Sangjun Han (hjun1008@gmail.com), Bio-Computing Lab, Gwangju Institute of Science and Technology, South Korea
for Sleep Stage Classification using brain and bio signal
You can modify sleep_miili to adjust sampling rate for each sensor! (In my case, it follows AASM standard)
1 cell(epoch) represents 30sec