This project teach you how to make a Dark/Light level meter with arduino uno.
The project is mainly based on a LDR. When the light comes to the face of the LDR, the resistance of the same is changed. Then the A0 analog pin read the level of the resistance.
Meanwhile you can understand the reason why we have used only 6 LEDs. Because the arduino has only 6 PWM pins. If you want to change the brightness of a LED, you have to use only PWM pins.
As you aware the pin number 3, 5, 6, 9, 10, 11 are the PWM pins.
Addition, I have used one 10k potentiometer to change the sensitivity of the light.
The circuit Diagram is as follows
The wiring part is simple. Even you are a beginner to arduino, you can easily make this project as the code are too simplified for the beginners.
If you watch the following video, you may understand well about the building of this project.
Comments