Skip to content

DIY Arduino Clone of DowDow Sleep Meditation Machine

Notifications You must be signed in to change notification settings

yknivag/Arduino-Dodow-Clone

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 

Repository files navigation

Dowdow Arduino Clone for sleep meditation.

Based on https://github.com/gary909/Dodow-Clone from https://www.instructables.com/id/DIY-Dodow-Clone-Arduino-Sleep-Meditation-Machine/

The purpose of the Dowdow is to progessively slow breathing, the user breathes in as the light gets brighter and out as it dims. Each breath gets slightly longer until the target respiration rate is acheived.

The commercial Dowdow device slows the breathing from 11 breaths per minute to 6 breaths per minute over a period of 8 minutes.

This clone allows the initial breathing frequency, target breathing frequency and the duration of the slow down to be set with three potentiometers. PLEASE NOTE The values of these potentiometers are only read once before the sequence begins - the code will not re-calculate on-the-fly. To change the settings, set the values you require and then reset the board to start the sequence again.

Breathing is reduced over "DEFAULT_REDUCING_TIME_PC"% of the selected run time and the remaining time is constant at the target rate.

Default frequencies, run-time and extended-time can be set sing the defines at the head of the sketch.

Wiring

  • To use the variable start frequency; a potentiomenter should be connected with one side to 5V, the other side to GND and the middle to which ever pin is defined in "INITIAL_FREQUENCY_PIN". Should this feature not be required, comment out the the line "#define INITIAL_FREQUENCY_PIN".

  • To use the variable target frequency; a potentiomenter should be connected with one side to 5V, the other side to GND and the middle to which ever pin is defined in "TARGET_FREQUENCY_PIN". Should this feature not be required, comment out the line "#define TARGET_FREQUENCY_PIN".

  • To use the variable run-time; a potentiomenter should be connected with one side to 5V, the other side to GND and the middle to which ever pin is defined in "DURATION_PIN". Should this feature not be required, comment out the line "#define DURATION_PIN".

  • A switch can be added to pin "NIGHT_MODE_ENABLE_PIN" which will reduce the brightness of the LED by a percentage set in the #define "NIGHT_MODE_PC". If no switch is to be connected, comment out the line "#define NIGHT_MODE_ENABLE_PIN".

  • An LED (with appropriate resistor) should be connected to the pin set in "LED_PIN" (this must be a PWM output, labelled as ~ on most Arduino boards). If using more than one LED for brightness then connect this pin to a transistor or mosfet and connect the LEDs to that.

About

DIY Arduino Clone of DowDow Sleep Meditation Machine

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 100.0%