In this article we will learn how to interface Arduino with LDR and servo motor.
In the last post we learn about how to interface arduino interfacing IR Remote And Four Relay Module.
,you can visit our website ,
Now a days I’m busy in giving interviews that’s why there was a little delay of making the projects ,I hope you appreciate my work ,lets discuss about today’s project.
- Solar Panel (1)
- LDR (2)
- Servo Motor (1)
- Arduino Nan (1)
- Resister 10k (2)
- 9V Battery (1)
- Toggle Switch (1)
- Connecting wire’s (as req.)
Connect negative terminal of battery to GND point of arduino nano.
Connect Positive terminal of battery to VIN point of arduino nano.
Connect both LDR 1, 1 point and then connect them to 5V point of arduino nano.
Connect the GND point of arduino to remaining points of LDR with 10K resister.
Connect the common point of LDR1 and resister to point of A0 of arduino.
Connect the common point of LDR2 and resister to point of A1 of arduino.
Connect the positive point of servo motor to 5V point of arduino.
Connect the negative point of servo motor to GND point of arduino.
Connect the yellow wire of servo motor to digital pin D3 of arduino.
Dress up the wire’s clean and tidy.
After connecting all the components, press the toggle switch, then servo motor will reset on its original position.
When the sun light spot on East side LDR then servo motor moves the panel toward the sun light.
As per, when the sun moves towards the west side LDR, then servo motor moves the panel towards the sun.
- Utility-Scale farms.
- Commercial and industrial installation.
- Residential solar system.
- Off-grid application
- Agricultural and farming operations.
- Research and testing.
- Emerging markets.
- More productivity
- Simple & Eco-friendly Energy
- Land Optimization
- Easy Monitoring