项目作者: syk-yaman

项目描述 :
A smart tool for home & office to control lighting autonomously
高级语言: C
项目地址: git://github.com/syk-yaman/smart-led.git
创建时间: 2018-04-24T21:13:28Z
项目社区:https://github.com/syk-yaman/smart-led

开源协议:

下载


Smart LED

An AVR board to control home lighting autonomously. It provides automatic control of LED lighting (12vdc) according to:

  • Time schedule: active during daily work time except for holidays.
  • People movement: turning on lighting automatically when sensing movement using a PIR extension.
  • Electric supply status: provides auxiliary lighting when needed (in case of a power outage).
  • Illumination level sensing: no need to turn on the lighting when there is enough lighting.

Also providing manual control:

  • Directly using onboard buttons.
  • Remotely using an infrared remote control (RC5 based).

Cover

Specifications

Inputs:

  • 12v DC power supply.
  • 220v AC (power detection).

Output:

  • 12v DC power supply for LEDs.

Schematic:

Schematic layout

Main parts:

  • ATmega 8A
  • DS1307 RTC
  • PIR module (link)
  • 5v DC Relay
  • Infrared receiver

See BOM for further details.

Development

Required tools:

  • Atmel Studio
  • Autodesk Eagle
  • A brain

BE AWARE OF ELECTRIC SHOCK, 220V POWER SUPPLY SHOULD BE TAKEN SERIOUSLY. PLEASE TAKE SAFETY MEASURES FIRST

License

The software side is licensed under MIT License
  1. MIT License
  2. Copyright (c) [year] [fullname]
  3. Permission is hereby granted, free of charge, to any person obtaining a copy
  4. of this software and associated documentation files (the "Software"), to deal
  5. in the Software without restriction, including without limitation the rights
  6. to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  7. copies of the Software, and to permit persons to whom the Software is
  8. furnished to do so, subject to the following conditions:
  9. The above copyright notice and this permission notice shall be included in all
  10. copies or substantial portions of the Software.
  11. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  12. IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  13. FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  14. AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  15. LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  16. OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
  17. SOFTWARE.
The hardware side is licensed under CERN License
  1. This documentation describes Open Hardware and is licensed under the CERN OHL v. 1.2.
  2. You may redistribute and modify this documentation under the terms of the CERN OHL v.1.2. (http://ohwr.org/cernohl). This documentation is distributed WITHOUT ANY EXPRESS OR IMPLIED WARRANTY, INCLUDING OF MERCHANTABILITY, SATISFACTORY QUALITY AND FITNESS FOR A PARTICULAR PURPOSE. Please see the CERN OHL v.1.2 for applicable conditions