Light tracking system using Arduino

Dhiyaa Maharani
4 min readJan 19, 2024

--

Concept

Light is something that cannot be separated from the life of living creatures
on earth. Light is a source of energy for every living creature. Therefore, light is very important for life in particularman. Nowadays, many things use light in their performance system, but the system may not be optimal because sometimes the light is not constant so the light intensity cannot be utilized also reduced. To make maximum use of light, a system can be created which can determine the direction of the light source, so that it can help the system others can follow the direction of the light. In this way, it is hoped that the use of light will be maximized.

Design

Block Diagram System
Schematic System

Method

Flowchart System

The working principle of this tool refers to the concept of searching optimal lighting to get the right light intensity maximum. In creating this system we divided it into 3 parts namely input, process and output. As we know, by using LDR Sensor can measure light intensity values detected by the sensor. After that, we use Potentiometer to regulate the voltage and resistance on the circuit so that the system is stable and a Push Button for
generates an interrupt to reset the running system. In Arduino Uno R3 we carry out the process already we design a flowchart that connects input and output in such a way as to get the desired output. The output is a Servo Motor that moves the sensor The LDR is connected to the light source and displays the data enter via LCD or Liquid Crystal Display.

Implementation

The project has been created in a system that is able to detect where the direction is the light in the surrounding environment will work after being set to The program uses the Arduino IDE with existing source code
attachment to this report. After going through several trials, the program can implemented in hardware namely Arduino Uno R3 equipped several components are connected to each other in a breadboard and packaged inside Home made boxes from cardboard boxes. Arduino Based Light Tracking System can be used in any room there is light so that the LDR sensor can detect the presence of light detected, in addition, when the sensor is able to detect the presence of light, This can be done by stabilizing the detection of incoming sensors, such as the ADC value The input can be more stable and the movement of the servo can be greater
stable. To make it easier to read changes in position and angle from the Arduino Based Light Tracking System, the LCD is used as display for the user, so the user does not need to know how much change from Arduino Based Light Tracker via Arduino IDE, so just through the LCD.

Prototype System

Experiment

Set the first second → set the servo direction at a horizontal angle of 0 degrees and vectical 45 degrees; The loop reads if there is a voltage difference across the sensors LDR. if there is a change the servo will move the LDR towards the sensor the voltage is smaller; Interrupt → if button is pressed then, will performs recalibrate i.e., prints the string ‘Re calibrating…’ and commits swipe right left, up and down on the sensor and return to the starting position (0 de horiz, 45 der vert).

Conclusion

Project that requires several components and systems programs that have been arranged according to the required functions and features, so you can find out how the photoresistor or LDR sensor works in identifying incoming light. After the sensor detects In the presence of light, the servo will work to follow the direction of the light incoming and output or expected output is the size of the data resistance value.

--

--