Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
code is always dependent on the hardware used. so how can we give you code ... further more you should first have some reading and searching on the forum about speed control , then you can ask what you didn't understand or even you can ask for help in coding but at-least you should have done something!
i want to make line follower robot,i have control speed of single motor.i want to know what changes needed to control two motors and which snesor i should use IR, LDR or photodiode.