-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f394eaf
commit 998df44
Showing
1 changed file
with
43 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# WiFi Airplante Remote Control App (Android) | ||
Controls a self built airplane over wifi socket server | ||
------------ | ||
|
||
### Table of contents: 📝 | ||
|
||
1. Project information/explanation | ||
2. Screenshots | ||
3. How to use | ||
4. Programmatic implementation | ||
|
||
------------ | ||
|
||
### Project information/explanation | ||
|
||
💡 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. | ||
|
||
|
||
### Screenshots 🖼️ | ||
<details> | ||
<summary> Click to expand</summary> | ||
|
||
 | ||
|
||
 | ||
</details> | ||
|
||
### How to use ❓ | ||
1. Start the plane by connecting a power source | ||
2. Wait about 30 seconds until the NodeMCU is fully up and running | ||
3. Connect to the WiFi called `Arduino_Airplane` | ||
4. Start/Restart the application | ||
5. On the left hand side is the speed controller | ||
6. By tilting the device verticaly, you can adust the height | ||
7. By tilting the device horizontaly, you can adust the direction | ||
|
||
|
||
### Programmatic implementation 💻 | ||
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. |