#08 – Update on the quadcopter (Software side)

So, after we had to stop our drone building last time, Chu bought a new power distribution board and one new ESC (this time with a BEC/not OPTO) and the drone has been finished on the hardware side.

As I said last time, I still had some things to finish on the software side:

 

Correctly connect the receiver (D8R-XP)

We had issues last week concerning the RC receiver that didn’t power correctly. The connections to the APM were not correctly made and I made sure to correct that (~ to signal, + on power and – to ground). I also had to connect a jumper between channel 3 and 4 (signal side) to activate CPPM mode as it is instructed in the manual. I spent a while finding out why I didn’t get any signal even though the receiver was connected correctly to the transmitter and the jumper was the issue.

 

Updating the firmware of the Transmitter (Taranis Q X7)

I had to update the firmware of the transmitter because the transmitter delivered was an EU version that didn’t have D8 mode (8 channel) for the transmission. After some quick googling we found out that it is a software limitation and we did, in fact, pick a good controller.

To update the firmware, I had to:

  • Download OpenTx Companion
  • Launch the transmitter in Bootloader mode by pressing both horizontal trims (inward) and quick press the power button.
  • Plugging a micro-usb cable to the transmitter
  • Downloading the latest firmware using OpenTx Companion
  • Writing the firmware to the transmitter
  • Unmount the transmitter (A step I really needed, I tried twice without unmounting by “Windows” habit and the transmitter wouldn’t boot)

 

Calibrating the radio, accelerometer and compass

Pretty straight-forward, in Quick Setup go to radio and move the buttons on the controller to set the min and max values for the throttle, yaw, etc… For the accelerometer we have to follow the instructions and for the compass, I had to select the first compass in the Navio2 and disable the second one to do the calibration.

 

Calibrating the ESC and arming the motors

I followed some quick steps to calibrate the ESC and arm the motor:

  • Power off everything
  • Set the Throttle to max and power on the transmitter
  • Plug the battery to power on the Raspberry/Navio, it will flash in many color, meaning it is ready to calibrate the ESC
  • Unplug the battery and plug it back again
  • Wait for a beep sound then put the throttle down
  • Wait for another beep sound, from there the drone is ready
  • To arm the drone, move the left stick to the right for a few seconds

 

Current problem

Unfortunately, the quadcopter didn’t took off and could barely lift. We think it is due to a wrong choice of motors and we will do the change for another day.

Here’s a quick video of our attempt:

 

Leave a Reply

Your email address will not be published.