App World
My stream
Additionally, paste this code immediately after the opening
tag:It has newer been so easy to implement Bluetooth control in your electronics project. Whether you are just a h...
Free
It has newer been so easy to implement Bluetooth control in your electronics project. Whether you are just a hobbyist playing with Arduino or a professional working with a more complex platform you will find this app extremely straightforward and easy to use when controlling your own created Bluetooth car or robot. By using Bluetooth Remote Joystick you will be able to concentrate all your engineering power on electrical and mechanical parts of your project, without any need to dive into Android programming.
You can find an example Arduino sketch for interfacing with the app on my GitHub here: https://github.com/DaniusKalv/Arduino_Bluetooth_Joystick_example_sketch
App features:
Two joysticks: one vertical and one horizontal for speed and direction control. They both feature analog motion control (you will have variable speed and/or direction).
Three custom buttons. Set the app for your specific project by having an ability to change the text displayed on the buttons to be even more consistent with your hardware.
Adjustable transmission interval according to your needs, whether you need higher transmission frequency for more accuracy or lower one for longer battery life.
Easy connection to Bluetooth devices by just choosing one from your paired devices list.
How to use:
Once connected to a Bluetooth device you are ready to start using this application.
When a joystick field is pressed, android device will transmit coordinates of both joysticks every "interval" milliseconds until both joystick fields are released.
"interval" - amount of milliseconds between transmissions, can be set in settings.
The data format looks like this:
Sxxxx\r\n
Dxxxx\r\n
S - speed (vertical joystick)
D - direction (horizontal joystick)
xxxx - 4 digit number representing joystick coordinate.
When a custom button is pressed the data transmission will look like this:
Bx\r\n
B - button
x - is the custom button number (since there are three custom buttons the values will be in a range from 1 to 3).
Notice that every command sent from the Android device is ended by two termination characters (\r\n).
\r - carriage return (decimal value - 10)
\n - new line (decimal value - 13)
This application has been tested with Arduino and ARMmbed platforms. I was using the popular and cheap HC-05 Bluetooth modules. It works perfectly within a range of approximately 30 meters / 100 feet.
This is the first version of my first app, so feel free to contact me with your questions, suggestions or (hopefully there will be none) bug reports. My e-mail: danius.kalvaitis@gmail.com
Last update
Dec. 6, 2019