Skip to content

kriswiner/MC3635

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 

Repository files navigation

MC3635

mCube's ultra-low-power wake-on-motion 3-axis accelerometer

Based on mCube's Arduino demo driver, this sketch is specific for the MC3635 3-axis accelerometer. The sketch supports I2C (here used at 400 kHz) for communication. The sketch is written for the STM32L432 (Ladybug) development board but just about any MCU that supports I2C and hardware interrupts can be used with minimal, if any, modification.

The board I designed exposes the I2C address pin so more than one of these sensors could be used on the same I2C bus. This is not supported in this sketch but could easily be done using the I2CDev API.

The sketch places the MC3635 in Sniff mode at 7 Hz (configurable) and triggers an interrupt to the Ladybug whenever the motion threshold and hysteresis conditions are met (also configurable).

I measured the power usage of the MC3635 at 0.3 +/- 0.1 uA in Sniff mode, pretty much what the data sheet claims.

This ultra-low-power, coupled with the low BOM cost and availability of the MC3635, makes it a promising candidate as a wake-on-motion watchdog for wearable devices.

MC3635

About

mCube's ultra-low-power wake-on-motion 3-axis accelerometer

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages