Many small embedded systems exist to collect data from sensors, analyze the data, and either take appropriate action or send that sensor data to another system for processing. One of the many challenges of embedded systems design is the fact that parts you used today may be out of production tomorrow, or system requirements may change and you may need to choose a different sensor down the road. Creating new drivers is a relatively easy task, but integrating them into existing systems is both error-prone and time-consuming since sensors rarely use the exact same units of measurement. By reducing all data to a single sensors_event_t 'type' and settling on specific, standardized SI units for each sensor family the same sensor types return values that are comparable with any other similar sensor. This enables you to switch sensor models with very little impact on the rest of the system, which can help mitigate some of the risks and problems of sensor availability.

Features

  • Any driver that supports the Adafruit unified sensor abstraction layer will implement the Adafruit_Sensor base class
  • This typedef is used to return sensor data from any sensor supported by the abstraction layer, using standard SI units and scales
  • Unified Driver Abstraction Layer in Practice
  • Every compliant sensor can now be read using a single, well-known 'type' (sensors_event_t)
  • Documentation available
  • Examples included

Project Samples

Project Activity

See All Activity >

Categories

Libraries

License

Apache License V2.0

Follow Adafruit Unified Sensor Driver

Adafruit Unified Sensor Driver Web Site

Other Useful Business Software
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Adafruit Unified Sensor Driver!

Additional Project Details

Programming Language

C++

Related Categories

C++ Libraries

Registered

2024-05-28