Introduction: Controlling Motor Using LDR

Picture of Controlling Motor Using LDR

The idea is making Line Follower Robot by using LDR

LDR defines light resistivity and differentiate between white and black (TM1).

Voltage drop between LDR and R1 is used to trigger base of transistor (2N222) to allow motor movement on jumpers (J1, J2)

,When LDR< R3 motor will switch on ( white space)

When LDR> R3 motor will be off ( black lines)

JP4 for power (+12V)
JP3for Ground

Using two circuits with two motors will be enough for making Line follower Robot

Step 1: Board Layout

Picture of Board Layout

On eagle software after drawing the schematics, open board layout, add routes to the components and board border

Step 2: PNG Files

Picture of PNG Files

Extract PNG file for bottom layer, pads, dimensions and vias ... mirror the image

Extract another PNG file for only pads, dimensions and vias .... mirror image then switch white and black colors

Now the files are ready to be manufacutred on Modela Machine then Soldered


Vardhanbatavia007 (author)2017-02-06


Hi, RashaH

I am a student of class 11 and I am trying to make a similar circuit but I dont have modela machine or one like that so can you please help me out in building such a circuit on breadboard. It will be a great favour if you can help me out...........


RashaH (author)Vardhanbatavia0072017-02-10


sure it can be easily done with breadboard. just make the exact connections on breadboard using jumpers and it should work

About This Instructable




Bio: I'm a mechatronics engineer. I'm into mechanics, electronics, CAD, any engineering discpline pretty much :D My hobbies is to cook, read and practice ...
More by RashaH:3d Filament ExtruderEgyptian ShorekControlling motor using LDR
Add instructable to: