DIY Android Bluetooth PC Gamepad With Arduino Leonardo

by planetleak in Circuits > Arduino

8693 Views, 25 Favorites, 0 Comments

DIY Android Bluetooth PC Gamepad With Arduino Leonardo

Rally_Screen.jpg

Tutorial and test video:

Link to the App Inventor and Arduino file in youtube video description.

Part List, Wiring and Playing

Mario_Screen.jpg
Arduino_Hc06.jpg
HC-06.JPG
Leonardo_pro_micro.JPG

- 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:

Sparkfun Leonardo pro micro guide

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 :)