Skip to content

Latest commit

 

History

History
42 lines (33 loc) · 1.01 KB

README.md

File metadata and controls

42 lines (33 loc) · 1.01 KB

nau7802

Module for a load cell bridge sensor amplifier

Usage

1. Build binary

If you clone this repository to the target environment where you run your Viam robot, then you can build a binary named nau7802 with:

go build -o nau7802

Alternatively, if you want to build a binary for a different target environment, please use the viam canon tool.

2. Add to robot configuration

Copy the binary to the robot (system where viam-server is running) and add the following to your configuration:

  ...
  "modules": [
    ...,
    {
      "executable_path": "<path_to_binary>",
      "name": "nau7802-module"
    },
    ...,
  ],
  "components": [
    ...,
    {
      "name": "",
      "type": "sensor",
      "model": "viam-labs:sensor:nau7802-module"
    },
    ...,
  ],
  ...

For more information on how to configure modular components, see this example.