Skip to content

A simple (low power) "wake on shake" configuration for the Teensy (LC) and ADXL345 accelerometer.

License

Notifications You must be signed in to change notification settings

TimothySealy/teensy_adxl345_low_power

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Teensy LC and ADXL345

This configuration shows a simple (low power) "wake on shake" implementation using a Teensy (LC) and ADXL345 accelerometer.

Bill of materials

  • Teensy LC
  • GY-291 ADXL345 3-axis accelerometer
  • 2x 4K7 Ohm resistors
  • Hookup wires

Fritzing

The ADXL345 is configured to communicate with the Teensy over I2C.

alt text

Sketch

In this repository you will find a sketch which will configure the ADXL345 to trigger an interrupt on activity. The ADXL is set in low power mode. The Teensy is put in Hibernate mode. When an interrupt is triggered upon activity the builtin LED on the Teensy will blink. After that the Teensy is put in Hibernate mode and the cycle repeats.

The sketch includes the following libraries:

About

A simple (low power) "wake on shake" configuration for the Teensy (LC) and ADXL345 accelerometer.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages