Additionally, paste this code immediately after the opening tag:

Arduino Bluetooth Joystick PRO

Use your device as a Bluetooth joystick to control your Arduino prototype. Arduino its an AVR-development kit...

$ 1.50

Store review

Use your device as a Bluetooth joystick to control your Arduino prototype.

Arduino its an AVR-development kit with microcontroller and peripherals on a single board, designed to make more accessible the process of using electronics in multidisciplinary projects.The hardware consists of a plate simple open source hardware designed around a microcontroller Atmel 8-bit AVR, although a new model is designed around a 32-bit ARM Atmel.

The Arduino Bluetooth Joystick comes to help in the implementation and usability of their prototypes, allowing your Android smartphone becomes a control. With this you will be free of extra spending to the development or purchase of wireless controllers, just by using the application.

The application has been tested with the Bluetooth module HC-05 and HC-06 both available at various online shopping sites, costing less than $ 10 each.

To use the application just develop your code is based on the following information:

+++ If you only use the function Joystick active: +++

The application will send only one character that represents the button pressed, where:
0 = no key pressed;
1 = UP key pressed;
2 = DOWN key pressed;
3 = LEFT key pressed;
4 = RIGHT key pressed;
5 = X button pressed;
6 = O key pressed;
7 = SQUARE button pressed;
8 = TRIANGLE button pressed;
9 = SELECT key pressed;
A = START key pressed;

+++ If you only use the function Joystick active with the Multi-touch support on Drive mode: +++

The application will send only one character that represents the button pressed, where:
0 = no key pressed;
1 = UP key pressed;
2 = DOWN key pressed;
3 = LEFT key pressed;
4 = RIGHT key pressed;
5 = X button pressed;
6 = O key pressed;
7 = SQUARE button pressed;
8 = TRIANGLE button pressed;
9 = SELECT key pressed;
A = START key pressed;

KEY COMBO ONLY IN DRIVE KEYS:
B = LEFT key pressed and UP key pressed;
C = LEFT key pressed and DOWN key pressed;
D = RIGHT key pressed and UP key pressed;
E = RIGHT key pressed and DOWN key pressed;

+++ If you only use the function Joystick active with the multi-touch actived in normal mode: +++
The application will send a character array, where:
d00e = no key pressed;
dXYe, X = First Key Pressed code, Y = Second Key Pressed Code

Example:
Send >>> d5Ae, Keys pressed: 5 = X Button Pressed, A = Start button pressed


+++ If you use only the accelerometer function active; +++

Data is sent as a character array, according to the standard aXbYcZd where:

X = accel_X
Y = accel_Y
Z = accel_Z

The values ​​contained in X, Y and Z are integers. To capture them in your Arduino code, you must form string from all characters between the character 'a' and the character 'b' and converts them to integer format to work normally.

Example:
Sent >>>> a-5b18c10d >>>> between 'a' and 'b' is -5 (accel_X value), between 'b' and 'c' is 18 (value accel_Y) and between 'c' and 'd' is 10 (value accel_Z).

+++ If you use both active functions; +++

The data will be sent in the format aXbYcZdKe where:
X = accel_X
Y = accel_Y
Z = accel_Z
K = button code (as mentioned earlier)

Example:
Posted >>>> a3b0c-9dAe >>>> between 'a' and 'b' is 3 (accel_X value), between 'b' and 'c' is 0 (accel_Y value), between 'c 'and' d 'is -9 (value accel_Z) and between' d 'and' e 'is a (indicating START key).

This is still the first version of the application.
PLEASE IF YOU encounters ANY FAILURE OR QUESTIONS, PLEASE CONTACT U.S. THROUGH E-MAIL [atendimento@heightdev.com](mailto:atendimento@heightdev.com).

Keywords: Arduino, Bluetooth, Joystick, Control, Controller, Accelerometer

Store rating

5

out of

6 reviews

Last update

Oct. 17, 2013

Read more