Skip to content

flroppy/DoorTransition

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DoorTransition

A small handy device that plays transition music anytime you walk through the door.

Features

  • Uses reed switch to detect door opening
  • Photoresistor to stop playing if it is too dark
  • Potentiometer to adjust light sensitivity
  • Potentiometer to adjust volume
  • Switch to hard turn off

Wiring

Wiring Diagram Uses a PAM8302 from adafruit to amplify the audio. Micro SD card reader holds all the song files.

Setup

After wiring, just load onto the micro sd card as many wav files as you like. They must be 8-bit, less than 32000Hz, and in PCM 8-bit unsigned file type. The files must be named #.wav were # is the number of the file starting at 0.

The Reed switch needs to be placed near the door with a magnet attached to the door. This way when the door is opened, the reed switch is no longer near the magnet and it gets activated.

There is also a potentiometer to adjust the light sensitivity and another to adjust the volume.

Future

This could be condensed more if I weren't using an arduino Uno and instead used just the Atmel chip.

About

Add transition music to your door.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages