Photosensitive Timing Infrared LED Control System Based on Arduino

by ICStation in Circuits > Arduino

2979 Views, 20 Favorites, 0 Comments

Photosensitive Timing Infrared LED Control System Based on Arduino

16.png

ICStation Team introduce you this Photosensitive timing infrared LED control system. This system uses DC5V voltage to work.When the intensity of light is weak and somebody appears in the infrared area, the LED will be on. While the intensity of environmental light is strong enough or nobody appears in the area of infrared induction, the LED will be off. The 4-bit digital tube will display the time.The buzzer will alarm for 20 seconds during the 24 o’clock at midnight.And from 24 o’clock to the 8 o’clock in the morning is the manual control.It is a simple, low-cost LED control system. It is suitable for the illumination in the area such as office, warehouse, guard room.

Functions

1) When start up, the hardware initialized and the LED will flash. The 4-bit digital tube display the initialized time 23:59.

2)When nobody appears in the infrared induction area, the LED will not light.

3)When the intensity of environmental light is weak and somebody is appearing in the infrared induction area, the LED will light till the person leaves the infrared induction area.

4) On 24 o’clock at midnight, the buzzer will alarm and the LED will switch to the manual control till 8 o’clock in the morning.

5)You can set the time by the switches.

Code for your reference:

http://www.icstation.com/newsletter/eMarketing/Photosensitive_Timing_Code.txt

Components List

1.png

Schematic Diagram

2.jpg
3.jpg

Lead to the Power Supply Line and GND

4.png

Plug the +5V power supply line and GND from ICStation Mega into the bread board.The red bread wire is the power supply line and the black bread wire is the GND

Connection of 4-bit Digital Tube

5.png
6.png

According to the schematic diagram, connect the 4-bit digital tube with ICStation mega.

The Connection of the Buzzer

7.png
12.png

1.Put the buzzer on the bread board

2.Connect the pin 1 of the buzzer to the anode, and pin 3 of the buzzer to the cathode, the pin 2 of the buzzer to the pin 47 of ICStation Mega board.

The Connection of the Infrared Receiving Tube

9.png
10.png

1.Place the infrared receiving tube on the bread board

2.Connect the pin 1 of the infrared receiving tube to the 220K current-limiting resistance and A3 pin fo the ICStation Mega. Connect the pin 2 of the infrared receiving tube to the cathode and pin 3 of the infrared receiving tube to the pin 51 of ICStation Mega

The Connection of Photoresistance

11.png
8.png

1.Place the photoresistance on the bread board

2.Connect the pin 1 of the photoresistance to the GND, and pin 2 of the photoresistance to the A2 pin of the ICStation Mega, and connect a 220K resistance in series.

The Connection of LED

13.png

Connect the pin 1 of LED to the A5 and pin 46 of the ICStation Mega , and connect the pin 2 of LED to the cathode.

The Connection of Switches and 1K Current-limiting Resistance

14.png
15.png

1.Place four switches and 1K current-limiting resistance on the bread board.

2.Connect the pin 1 of all four switches to the +5V, and pin 3 to the GND. Connect pin 2 of the hour switch to the A4, and connect pin2 of minute switch to A1;connect the pin2 of +/- switch to A0; Connect the pin2 of on/off switch to A6

The Experimental Effect

16.png

Video to Show the Effect

Tutorial for Arduino ▶8 Photosensitive Timing Infrared LED Control System