Introduction: DIY Android Bluetooth PC Gamepad With Arduino Leonardo
Tutorial and test video:
Link to the App Inventor and Arduino file in youtube video description.
Step 1: Part List, Wiring and Playing
- Arduino Leonardo (leonardo board have keyboard and mouse emulation. Im using pro micro)
- Bluetooth module (Im using HC-06)
- Button (on the leonardo Pin 4. Its an emergency shut down :) )
I think don't need too much talk about arduino and bluetooth connecting, but if you stuck, check my previous instructables, there is details.
Broadly: Rx to Tx, Tx to Rx, Vcc to Vcc, Gnd to Gnd.
Other Arduino modules need to unplug BT when uplading code, with Leonardo not need this.
If you have problem with arduino leonardo install and library, there is a great sparkfun tutorial:
Sometime got error when uploading code to the leonardo, then just press upload again.
The App Inventor app automatically connecting to the HC-06, so you need to add your MAC address.
(You can see in the video)
For more details check the video, and don't forget pair your BT module with the phone.
Have fun, and do not laugh on my rally skill :)
Participated in the