/esw-digital-sensor

Set up TTTW lab-kit accelerometer sensor (MMA8653FC) and measure acceleration.

Primary LanguageCMIT LicenseMIT

ESW-digital-sensor

Set up TTTW lab-kit accelerometer sensor (MMA8653FC) and measure acceleration. This includes:

  • GPIO pin setup for I2C and interrupts
  • I2C setup for sensor communication
  • Sensor configuring
  • Sensor data acquistion
  • Sensor data analysis

Platforms

The application has been tested and should work with the following platforms:

  • Thinnect TestSystemBoard tsb0

Build

  • Add project as submodule to the https://github.com/thinnect/node-apps.git project. Put it under 'node-apps/apps' directory.
  • Open terminal and navigate to 'node-apps/apps/esw-gpio' directory and type 'make tsb0' to build project.
  • Standard build options apply, check the main README.

Flashing to uC

Accelerometer sensors are only available on the 2.1 and 2.2 microcontrollers of the TTTW labkit.

Resources