The UPM repository provides software drivers for a wide variety of commonly used sensors and actuators. These software drivers interact with the underlying hardware platform (or microcontroller), as well as with the attached sensors, through calls to [MRAA](https://github.com/intel-iot-devkit/mraa) APIs.
Programmers can access the interfaces for each sensor by including the sensor’s corresponding header file and instantiating the associated sensor class. In the typical use case, a constructor initializes the sensor based on parameters that identify the sensor, the I/O protocol used and the pin location of the sensor.
C++ interfaces have been defined for the following sensor/actuator types, but they are subject to change:
The developer community is encouraged to help expand the list of supported sensors and actuators and provide feedback on interface design.
Multi-sensor samples for the starter and specialized kits can be found in the iot-devkit-samples repository.
Individual sensor usage examples for Python are available here.
While there is no official IDE provided with our Python libraries, we do recommend the web-based IDE Wyliodrin. It can be used with multiple programming languages, including Python. More information can be found on the Intel Developer Zone IDE page.
This link has more information on making a new UPM module.
There is also an example available for max31855 sensor.
Before you begin development, please take a look at our naming conventions.
Also, please read the guidelines for contributions to UPM.
Don’t forget to check the documentation section.
Click on the library prefix below to expand the full list of sensors: