Micro-RDK Sensor Models
A sensor is a device that can measure information about the outside world. For more information and models supported by the RDK, see Sensor Component.
Supported models
For configuration information, click a supported sensor model name:
Model | Description |
---|---|
ultrasonic | HC-SR04 ultrasonic sensors |
Add support for other models
If none of the existing models fit your use case, you can create a modular resource to add support for it.
The micro-RDK works differently from the RDK, so creating modular resources for it is different. Refer to the Micro-RDK Module Template on GitHub for information on how to create custom resources for your micro-RDK machine. You will need to recompile and flash your ESP32 yourself instead of using Viam’s prebuilt binary and installer.
API
The micro-RDK sensor API supports only the following client SDK API methods, which operate the same as in the full-featured RDK:
Was this page helpful?
Glad to hear it! If you have any other feedback please let us know:
We're sorry about that. To help us improve, please tell us what we can do better:
Thank you!