Go Down

Topic: Use RemoteXY for Android communication (Read 18067 times) previous topic - next topic

shev

Aug 22, 2014, 08:47 am Last Edit: Sep 19, 2016, 08:44 pm by shev
I want to talk about interesting service http://remotexy.com/ with which to easily connect Arduino with Android smartphone over Bluetooth. This service is different from all the others I looked at, the fact that you can have different buttons, switches, joysticks on the screen of the Android smartphone. In the visual editor you choose these controls and place them anywhere on the screen and in any quantity, in accordance with your task. For example, I will cite a few screenshots of possible interfaces.



Yes, you can put on screen indicators that will display the status of your task in Arduino.
How to use it? It is very simple. After you create your interface in the visual editor, you can get the source code for your Arduino. The source code will be finished sketch that you download directly into Arduino or supplement it with your own tasks. Of course do not forget to connect the Bluetooth module to your board. And that's all. On the download page of RemoteXY service you must download a special application in your Android and can connect with your Arduino and manage them.
For example, you can watch this video
http://www.youtube.com/watch?v=Cjxzi5NaizY

Robin2

It looks interesting but it would be nice to be able to try something without signing up.

Note the spelling - it is SIGN not SING.  Sing is what pop-stars do.

...R
Two or three hours spent thinking and reading documentation solves most programming problems.

shev

Quote
It looks interesting but it would be nice to be able to try something without signing up.

Yes, without signing up will be interesting

Quote
Note the spelling - it is SIGN not SING.  Sing is what pop-stars do

Thank! sorry for my English

Robin2


Yes, without signing up will be interesting


Do you mean I can try it out and download the code without signing up?

When I tried earlier it immediately asked me to sign up.

...R
Two or three hours spent thinking and reading documentation solves most programming problems.

shev

Quote
Do you mean I can try it out and download the code without signing up?

Yes, you can

Robin2

So you can - that's great.

I am a lot more cautious about downloading an Android application in case of malicious code. How do we get around that problem?

Am I right to assume that the "Download Android Application" button provides a working Android app that includes the controls, etc that I place on the Android screen on your website? In other words every downloaded Android app will be different?

...R
Two or three hours spent thinking and reading documentation solves most programming problems.

Erni

#6
Aug 23, 2014, 06:08 pm Last Edit: Aug 23, 2014, 06:10 pm by Erni Reason: 1
I am not sure how this is working.

I tried making a new project in the editor.
I get the files to use with arduino, works OK.

But when i click on the "Download android application"  (on my phone) I am redirected to the Android play shop, where I can download the RemoteXY app.

But this app just does nothing, and are certainly not the app that I made in the editor:


Robin2

What Android permissions will the downloaded app have?

...R
Two or three hours spent thinking and reading documentation solves most programming problems.

Erni

It do not need any permissions. That's the messages I get when downloading.
I don't know if that's what you mean. Normally I don't pay much attention to these messages when downloading apps, maybe I should in the future.

Robin2


Normally I don't pay much attention to these messages when downloading apps, maybe I should in the future.


Some of the permissions would allow it to spend your money - slightly less worrying if your phone is Pay-as-you-Go.

It could potentially also send illegal SMS messages or download offensive material.

It's an altogether different situation if you write the Android program yourself and you know exactly what is in it.

...R
Two or three hours spent thinking and reading documentation solves most programming problems.

shev

#10
Aug 24, 2014, 07:45 pm Last Edit: Aug 24, 2014, 07:59 pm by shev Reason: 1
No, no, you do not understand the meaning of the project.

1. You get the source code for Arduino
2. In the source code contains information about your controls of interface. See array in remotexy.cpp
3. When connecting Android app, first reads the information about the controls directly from Arduino.
4. After that, the Android app already knows which screen to show and how datas to communicate with Arduino.

This Android app is one same, and it can work with Arduino with absolutely any controls of interface

The source code for Arduino different for each interface
The Android app is always one
By analogy with the browser, Android app acts as a browser for Arduino.

Erni

#11
Aug 24, 2014, 09:45 pm Last Edit: Aug 24, 2014, 10:07 pm by Erni Reason: 1
Thanks for the clarification shev.

It sounds like an exciting project.
However, I have a problem
When I run your app on my phone and try to connect to my Arduino / bluetooth it makes a connection, but imidietly disconnect again.

I know that my setup works because if I use any other bluetooth app on the phone there is no problem.

Edit:
My bad, I used the hardware serial, instead of pin 2 and 3.
Now it works.

shev

#12
Dec 22, 2014, 01:24 pm Last Edit: Dec 22, 2014, 01:26 pm by shev
Developing our project, we have posted a few examples of how you can use the service RemoteXY for remote management.

1. Robo car controlled from a smartphone via Blutooth. The car can be controlled even with the help of G-sensor. In addition, you can develop the functionality of the control, adding new features. In the example project has the full source code and electrical circuits.
http://remotexy.com/en/examples/car/



2. The second project is a fun cardboard robot. The project tells you how to control servo motors. As is pony the source code of the project.
http://remotexy.com/en/examples/cardboardrobot/


shev

And another example of the project for Arduino.
Temperature sensor output values on Android smartphone via Bluetooth, RemoteXY library used.

http://remotexy.com/en/examples/temperature/
and video: http://www.youtube.com/watch?v=lIHD_Najo68




AiRgeek

Wow! This is AWESOME!!  :)

It would be really cool if it is possible to upload your own graphics in the editor for each controls.

Go Up