Skip to content

A platform agnostic driver to interface with the MMA7660FC 3-Axis Accelerometer via I2C

Notifications You must be signed in to change notification settings

rahul-thakoor/mma7660fc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A platform agnostic driver to interface with the MMA7660FC 3-Axis Accelerometer via I2C

This chip can be found on Seeed's Grove 3-Axis Digital Accelerometer(±1.5g)

This driver was built using embedded-hal traits.

Documentation

Read the detailed documentation here

What works

  • Read the XOUT register for value of x
  • Read registers XOUT, YOUT and ZOUT to get 6-bits output value for x, y and z
  • Set mode to active or standby
  • Get acceleration within range ±1.5g

TODO

  • Allow to modify sampling rate, currently initialised to 4 samples per second active
  • Get other data such as orientation, tilt, etc
  • Test with stm32f30x-hal, currently only testing with linux-embedded-hal

License

Licensed under either of

at your option.

Resources

The following resources were consulted when making this driver:

About

A platform agnostic driver to interface with the MMA7660FC 3-Axis Accelerometer via I2C

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages