How cool would it be if we could control our drone just with our wrist movements
PrimusX is a flight controller used in PlutoX drone. The PrimusX board communicates using ESP8266-12F. It also has a MPU and barometer, so I thought why not control the drone using just the PrimusX board and attach the board to my wrist and controlling the drone using just my wrist movements.
I have used 2 Primus X boards in this project. One PrimusX is mounted on the drone while the second one is used to mount it on our wrist.
Now to control the drone with just the wrist movements all we have to do is map the values of Roll, Pitch and yaw of the wrist mounted PrimusX with the actual drone. The throttle control to the drone is calculated based on the velocity component of z axis. Thus with all the data about the Roll, Pitch, yaw and Throttle of the wrist mounted board, we can easily control our drone with just our wrist movements.
For that a connection has to be established between the 2 PrimusX boards. For this we create 2 AT commands, one for creating a socket and other to create UserID and password for the drone with which we want to connect.Â
Various API's available on Cygnus IDE such as Angle, Msp etc make it really easy to code.Â
To open drone experimentation to the world, Drona Aviation is crowdfunding for PlutoX on Indiegogo.Â
Support us and help us bring it to life:Â https://igg.me/at/flyplutox/tinkerers
GETTING THE SOFTWARE READY
1)There are 2 PrimusX board used out of which one is on the drone and other is on your wrist
2)So first you have to enable connection between them.For that i added 2 AT commands one for creating the the socket and other for creating ID and password for your drone.
3)With the help of new MSP API's we can code it on Cygnus IDE
4) Using the Angle Api we get the Roll,Pitch and Yaw of the PrimusX on wrist and map it to the drones roll, pitch and yaw.
5) We give the throttle with the velocity component of z axis.