ARDUINO
Battle
Bot
Part 3
Battle Bot
• 3D Design Print
• Assembly parts and electronics
• Wiring
• Programming
Components need
• 4 wheel Mobile Design
• Weapon attachment and mounting
• Servo Motor
• Remote controller
• ESP32
3D Design – Assembly
• Assembly the car step 1
Mounting with
screws and nuts
3D Design – Assembly
• Assembly the car step 2
3D Design – Assembly
• Assembly the car step 3
Use hot glue to
stick the ESP32 on
the top
3D Design – Programming
• Requirements
Install ESP32 board https://dl.espressif.com/dl/package_esp32_index.json
3D Design – Programming
• Requirements
Install ESP32 board
Install
3D Design – Programming
• Requirements
Install ESP32 board
3D Design – Programming
• Requirements
Import library from google drive
3D Design – Programming
• Programming step 1 – download the starting programming file from google drive
3D Design – Programming
• Programming step 2 – open it and what we need to program is ps3 pairing, loop 1 and loop 2 only
3D Design – Programming
• Programming step 2 – paring the code (PLEASE DON’T simple copy, sure only 1 void setup)
3D Design – Programming
• Programming step 3 – loop 1 for left side motor running (PLEASE DON’T simple copy, sure only 1
void loop1)
If left y axis push up, analog value
will be less than 0
If left y axis push down, analog value
will be more than 0
3D Design – Programming
• Programming step 4 – loop 2 for right side motor running (PLEASE DON’T simple copy, sure
only 1 void loop2)
If right y axis push up, analog value
will be less than 0
If right y axis push down, analog value
will be more than 0