Skip to content

An Arduino library to interface to the angular displacement sensor (flex) from Bend Labs.

License

Notifications You must be signed in to change notification settings

FSpaceLab/SparkFunFlexes

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SparkFun Angular Displacement Sensor Arduino Library

SparkFun 1-Axis Digital Flex Sensor (SEN-15244) SparkFun 2-Axis Digital Flex Sensor (SEN-15245)

The single and dual axis digital flex sensors (also known as Angular Displacement Sensors) from Bend Labs have changed the way we think about flex sensors. This flex sensor has 0.1° precision, with a digital I2C interface, and an output rate of up to 500Hz, in a single or dual axis configuration. These are truly powerful sensors.

We've written a SparkFun Angular Displacement Sensor Arduino Library to make getting up and running with these sensors a snap.

This library is based on the Hardware Abstraction Layer written by Bend Labs. If you have a platform that is not supported by this library consider using their HAL.

The I2C address of the sensor is software configurable which means you can hookup over 100 on a single I2C bus!

Thanks to:

  • coltonottley - Fixed many bugs and issues around detecting 1-axis sensor properly, proper 1-axis comm, better calibration and polling routines
  • aleixpb2 - Fixed the bad/broken uncompilable code (oh dear!).

Repository Contents

  • /examples - Example sketches for the library (.ino). Run these from the Arduino IDE.
  • /src - Source files for the library (.cpp, .h).
  • keywords.txt - Keywords from this library that will be highlighted in the Arduino IDE.
  • library.properties - General library properties for the Arduino package manager.

Documentation

License Information

This product is open source!

Please review the LICENSE.md file for license information.

If you have any questions or concerns on licensing, please contact [email protected].

Please use, reuse, and modify these files as you see fit. Please maintain attribution to SparkFun Electronics and release any derivative under the same license.

Distributed as-is; no warranty is given.

  • Your friends at SparkFun.

About

An Arduino library to interface to the angular displacement sensor (flex) from Bend Labs.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 100.0%