In today’s era of illuminating devices, there are a wide variety of devices available in aesthetics but the none with variable intensity of light. Using the basic principle of polarization of light using a Polaroid filter or polarizer, the designing of a light intensity control was done.
The polarizing angle of the filter decides the intensity of the light that would pass through the filters. According to the principle of propagation of light, the electric and magnetic vibrations of a light wave occur perpendicularly to each other. A light wave that is vibrating in more than one plane is known as unpolarized light. The light emitted by the sun, by a lamp or a tube light are all unpolarized light sources.
The other kind of wave is a polarized wave. A Plane polarized light vibrates on only one plane. The process of transforming unpolarized light into the polarized light is known as polarization. Using the same principle and with the use of a LDR (light dependent resister) as a sensor to sense the intensity of the surrounding light and then rotate the polaroid filter sheets accordingly using a stepper motor for the required change in intensity.
The sensing and sending of feedback and subsequent rotation of the Polaroid filter sheets would be automated by ATMEGA32 microcontroller and L293D.
Introduction
I. INTRODUCTION
Due to inability to vary the incoming light intensity some obstructions have to be used and that makes it inefficient. Whereas if there is a possibility to vary the intensity for the same light source the efficiency and ease of use is more. The theory of polarization of light is used here where the two constituents of the light beam have vibrations perpendicularly and thus the same have different results upon polarization.
A LDR senses the surrounding light intensity, then using the feedback loop kind of concept sends the relevant information to the microcontroller that then rotates the Polaroid sheets with the help of stepper motor and gears to achieve the required result. We have thus tried to create a system that can also function as an intelligent window that automatically reacts to changes of the light intensity over the day and over the year.
II. OBJECTIVES
A. To design a Light Intensity variation project using Polaroids.
B. To understand Polarization and implement it in the project.
C. To be able write a program in Embedded C on microcontroller (ATMEGA32).
D. To understand ADC interfacing on ATMEGA32.
E. To understand working of Stepper Motor.
F. To study about motor driver (L293D) interfacing with microcontroller.
III. LITERATURE REVIEW
For varying the incoming light intensity some obstructions have been used and due to inability, it makes it insufficient. Here, the theory of polarization of light is used where the two constituents of light beam have vibrations perpendicular and thus the same have different results depending on polarization.
An LDR is used that senses the surrounding light intensity, then using feedback loop concept sends relevant information to microcontroller and rotates the polaroid sheet with the help of stepper motor, so that the light intensity automatically by sensing surrounding illumination and varying incoming light.
IV. WORKING MODULE
The LDR will sense the surrounding light and give the feedback to the microcontroller. According to it the microcontroller will give signal to motor controller, which will then rotate the stepper motor clockwise or anti-clockwise. This will rotate the gears and the Polaroid sheets which would affect the intensity of light as required.
Light Source – The light of the surroundings, like sunlight or street light or ambient light in the room.
LDR – Light Dependent Resister that converts the light into the electrical analog value.
Microcontroller – ATMEGA32
Motor Controller – L293D is used to increase the voltage and current ratings as microcontroller cannot provide enough current for the motor.
Stepper Motor – A bipolar stepper motor using 15° step angle is used to rotate in steps of 15°
Polaroid (*2) – Rotating one of the polaroids to vary the relative angle between the two polaroids will change the intensity of incoming light.
V. SOFTWARE
A. Proteus 8.11 Professional
Proteus is a proprietary software toll used primarily for electronic design automation. It has modules for schematic capture, simulation and PCB layout design. All PCB Design products include an auto-router and basic mode SPICE simulation capabilities. The 3D viewer module allows the board under development to be viewed in 3D together with a semi-transparent height plane that represents the board’s enclosure. STEP output can then be used to transfer to mechanical CAD software for accurate mounting and positioning of the board.
B. Atmel Studios
Atmel studio provides a complete set of features including file management, task management and version control integration (CVS), a C/C++ editor with syntax highlighting, navigation and code compilation, a debugger supporting run control including source and instruction level stepping and break point.
VI. FLOWCHART
When the program starts, the light first falls on the LDR, it checks whether the intensity of the ambient light is within the pre decided optimal range and if it is in the optimal range, a delay is being called and otherwise if the value is more than optimal range then the stepper motor will rotate in clockwise direction. The check for the ambient light intensity value is done again. If the value is not more than the optimal range, then it checks whether the motor is at the initial position. If yes it calls the delay function and the checking of the light intensity takes place. If it isn’t at the initial position, it rotates the motor anti clockwise and then the checking of light intensity takes place.
VII. RESULTS AND DISCUSSIONS
The LDR is a sensor which will detect the light intensity falling on it. To simulate the surrounding light intensity, we have used a torch that acts like a source of light. As the torch moves near the LDR, the LDR resistance goes on decreasing.
After the resistance decreases below a certain value, the signals sent to the stepper motor will be changed and that will be controlled by the Embedded C code Hex file. This change in the signal from Port C will excite different stators of the stepper motor, which will cause its rotation. When the light is less, the motor rotates in the counter clockwise direction, when it is bright, it rotates in the clockwise direction.
VIII. ADVANTAGES
A. Easy controlling of light in closed surroundings.
B. Energy saving
C. Versatile
D. Automated process
E. Obtaining variable light intensity for the same source.
IX. APPLICATIONS
A. In dark rooms or laboratories or factory areas
B. Greenhouse establishments
C. Airplane windows
D. Automated Curtain system in smart housing
X. FUTURE SCOPE
We can enhance the future scope of this device system by using IoT with the current design so that it can be completely automated and also used remotely. Our idea is unique because of its intensity variation. Thus, it would be able to achieve the goal in devices where it is required. For e.g., if the light outside is too bright the window shades down to keep interior temperature and brightness at a tolerable level. Using IoT based devices it can be easily automated to achieve ease and comfort.
XI. ACKNOWLEDGEMENT
We avail this opportunity to express our deep sense of gratitude to our Guide Mrs. Sonal Shirke for giving her valuable guidance and encouragement. We also acknowledge our gratitude and respect to Prof. Mr. P V Sontakke, Course Coordinator, Dr. M.T Kolte, HoD, E&TC and supporting staff members, who inspired achieve the goal. Last but not the least, we would like to thank our parents and peers who helped us directly or indirectly for success of our project.
Conclusion
We achieved the probable simulation of the system designed and were able to rotate the stepper motor using motor driver L293D and microcontroller AT328 and thus in a hardware manner we would be able to rotate the Polaroid sheets and then would achieve the varied intensity of light.
References
[1] Chair for Computer Aided Architectural Design (CAAD) and the Media Computing Group of RWTH Aachen University, Polarizing window, Multimodal Media Madness, 2014.
[2] D. Raja, Interfacing LDR with ATMEGA32P, Circuit Digest, 2015.
[3] E.H. Lang and J.S. Friedman, Polarizing Refracting Bodies, United States Patent Office, 1929 (Online) Available: https://patentimages.storage.googleapis.com/f5/39/88/6250fe3a185913/US1918848.pdf
[4] D. Raja, Light Intensity Measurement using LDR and ATMEGA8, Circuit Digest, 2015 (Online) Available: https://circuitdigest.com/microcontroller-projects/light-intensity-measurement-using-ldr-and-atmega8
[5] Polarizing Window, Instructables (Online) Available: https://www.instructables.com/Polarizing-Window/