Ez Arduino Gamepad for Robotic Project
thingiverse
# Introduction - This versatile gamepad is specifically designed for robotics projects. It operates on a 3.7V 18650 lithium battery, which provides robust and reliable power to each component through the board's sufficient 5V output pins. Using a rechargeable lithium battery makes it a cost-effective choice for long-term use. Battery recharging is effortless - simply connect a 5V power source to the USB port on the board. Additionally, the robot's locomotion can be controlled by a joystick switch, while the matrix switch allows you to bind different functions to each button. To demonstrate its capabilities, we've developed Arduino sketches that control our designed robots using this gamepad. These codes are freely available and serve as excellent references for implementing gamepad control in your projects. ### Videos Demo * Watch Ez MiniKame Mk2 in action: https://youtu.be/mUIyPMDtPAU * See Ez Spidey in motion: https://youtu.be/LLlxMSZ1ZfE * Observe Ez OpenCat's movements: https://youtu.be/yiAgtzOeWUI # Software - Arduino sketches can be found on our GitHub repository at: [github](https://github.com/manic-3dprint/EzArduinoGamePad.git). The 'Test.ino' code is used to check the wiring of the matrix switch and joystick switch. Open the Serial Monitor to see the button and joystick switch responses, then modify this program to fit your robotic application. * Upload 'Ez-GoBLE-Gamepad.ino' for controlling Ez MiniKame Mk2 and Ez Spidey; set the Bluetooth module's baud rate to 115200. * Upload 'Ez-OpenCat-Gamepad.ino' for controlling Ez OpenCat; set the Bluetooth module's baud rate to 38400. # Electronics - To build this gamepad, you'll need the following components: * HuaDuino and Game Switches Combo kit from eBay - [HuaDuino](https://www.ebay.com/itm/312976871765) is an Arduino Nano-compatible board with enhanced features. It integrates everything on a single PCB, making it easier for users to build robots. * 2 HC-05 Bluetooth modules; some may have a small switch on the left upper corner that needs to be pressed to enter AT command mode. + One module is set to master mode as the gamepad - see steps 1 to 6 in this tutorial, [Instructables](https://www.instructables.com/id/How-to-Configure-HC-05-Bluetooth-Module-As-Master-/). + The other module remains in slave mode and is connected to the robot. * A buzzer * A 18650 lithium battery; use this battery clip to hold it - you can also use any 3.7V lithium batteries that fit the base model. * 8 M2x6 tapping screws * 4 M3x14 screws * 13 dupoint wires # Wiring - The connection of components to the board is as follows: ## joystick switch: VRX_PIN -> A0 VRY_PIN -> A1 SW_PIN -> A2 VCC -> 5V GND -> GND ## 4x4 matrix switch: C1 -> D2 C2 -> D3 C3 -> D4 C4 -> D5 R1 -> D6 R2 -> D7 R3 -> D8 R4 -> D9 ## buzzer: positive polar -> A3 negative polar -> GND
With this file you will be able to print Ez Arduino Gamepad for Robotic Project with your 3D printer. Click on the button and save the file on your computer to work, edit or customize your design. You can also find more 3D designs for printers on Ez Arduino Gamepad for Robotic Project.