![robotstudio 5.09 robotstudio 5.09](https://slideplayer.com/slide/4872702/16/images/4/What+can+RobotStudio+MachineTending+do+for+you.jpg)
It is incomplete, but will probably get better (soon?) and for Serial connections is enough. This approach works on all Android platforms.Ģ) Use the Bluetooth SDK that Google introduced in Android 2.0. Take a moment to read both my articles for a better understanding. You can do this either with the Android Tool-chain, or more comfortable, using JNI. To control Bluetooth on Android, there are two possibilities:ġ) Rely on BlueZ and Native C code. So I am confident Android will be in a short time a complete alternative for advanced applications. The PROs are that they are evolving, and improving, while keeping their platform simple and accessible. Using Bluetooth on Android is still problematic, meaning that you have access only to very basic functionality. Note: Part 2 is available here: Android controlled robot – Part 2 The idea is to show how far automation can go. Keep in mind that the technology presented here can easily be extended: instead of an Android phone you can use any bluetooth enabled programmable device (a Windows Mobile Smartphone, an iPhone, etc) and instead of this robot you can use any other hardware system. So you can use this technology for other purposes than robots, since the ATMega has a large range of possible uses: control the light in your home using the Android phone, read various sensors and gather the data on the Android, and more. What I’m doing is directly interfacing the Android with the ATMega microcontroller via the serial bluetooth link.
![robotstudio 5.09 robotstudio 5.09](https://docplayer.net/docs-images/63/48754120/images/72-0.jpg)
I will use it to control the Perseus 3 robot platform. Using an Android phone for this purpose is no exception. The 9600bps serial link established, can than be used to exchange data.
![robotstudio 5.09 robotstudio 5.09](https://docplayer.net/docs-images/46/21581265/images/page_10.jpg)
In a previous article, I’ve shown that it is possible to connect a bluetooth module to an ATMega micro controller via the UART serial interface and even further, discover it using a bluetooth enabled computer or smartphone.