To install the Snake Robot project, follow these steps:
Clone the repository into any desired folder using the following command:
git clone https://github.com/djetshu/snake_robot.gitAfter cloning the main repository, complete the cloning process for the submodules, which are the Arduino Libraries used in this project. Run the following commands:
git submodule init
git submodule updateCopy and paste the Arduino libraries located in your_path\snake_robot\libraries to the Arduino libraries directory, typically found at C:\Documents\Arduino\libraries.
The motor_encoder_interrupt_pid script controls two position motors for orientation purposes through the Serial Terminal. It incorporates feedback from encoders and utilizes a PID controller to manage position. The pins utilized are aligned with the PCB's.
Click the image above to view a test video demonstrating the Snake Robot in action.