Author Topic: Accelerometer Events  (Read 734 times)

mc-John

  • Global Moderator
  • Full Member
  • *****
  • Posts: 212
    • View Profile
Re: Accelerometer Events
« on: June 15, 2016, 02:02:06 pm »
You have to study the datasheet of the device. The accelerometer is a high quality low power device that works in the background and when an event happens it wakes-up the processor. The device has two different interrupt-line that can be set for a number of different events, like if there is a shock of more then 3G pull down interrupt line 1 which will then raise event AccelerometerInt1().

Start with your use-case. What do you want to measure? Then configure the accelerometer with I2C command accordingly. When the interrupt fires you communicate with the accelerometer again to get the required information.

There is a link in the mcMod110 datasheet which you can find at http://www.mcthings.com/s/mcMod110-Product-Specification-V03-kz9k.pdf

Useful Useful x 1 View List