Forum >Help with Line Tracking Robot
3D PrintingGeneral

Help with Line Tracking Robot

userHead Account cancelled 2015-05-29 08:10:34 4420 Views1 Replies
I was put on a project by my boss to assemble and code a robot that is able to follow a line across the facility. I have everything installed, however, I am very lost on how to go about the line tracking. I only have two DF Robot Line Tracking Sensors for Arduino. Am I supposed to have three? I am very new to this and need to get it done as soon as possible. I have everything set up with a Hercules Dual 15A 6-20V Motor Controller with a UartSBee V4 and I have four motors connected to it. I have already downloaded Arduino and have experimented with simple codes to make it move forwards and backwards. I just need to know know is how to go about the line sensors, and how to code it so that it will follow a line.
2015-05-30 02:11:45 Hi,

line track is not new , you may find a lot project on the web. ;)

and since you have two sensors, I draw a little picture to show the idea:


if SENSOR A detect line, turn left a little, if B detect line, turn right a little. Vesy simple.

Note:
1 sensor using method could be found from the wiki tutorial at the product page.( For most product )
2 the coner angle( the turning point) of the line should be less than 90 degree.

Hope to help! :)
userHeadPic Leff