5. Remote Control
======================
In this project, you will learn how to control the Zeus Car with the remote control.
.. raw:: html
.. raw:: html
**How to do?**
#. 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.
.. image:: ../img/unplug_cam.png
:width: 400
:align: center
#. Open the ``5_remote_control.ino`` file under the path of ``zeus-car-main\examples\5_remote_control``.
.. raw:: html
#. After the code is uploaded successfully, turn the power switch to ON to start the Zeus Car.
#. Then use the 1~9 on the remote control to control the car in 8 directions.
.. image:: img/ar_remote_control.png
:width: 600
:align: center
#. After pressing a key, the Zeus Car will keep moving until you press |ir_power| or the number key 5.
.. image:: ../img/zeus_move.jpg
:width: 600
:align: center
#. When you press |ir_return| once, the car will rotate counterclockwise with the body as the center and will stop until you press |ir_power| or the number key 5.
.. image:: ../img/zeus_turn_left.jpg
:width: 600
:align: center
#. Similarly, pressing |ir_usd| once will make the car rotate clockwise, and then it will stop until you press |ir_power| or the number key 5.
.. image:: ../img/zeus_turn_right.jpg
:width: 600
:align: center