Hello guys
I am working on a program for a line follower with infrared sensors. now i want to use a counter that at one moment arduino turns right at a certain value and then counts right at the next value. now I also have a problem with a 90 degree turn, in the program it is not difficult but I have the same value sensors when I drive on the 8 lane and have to turn right while there is already a code in it that the arduino at that value must turn left. how can i solve this? can someone give me a hint or a nudge in the right direction?
Please edit the topic title and translate it to English
Show us your current code, otherwise we can't give you any useful hint.
do you mean you want the measure the time(?) between course adjustments?
what do you mean by "8 lane"?
shouldn't you have a pair of infrared sensor, side by side which when the one on the left becomes active because it sees "white" instead of the "black" line causes a turn to the right and turns to the left when the right sensor sees "white"
is this a simple line following robot? in the other thread you mention 5 sensors?
Yes, ist a simple trial with a white line that go’s in a 8, nut 1 time it have to go to the left to make the 8 circle and the otter time it have to go to right, off the 8 circle en follow the other line to go straight
are you sure?
if the line is black, don't you always want to turn toward the the non-active sensor?