Hi guys, I have a problem based on the picture below. (The number 1,2,… is the step which robot have to follow respectively.)
My question is how can I create a function that when robot detects white line and then it can turn right and also when it detects white line again it can turn left and when it detects again it can stop?
What exactly is an ATX2 board ? Link ?
What sort of detectors are you using ?
Atx2 is a library and I use zx 03 reflector as detectors.
More details please
Which Arduino board are you using ?
Link to the sensors ?
Link to where the library can be found ?
Does the library come with any examples and have you tried them ?
A drawing of how the sensors are mounted on the robot
A diagram of how the sensors are connected to the Arduino
When is our assignment due to be presented ?
ATX, ATMega644P @20MHz
It's from arduino version 1.7.11 and then there were options to be chosen, which I chose ATX2. I use 2 sensors in front of robot and robot has 4wheels
I attached the images of what you told me to send. But I can provided only 1 media per time as I am a new user. So I will attached in another comment

My assignment is due to Sunday, but I hope to finish as soon as possible.
If there are any information that I didn't mention, please tell me.

Please post your code.
This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.
