In this tutorial, we will see how to use sensor data to control a 5V relay connected to an Arduino. We will build a sample project that will turn on/off a lamp when the reading from a photoresistor crosses a threshold value. The project will also be able to turn a lamp on and off […]
View more at https://www.circuitbasics.com/how-to-control-lights-with-a-relay-and-arduino/.
Credit- Circuit Basics. Published by Department of EEE, ADBU: tinyurl.com/eee-adbu