In order to create a complete application with RemoteXY it is necessary to follow 5 simple steps::

Step #1 : Dowland RemoteXY Library

Download the library RemoteXY by link.The link will download a ZIP archive of the library of the latest version.

To install the library in the Arduino IDE, you must go to menu ” Sketch/Import library…/Add library…. In the open file window, select the file, select the downloaded ZIP archive library RemoteXY.

After you have installed the library, you can check, how it works. For this you will need to open one of the examples, compile it, and upload it to the Arduino. In order to open the example, select File/Examples/RemoteXY/ and then one of the examples.


Step #2 : Graphical Interface

Building a graphical interface with a simple drag&drop editor available here

Step #3: Source Code Configuration

Configure and generate the sketch source code to be uploaded on the control board  (ESP8266, Arduino)

Step #4: Upload Sketch

Compile and upload of the generated sketch on the control board (ESP8266,Arduino) through the Arduino IDE (or other supported IDE).

Let’s now download the RemoteXY library and install it on Arduino IDE through the proper menu.
The download the source code
As we can see in the generated code some information from the previous config phase are present:
  • SSID of AP WiFI
  • Listening port
The RemoteXY_CONF[] section contains a description of the graphic interface. It will be transfer to the requesting mobile app once a connection with the nodeMCU is established.

Step #5: Download Mobile App

Download the mobile app and install it on your client device (iOS, Android)

Now on your mobile device (smartphone o tablet) join the new WiFi network called ESPcopter.
It is now time to run the RemoteXY app on mobile and then click on the top tight + sign
Now select the WiFi point option

Now press the Connect button and the app will connect to the nodeMCU and it will download the GUI description

Now you are all set to remotely control the ESPcopter.