Arduino Projects Vol-I: With Proteus Simulation Files. Don't just read it, Try it... by Manoj Thakur

Arduino Projects Vol-I: With Proteus Simulation Files. Don't just read it, Try it... by Manoj Thakur

Author:Manoj Thakur [Thakur, Manoj]
Language: eng
Format: azw3
Published: 2016-06-26T16:00:00+00:00


Figure 7.2: LDR Sensor

A photoresistor (or light-dependent resistor, LDR, or photocell) is a light-controlled variable resistor. The resistance of a photoresistor decreases with increasing incident light intensity; in other words, it exhibits photoconductivity.

Figure 7.3: Automatic Light Controller Circuit

7.3 Automatic Light Controller Arduino Code

/*

circuits4you.com

Day night Switch with Occupancy Sensor (Automatic Light Controller)

*/

const int RELAY=12; //Lock Relay or motor

//Key connections with arduino

const int on_key=3;

const int off_key=2;

int counter=0,manual=0;



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.