EEVblog Electronics Community Forum

Electronics => Projects, Designs, and Technical Stuff => Topic started by: Lubo on November 22, 2015, 06:11:58 pm

Title: Arduino controlled over Android device
Post by: Lubo on November 22, 2015, 06:11:58 pm
Hi,
I've just finished my project. It controls the Arduino over bluetooth
from your Android device. The best thing is that the UI is stored
in Arduino and you can create any UI you want. You can also
use any hardware you want unless it is able to connect to the smart
device through bluetooth.

(http://visiduino.io/sk/blog/images/c_interface_2.png)

Here is the example on youtube: https://www.youtube.com/watch?v=WAr--diq-AI (https://www.youtube.com/watch?v=WAr--diq-AI)
The full source code and setup is on my blog: http://visiduino.io/sk/blog/visiduino_app_c_interface/ (http://visiduino.io/sk/blog/visiduino_app_c_interface/)

You can use it for your project too for free.
Here is the app: https://play.google.com/store/apps/details?id=io.visiduino.bluetooth (https://play.google.com/store/apps/details?id=io.visiduino.bluetooth)
Wish you nice day :)
Lubo
Title: Re: Arduino controlled over Android device
Post by: zapta on November 22, 2015, 06:26:22 pm
Looks very useful. You say that the UI is stored on the Arduino, in what format? Is it similar to a html server?
Title: Re: Arduino controlled over Android device
Post by: Lubo on November 22, 2015, 06:31:25 pm
No, you are writing it in JSON format and then you have to encode it with the
encode tool on my website. It will give you a string: $:layout=asdfkashdfkahsdf;
If you send this string to android device it will generate a UI for it.
Everything is described step by step in this post: http://visiduino.io/sk/blog/visiduino_app_c_interface/ (http://visiduino.io/sk/blog/visiduino_app_c_interface/)
Lubo
Title: Re: Arduino controlled over Android device
Post by: Lubo on December 29, 2015, 09:18:36 am
I have made an update. Joystick was added to widget list.
And also some preddefined Layouts so you do not have to create them from scratch.

(http://visiduino.io/sk/blog/images/visiduino_app_joystick.png)

You can see it here on youtube:
https://www.youtube.com/watch?v=05PagVDjzQA (https://www.youtube.com/watch?v=05PagVDjzQA)
Have a nice day  8)
Lubo