Skip to content

tomasero/openSleep

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenSleep

The development of the hardware and software for this system started and most of it was done during my first semester at the Fluid Interfaces Group of the MIT Media Lab. This technology was used for many projects, Dormio being the most notable. This project is part of a larger iniatiative called Engineering Dreams, which seeks to build technology that interfaces with the sleeping mind.

Dormio


The following is deprecated. We are about to release a new tutorial. Thanks for your patience!


Hardware

Components

Qty Value Device Where
2 .1uF CAP_CERAMIC0603 Digikey: 399-1095-1-ND
1 1uF CAP_CERAMIC0603 Digikey: 399-5090-1-ND
1 1K R-US_0503 Digikey: YAG1237CT-ND
2 100K R-US_R0603 Digikey: YAG1235CT-ND
3 1x2 1X2-SMD-HEADER Digikey: S1113E-36-ND
1 1x3 1X3-SMD-HEADER Digikey: S1113E-36-ND
1 1x5 1X5-SMD-HEADER Digikey: S1113E-36-ND
1 RFD22301 Digikey: 1562-1016-ND
1 SPDT SLIDE-SWITCH Digikey: 401-2014-1-ND
1 Color LED-1206-SMD Digikey: 516-1436-1-ND
1 HR-SENSOR Adafruit: 1093
1 FLEX-SENSOR Adafruit: 1070
2 EDA-ELECTRODE-CABLE OpenBCI
2 EDA-ELECTRODE OpenBCI

PCB

Design

Schematic

Schematic

Layout

Layout

Fabrication

You can either mill the PCB yourself using a CNC mill, or buy one from a PCB manufacturer.

Mill it

The original PCB for Doormio was made using a Roland MDX-20. All the PNG files used to mill the board can be found in the following folder:

/hardware/PNG
Order it

Oshpark!

Software

Web App

Run the app:

node web_app/app.js

Open the app:

http://localhost:3000

Mobile App

Acknowledgements

Adam Horowitz led the experiment design and execution to validate the system, Oscar Rosello the interaction and form factor, and Eyal Perry the iOS app development, signal processing and classification (and great mustache). Matthew Ha continued the development of the iOS app and analysis of biosignals for sleep staging.