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
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
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