15. Line Track Field Centric

A different type of tracer mode will be explored in this project - tracer movement with compass.

The experimental result is almost the same as 14. Line Track, however the head of the Zeus Car is always facing a fixed direction; in the previous project it changed with the line direction.



How to do?

  1. The ESP32-CAM and the Arduino board share the same RX (receive) and TX (transmit) pins. So, when you’re uploading code, you’ll need to first disconnect the ESP32-CAM to avoid any conflicts or potential issues.

    ../_images/unplug_cam1.png
  2. Open the 15_line_track_field_centric.ino file under the path of zeus-car-main\examples\15_line_track_field_centric.

  3. After the code is uploaded successfully, slide the power switch to ON to start the Zeus Car.

  4. Next, your Zeus car will move along the line, but with its head facing in one direction. If your Zeus Car goes off the line, it may mean that you need to recalibrate the 13. Grayscale, or turn down its speed.