Skip to content

zdila/led-lamp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Motion and light controlled LED lamp

Features

  • smooth light fade-in and fade-out
  • power saving features:
    • light turned off when no motion is detected
    • light turned off on ambient light presence
  • adjustable ambient light and movement sensor sensitivity
  • movement sensor in retriggering mode
  • USB rechargeable

Components

Connecting components

  • connect battery to USB charger which is also providing the power (+/-)
  • connect Arduino to power
  • connect Photoresistor Light Detection Sensor Module to the power and to Arduino PIN 4
  • connect PIR Sensor to the power and to Arduino PIN 3
  • connect LED via 10R resistor from MOSFET drain to LED and
  • connect + to LED anode via 10R
  • connect LED cathode to MOSFET drain
  • connect MOSFET source to -
  • connect MOSFET gate to Arduino PIN 9
  • connect 10M to MOSFET gate and -

About

Motion and light controlled LED lamp

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Other 100.0%