- Project information/explanation
- Screenshots
- How to use
- Programmatic implementation
💡 With this Android app, our self-built aircraft can be controlled remotely from a school project. The application is programmed in Java and establishes a connection via a TCP socket server to send commands to the aircraft over a distance of up to 100 meters.
- Start the plane by connecting a power source
- Wait about 30 seconds until the NodeMCU is fully up and running
- Connect to the WiFi called
Arduino_Airplane
- Start/Restart the application
- On the left hand side is the speed controller
- By tilting the device verticaly, you can adust the height
- By tilting the device horizontaly, you can adust the direction
The entire app is programmed in Android Studio using the Java programming language and the build automation tool gradle. It consists of two different app activities that can be switched by tilting the device.
The aircraft has an Arduino NodeMCU programmed in C++. It builds its own open Wifi Access Point and opens port 1337. All packets that arrive at the Arduino via this TCP socket are passed on to the engine control to tilt the wings and determine the engine speed.
This is what a single package looks like in plain text: 95,120,30\n
When starting the app, the Android app determines the standard WiFi gateway and sends a packet with all the movement data every 100 milliseconds after the connection is established.