An open API service indexing awesome lists of open source software.

https://github.com/redetection/bathroom-light

Automatic light control in the bathroom
https://github.com/redetection/bathroom-light

arduino home-automation led-strips smarthome

Last synced: 13 days ago
JSON representation

Automatic light control in the bathroom

Awesome Lists containing this project

README

        

# Automatic LED light in my bathroom [![Build Status](https://travis-ci.org/ReDetection/bathroom-light.svg?branch=master)](https://travis-ci.org/ReDetection/bathroom-light) #

It's so much useful so I even removed regular bulb — it became redundant.

## Features ##


  • Automatic night mode 😴 (When it's dark in the apartment — turn on with 1% power)

  • On motion detection trigger for N minutes (prolongation works)

  • Buttons to change brightness or add 10 more minutes

  • Automatically fades in and out

  • Display how much time left

  • Covered with tests! 🚀

  • Modular source code 🔥

![Breadboard](schematics/schematics_bb.png)

## "I have another microcontroller!", "I have Arduino board instead"... ##

It's okay. This code was initially written for Arduino Nano and later moved to single ATMega8 processor. Every Arduino should work fine, just change pins definition and you're done. It should be even compatible with ATTiny processors.

## Dependencies ##

* [SevSeg](https://github.com/DeanIsMe/SevSeg) for easy seven segment display operation

## License ##

MIT