Git Product home page Git Product logo

gma30xku-example-code-at-start-f403's Introduction

AT-START-F403 + GMA30xKU example code

Requirements

  • AT-START-F403 development board
  • Sensor Fusion Arduino Daughter Board V1.0: GMA303KU is on the sensor board

I2C Connections

  • Use I2C1
    • SCL: PB8
    • SDA: PB9
  • GMA30xKU I2C 7-bit slave address: 0x18

Raw Data Sensitivity

The sensitivity of the raw data output is normalized to 512 codes/g for all 3 axes.

Default gma30xku_initialization function in gma30xku.c

Default initialization steps:

  • Turn on offset temperature compensation
  • Set to continuous mode
  • Turn on low pass filter
  • Set data ready INT, ative high, push-pull

You may change the behavior of this initialization function to suit your purpose. Please refer to datasheet for more details on the register settings.

Usage of AutoNil

  • The program will do an offset AutoNil when executed. Hold the board steady and maintain in level facing up, then press Key1 after the program prompt for input.
  • You may change the DATA_AVE_NUM macro in the gSensor_autoNil.h for the moving averae order for the offset estimation. Defautl is 32.

gma30xku-example-code-at-start-f403's People

Contributors

josephatgmems avatar

Watchers

 avatar  avatar

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.