Coder Social home page Coder Social logo

ambrsb / sleeptracker Goto Github PK

View Code? Open in Web Editor NEW
4.0 2.0 0.0 10 KB

ESP8266, Arduino, and Raspberry Pi-based realtime motion tracking for collection of body movements during sleep.

License: BSD 3-Clause "New" or "Revised" License

C++ 100.00%
sensors arduino raspberry-pi wireless wearable health dataset sleep-tracker sleep-analysis accelerometer

sleeptracker's Introduction

[ Ongoing Project ]

SleepTracker

Description

ESP8266, Arduino, and Raspberry Pi-based realtime motion tracking for collection of body movements during sleep. The goal of this project is collection of data from body-worn sensing units to:

  • create a large dataset of body movements during sleep for use by researchers
  • make a low-cost system for detection and classification of sleep stages

Architecture

I will implement this project via two different architectures:

  1. Based on Arduino nano (and LilyPad) + nRF24L01 radio modules for sensors, and also a Raspberry Pi + nRF24L01 radio on the receive side.

image

  1. Based on ESP8266 module which has on chip integrated WiFi through which we can share data over a TCP/IP network.

image

Location of sensors

  • Two wrists
  • Two ankles

Electronics

Sensors

  • 3-Axis Accelerometer (ADXL345) operated on ranges of +/-4g and +/-16g
  • SODIAL(R) Pulse Sensor

Collector Schematic

image

Dataset Attributes

Age, Gender, Weight, Height Timestamp, HR Right Wrist AccX-4g, AccY-4g, AccZ-4g, AccX-16g, AccY-16g, AccZ-16g Left Wrist AccX-4g, AccY-4g, AccZ-4g, AccX-16g, AccY-16g, AccZ-16g Right Ankle AccX-4g, AccY-4g, AccZ-4g, AccX-16g, AccY-16g, AccZ-16g Left Ankle AccX-4g, AccY-4g, AccZ-4g, AccX-16g, AccY-16g, AccZ-16g

Main Electronic Components

  • Arduino Nano
  • LilyPad Arduino
  • Raspberry Pi 3 Model B
  • Accelerometer (ADXL345)
  • SODIAL(R) Pulse Sensor Heart Rate Sensor Heart Beat PulseSensor for Arduino Raspberry
  • nRF24L01 Single Chip 2.4 GHz Radio Transceiver
  • WINGONEER XL4016E1 DC Voltage Regulator
  • 9V/1A AC/DC power adaptor
  • CJMCU Mini USB Power Module
  • MPU9250 SPI/I2C 9-Axis Gyro Accelerator Magnetometer Module
  • TinyRTC module based on DS1307 for clock + CR1225 battery

sleeptracker's People

Contributors

ambrsb avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

sleeptracker's Issues

Any update on this project?

Hi,

I have a similar projet than yours, but using a pinetime (inexpensive smart watch) app in micropython on wasp-os.

I don't even have the smartwatch yet and am quite busy but was still wondering if your project succedded or not :)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.