Programming your ELEGOO Conqueror Robot Tank Kit using the Arduino IDE opens up a world of customization and learning opportunities. Here's how to get started:
- Install the Arduino IDE: Begin by downloading and installing the Arduino IDE from the official Arduino website. Follow their installation guide for your operating system.
- Connect the Robot: Use the USB cable to connect the UNO R3 controller (included in your ELEGOO kit) to your computer.
- Launch the Arduino IDE: Open the Arduino IDE on your computer.
- Select Your Board: In the IDE, go to "Tools" - > "Board" and choose "Arduino/Genuino Uno" as the board type.
- Choose Your Port: Navigate to "Tools" - > "Port" and select the port that corresponds to your connected UNO R3 controller. The correct port is usually indicated when you plug in the robot.
- Explore Example Code: Go to "File" - > "Examples" and then find the "ElegooTank" examples. Here, you'll find pre-written code for functions like line tracking, obstacle avoidance, and remote control.
- Upload the Code: Click the "Upload" button (the right-pointing arrow icon) in the Arduino IDE. This action compiles the code and uploads it to the robot's UNO R3 controller.
- Monitor Serial Output (Optional): If the example code provides serial output, go to "Tools" - > "Serial Monitor" to view it. Set the baud rate in the serial monitor to match what's specified in the code, typically 9600.
- Test the Program: Once the upload is complete, disconnect the robot from your computer and power it on using the battery pack. Your ELEGOO Conqueror Robot Tank should now execute the programmed behaviors.
Remember, the ELEGOO Conqueror Robot Tank Kit also supports block-based programming via the ElegooKit app. This is a great alternative if you prefer a visual programming approach. For detailed instructions and more example code, consult the user manual that came with your ELEGOO Conqueror Robot Tank Kit.