LibrePilot Forum

General Category => General Discussion => Topic started by: nathan250 on June 15, 2016, 08:36:27 pm

Title: Connecting a Mini Revolution To Andriod Device Using Wifi
Post by: nathan250 on June 15, 2016, 08:36:27 pm
Hi,

I am starting a project in which I want to connect a mini Revolution (http://www.hobbyking.com/hobbyking/store/uh_viewItem.asp?idproduct=98333) to my andriod device over WIFI to control and receive telemetry data. A similar project has already been done (http://www.josescxavier.com/?p=10) so I nkw it possible. The issue I have now is finding a proper UART-WIFI module to use. I would very much like to use the Adafruit ESP8266 break (https://www.adafruit.com/products/2471), but not sure if it can be. Alternatively, I am also looking one of the other UART-WIFI modules ().  Can anyone provide some assistant as to the best way to approach this?

 
Title: Re: Connecting a Mini Revolution To Andriod Device Using Wifi
Post by: nitromethane on June 16, 2016, 10:51:47 am
I'm not quite sure, how this works on android but some time ago I got telemetry working over IP/TCP to my PC.

I used a RaspberryPi and using the socat utility configured to act as a server that listens for connections on some port that was bridged directly to the UART port.
On the PC side, I just pointed the GCS to the correct IP address and port and it worked no problem. IP telemetry configuration is found under Tools->Options->IP network telemetry.

I don't have experience with ESP8266, but I think it should be possible to configure it as described above.
Also, if you don't have a particular reason to use WiFi, I'd suggest using Bluetooth, which has much less overhead and dicking around to get all the IP/TCP things to come together.
Title: Re: Connecting a Mini Revolution To Andriod Device Using Wifi
Post by: jcruz on January 10, 2017, 12:03:50 am
Dear friend you may use ESP8266 with ESP-LINK software from this site. https://github.com/jeelabs/esp-link (https://github.com/jeelabs/esp-link)
Works fine. You can connect GCS to Drone CC3D for example with a tcp connection without USB cable and configure all thinks