This program controls the MR.2 robot using an Arduino Mega microcontroller board. It uses various libraries such as Servo, Keypad, LiquidCrystal_I2C, and Wire to interact with the robot's hardware components, including the Two servos for each leg responsible for controlling the robot's movement.
Developed from Arduino_Mega_Quadruped_Robot_Control But not used for competition 2020
To run this program, you will need an Arduino Mega board and the following hardware components connected to it:
- Two servos for each leg
- Keypad module
- LiquidCrystal_I2C module
- Install the Arduino IDE on your computer.
- Clone or download this repository to your local machine.
- Open the MR2_Robot_Controller.ino file in the Arduino IDE.
- Compile and upload the code to your Arduino Mega board.
- Connect the hardware components to the Arduino Mega board as per the instructions.
- Power on the Arduino Mega board and the MR.2 robot.
- Use the keypad to enter the desired command (1-*) all of keypad for the MR.2 robot.
- Watch as the robot moves according to the command entered.
- Command 1: SetStand>Walk Forward>SetStand
- Command 2: SetStand>Jog
- Command 3: SetStand>Walk Backward>SetStand
- Command 4: SetStandb>Walk Forward>SetStandb
- Command 5: SetStandb
- Command 6: SetStandb>Walk Backward>SetStandb
- Command 7: SetStandb>SetStand
- Command 8: SetStandbj>jump>SetStandj
- Command 9: Setstandjk
- Command A: Sit
- Command B: Setstand
- Command C: Setstandhigh
- Command D: Standdog
- Command *: Setstandc>Squar Forward>Setstandc
- Command 0: Setstandc
- Command #: Setstandc>Squat BackwardSetstandc
This code is licensed under the MIT License. See the LICENSE file for details.