Hi guys. I'm working on an Arduino Car project that can follow line and detect obstacles. My car can follow the line, there is no problem up to here. But I have some problem about detect obstacle. Because the obstacles are always moving periodically up and down, non stop. Here is my codes;
Or can I do this with MZ80? Which one is better, Mz80 or HCSR04 to pass the moving gates?Because my car must pass the gate at the first moment when there is no obstacle. Is it possible to count the close and open gate numbers and after last one, passing the gate with Mz80?