Im new to the whole arduino thing and in need of a bit of help. For a school project i have a nitro rc car that i want to control itself. I have an Arduino Mega and need help with choosing what sensor is best suited for trailing a solid black line and help programming it. All i need is the single servo i have to be controlled by the line. Any help or guidance would be much appreciated!
What you need is a light sensor, you calibrate it (take some readings on white, some on black) then turn the car back and forth a little to detect a line cross and stay near it, or if its a wider line then find the edge and get inside it, making small turns to get back when you cross the edge.
7th graders do this with Lego Mindstorm robots, is not that once you figure out your steering and get away from overcontrolling the turns.
I see and i asume i can me some sort of sensor bar using LDR's?
I have made a lego mindstorms line follower before, but for this project i decided to step up to arduino for the first time.
At the moment im looking for some code to work with, and figuring out how to set this thing up.