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!).
- /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.
- Installing an Arduino Library Guide - Basic information on how to install an Arduino library.
- Product Repository - Main repository (including hardware files)
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.