Introduction: WRISTBAND CONTROLLER USING PLUTOX
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.
Step 1: Details
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
Step 2: Components
- 2×PlutoX (ITis a nano drone developed by Drona Aviation)
Step 3: GETTING THE HARDWARE READY
1)Create a band on which you can easily attach the PrimusX board
Step 4: 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.