Photoresistor (LDR)
source: Photoresistor (LDR)
luminous intensity...
Life has become much easier nowadays, and it has become possible to control everything remotely or to control it automatically.
An LDR is a component that has a (variable) resistance that changes with the light intensity that falls upon it.
free web app for 3D design, electronics, and coding
Material used for 3D Printing
Sketching, Modeling and Assembling parts
Sketching, Modeling and Assembling parts
Machine Used for 3D Printing
Sketching, Modeling and Assembling parts
Machine Used for 3D Printing
Machine Used for 3D Printing
We design the desired circuit on TINKERCAD to keep the components safe and make sure that the electronic circuit is built correctly.
Coded By Code Blocks Technique :D
Read the sensor analog value from pin A0.
Then, print it on the serial monitor.
Set Pin 9 to be in the range of 0 to 255 recording to the sensor value
As shown in the video above, when approaching or moving away from the sensor, the resistance changes automatically, and thus the intensity of the LED lighting changes
We implemented the desired circuit on Breadboard carefully after we have simulated it on TINKERCAD to keep the components safe and make sure that the electronic circuit is built correctly.
We simulate the desired circuit on TINKERCAD to check the working process of the electronic circuit is correct or not.
Problem: I faced a very tiring problem, which is adjusting the sensitivity of the light by analogy with the resistance of the sensor.
Solution: A small resistance must be placed in order for the LED to light up strongly and the difference in illumination appears in proportion to the difference in the resistance of the sensor.
Manual Mode: using potentiometer
Automatic Mode: Using Ultrasonic sensor