A simple project that I made to control my outdoor lights when it's dark outside.
The project was designed to be controled by a motion sensor or a RC remote.
Motion sensor here is for detecting a person or a car moving around yard in order to switch on the lights. For practical reasons, the duration of how long lights are on is fully based on motion sensor output. Light intensity on which motion sensor starts detecting objects and the duration can be set directly on the sensor itself, so there was no need to include it in code.
There are two light rails on my yard (under a shed and on a terrace) which I can control individually by using RC remote, or both rails are powered when an object is detected by a motion sensor.
- CC1101 433 MHz RC Module
- Arduino Nano
- Double channel relay module
- Outdoor PIR motion sensor
- Some voltage regulators and breakers
This was one of my first practical projects on Arduino that I actually use on a daily basis. I made it in November 2020, but uploaded on GitHub in 2022.