Skip to content

viam-modules/sensirion

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This sensirion module implements a sensirion sht3xd sensor for temperature and humidity using the rdk:component:sensor API.

Note

Before configuring your sensor, you must create a machine.

Navigate to the CONFIGURE tab of your machine in the Viam app. Add sensor / viam:sensirion:sht3xd to your machine.

Configure your sht3xd sensor

Copy and paste the following attributes into your JSON configuration:

{
  "i2c_bus": "0",
}

Attributes

The following attributes are available for viam:sensirion:sht3xd sensors:

Attribute Type Required? Description
i2c_bus string Required The index of the I2C bus on the board that the sensor is wired to.
i2c_address string Optional The I2C device address of the sensor.
Default: 0x44

Example configuration

  {
    "i2c_bus": "<your-i2c-bus-index-on-board>",
    "i2c_address": "<your-i2c-address>"    
  }

Next Steps

  • To test your sensor, expand the TEST section of its configuration pane or go to the CONTROL tab.
  • To write code against your sensor, use one of the available SDKs.
  • To view examples using a sensor component, explore these tutorials.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •