Git Product home page Git Product logo

h101-acro's Introduction

Floureon H101 acro firmware

now with dual mode as well

Select folder for the correct firmware:

  • H101_Acro: Acro only, inverted flight possible (manual on a switch)
  • H101_dual: either/both modes, inverted flight possible (manual on a switch)

For programming the ground pad is marked (B-) on the pcb(near the edge) .It is also close to some other components. Note there is also a (B+) pad,do not connect this.

It works with Devo , stock or H8 mini tx.You could also use the diy nrf24_multipro module by Goebish.

*** DO NOT ACCIDENTALLY FLASH THE H8MINI FIRMWARE TO THE H101*** (it may break it)

  • GigaDevice GD32F130G6 cortex-M3 32k
  • Invensense gyro + accelerometer
  • XN297 transceiver
  • 8 Nfets and 8 Pfets. The P fets are controlled commonly in groups of 4.

Cpu datasheet: Pdf Cpu Documentation: Pdf

The firmware needs Keil.GD32F1xx_DFP.1.1.0.pack which adds support for the cpu to Keil (5.15 used).

The firmware flash procedure is the same as the H8.

Firmware thread featuring flashing info : rcgroups.com

###Changing settings

config.h - all settings: rates, switches/buttons config, other options

pid.c - pids ( tuned for standard H8 mini)

angle_pid.c (dual mode only) level mode pid, also uses acro pids in level mode, so it should fly ok in acro mode first.

After changing settings, remember to click compile first, not just upload.

#####Stock tx: On the stock tx only the rate (expert) button works. Trims are not functional on the stock tx.

#####Devo tx: Channels work as intended except the rate/expert channel which is always on. Dynamic trims are not used, and trims should not be required.

Assign the extra channels to the desired functions in config.h. Right now there is only headless and hi/low rates to set if needed. The defaults should be ok too. ( no headless / rates high always)

#####Gyro calibration Gyro calibration runs automatically after power up, and usually completes within 2-4 seconds. If for some reason the calibration fails to complete, such as if there is movement, it will eventually time out in 15 seconds.

During calibration the leds flash in an "X" like pattern. If movement is detected the flashing stops and only 2 leds illuminate. The flashing resumes when movement stops.

The quad should be standing still during gyro calibration for best results

#####Accelerometer calibration (level mode only) For accelerometer calibration move the pitch stick down 3 times within about 1- 2 seconds. Wait a couple of seconds after a failed attempt. Throttle has to be low, and roll centered. Flashing lights indicate the calibration process. This is saved so it has to be done only once.

Note, the acc calibration also saves gyro biases which are used in some cases. The flash pattern is similar to the gyro calibration pattern.

Calibration has to be done on a horizontal surface

#####Led error codes In some cases the leds are used to indicate error conditions, and as such they flash a number of times, then a brake occurs, then the pattern repeats. In all such cases the quadcopter will not respond to commands, a power cycle will be required.

The most common of this is 2 flashes = low battery, usually caused by an in-flight reset due to low battery. All other flashes are non user serviceable. The description is in main.c.

#####Led flash patterns At startup the leds should flash a gyro calibration pattern for 2 - 15 seconds, glow like pattern. Movement stops the flashing while it occurs.

Following should be a fast (20 times/sec) flash indicating that the quad is waiting for bind.

If binding is completed the leds should light up continuously, while if tx connection is lost they will flash a short time a couple of times / second.

Overriding all this patterns except gyro calibration, is the low battery flash which is a slow, equally spaced on and off flash.

###Linux support See post by : http://www.rcgroups.com/forums/showpost.php?p=34293596&postcount=1248

Read INSTALL.md for more information.

###Wiki http://sirdomsen.diskstation.me/dokuwiki/doku.php?id=start

###14.07.16

  • some rx changes (hopping code)
  • motor curve default changed
  • pids changed to version by SirDomsen

###19.05.16

  • added 3d throttle option to dual mode
  • (older) added "native inverted mode" to dual mode code

###15.02.16

  • added inverted flight to dual mode

###15.02.16

  • added dual mode
  • fixed calibration bug introduced yesterday

###update 1: 6.12.15

  • added stock tx support

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.