HC-05 has an added advantage in embedded systems that pretty much every smartphone is equipped with in built Bluetooth hardware.This opens up a large number of possibilities for access and control of embedded systems.
There are apps that do the task of controlling a system via bluetooth however none sufficed to my requirement. So I developed one,
Presenting
RoboAuto |
What RoboAuto does:
An Android Application for communication with HC-05 Bluetooth Module.
RoboAuto is a clean and effective app using which you can control your Robots or Devices with a Simple Joystick!
Program Flow |
So, You as an embedded developer have to configure your robot only for the commands received from the app!
Here are few screenshots:
RoboAuto connects to the Bluetooth Module using a Wireless Serial Link. Android already provides support for this in their native API.
After a successful connection, characters are sent to the module on actuation of joystick ,buttons or check boxes which can be read and executed by Arduino™ or other microcontrollers.
Special Thanks to zerokol for his JoystickView Library.
The Joystick sends the following :
Forward: F
Backward: B
Left : L
Right : R
Additionally I have assigned intermediate directions , for example, FL for Front-Left, BR for Backward-Right and so on.
No Changes are to be required on the Embedded side as the UART only parses a single character at a time, giving us simultaneous (in theory) Forward and Left motion. Kind of like what happens in a PWM.
Download RoboAuto here:
Google Play and the Google Play logo are trademarks of Google LLC.
This Post therefore will be updated soon and is worth a bookmark.
UPDATE (22/October/17): Savvy has been renamed to RoboAuto and published on Google Playstore
UPDATE (10/August/16) : Few Screenshots and content have been updated!
UPDATE (25/August/16 ): Savvy(Now RoboAuto) is available for testing and debugging for FREE
UPDATE (12/September/16): Added Internet Access permission for Google Form Integration.
UPDATE (19/March/17): Fixed a lot of bugs in the layout scale. Renamed "Turn Light" to "Rear Light."
Do report any bugs you encounter.
Credits (19/March/17): Thank You Shivani for your Feedback on Design Issues
Good Stuff Take Time.
Used:
Android Studio 2.3.3
Lenovo S6600 , Micromax Knight Cameo for Debugging.
0 comments:
Post a Comment