Introduction
I started this project because I wanted to make a drone based on raspberry pi and universal windows platform (UWP). To make this happen, I had to use windows 10 IoT core running on raspberry pi 2/3 and all the other stuff listed above.
The Idea
The idea is simple: you get droneās hardware except for receiver and transmitter that are replaced by a raspberry pi and a windows 10 device. In the first place, the communication between the drone and the controller was based on wi-fi connection, but then after some tests, Iāve implemented a new setup based on 4G/LTE connection.
How does it work
Iāve made a universalĀ app called āDroneā that runs on a windows 10 device (master)Ā and on the raspberry pi (slave). In order to replace the wi-fi connection Iāve made a web app called āDroneRemoteā that uses web socket to allow the communication between the drone and the controller based on 4G/LTE connection. In addition, the web app displays telemetry data, GPS data and in-flight pictures. The Raspberry Pi is connected to the flight controller through serial connection (USB), the protocol used to communicate with the flight controller is MultiWii Serial Protocol (MSP), that allow to simulate the RC controller. Finally, an Xbox one controller, connected to a Windows 10 device, is used to pilot the drone.
Known issues
I solve the connection range problem using 4G/LTE connection betweenĀ the drone and the controller. I was worried about the connection latency, but Iāve noticed that is less than 100ms.
Other features and improvements
Iām working on the implementation and testing ofĀ a brand new setup based on 4G/LTE communicationĀ between the drone and the controller using web sockets.
For more detail: Drone Pi: A Windows 10 Raspberry Pi 4G Drone