aleixpb2 / SparkFun_Displacement_Sensor_Arduino_Library

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

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 techsupport@sparkfun.com.

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.

License:Other


Languages

Language:C++ 100.0%