Skytech M67/Action Concept Drone 11 rate mode

A local outlet of cheap stuff (Action) carried a quadcopter a while ago. They called it the concept Drone 011, but it looks suspiciously like a Skytech M67. There is a board marking that reads JR-XY5040RI.

The quad flies like a pig with the propguards installed, but gets a little nippier without. Without propguards it is very prone to burn out a motor or fall apart upon crash.

However the board features an ST32F031K4 processor so it might just be a perfect candidate for non-stock firmware. This is the silverxxx firmware found here.

Components

  • Processor: STM32F031K4
  • Mosfets: 2312 N-FET, 4 - 6A continuous
  • Radio: XN297
  • 6DOF gyro: M540

Skytech-M67-2-4Ghz-4-5CH-4-Axis-Gyro-RC-Quadcopter-UFO-Mini-RC-Helicopters-Drone1-1000x1000.jpg

stm32f031k4Screenshot - 05-11-16 - 01:41:35.png

(STM32F010 pinout, main controller datasheet)

xn297_pinoutScreenshot - 05-11-16 - 23:50:45.png (Radio chip XN297 pinout)

xn297_schematicScreenshot - 05-11-16 - 23:52:51.png

(Reference schematic for XN297)

nfet2312Screenshot - 05-11-16 - 00:13:55.png

(Mosfet properties, 2312 type)

Pinout

Motors

  • 19 - M1 - PA9
  • 20 - M2 - PA10
  • 18 - M3 - PA8
  • 21 - M4 - PA11

Radio - SPI

The radio chip is the XN297.

  • 25 - PA15 - SPI1_NSS -> XN297_2 Chip select
  • 26 - PB3 - SPI1_SCK -> XN297_3 Clock
  • 27 - PB4 - SPI1_MISO -> XN297_5 MISO
  • 28 - PB5 - SPI1_MOSI -> XN297_4 MOSI
  • 32 - PB8 -> XN297_1 Chip enable

6DOF gyro and accelerometer

Chip is the M540.

  • 29 - PB6 - SCL -> Pin 23
  • 30 - PB7 - DAT -> Pin 24
  • 6 - PA0 -> Pin 12

LEDs

All 6 LEDs are switched through 1 transistor and are connected to pin 15 (PB1) of the microcontroller.

Battery monitoring

Battery monitoring is done through pin 13 (PA7). Two resistors of 10k each form a voltage divider.

topIMG_20161102_204145.jpg

(Top of the board)

bottom_mirrorIMG_20161102_204145.jpg

(Bottom of the board, mirrored)

top_seethroughIMG_20161102_204145.jpg

(Top and bottom overlayed)

Firmware

To be able to use the silverxxx firmware on our quad we need to adjust it to match the hardware layout of the flight controller. The modifications of this file can be found here.

Basically it all boils down to comment and uncomment the correct statements in the OpenMicro/src/hardware.h file to reflect the finding as documented above.

IMG_20161108_220449_mod.jpg

To program the firmware with your ST-Link V2 you need to install a programming adapter on the PCB. This is the three pin connector shown in the picture above.

  • SWCLK goes to the DAT pad
  • SWDIO connects to CLK
  • GND connects to V-

It flies nice and stable with the default PID settings.

This article is my 44th oldest. It is 388 words long, and it’s got 0 comments for now.