Configure a numato board
Configure a numato
board to integrate Numato GPIO Peripheral Modules into your robot:
Navigate to the Config tab of your robot’s page in the Viam app.
Click on the Components subtab and navigate to the Create component menu.
Enter a name for your board, select the type board
, and select the numato
model.
Click Create component.
Edit and fill in the attributes as applicable.
{
"components": [
{
"name": "<your-numato-board>",
"type": "board",
"model": "numato",
"attributes": {
"pins": <number>,
"analogs": [
{
"name": "<your-analog>",
"pin": "<number>",
"spi_bus": "<your-spi-bus-name>",
"chip_select": "<number>"
}
]
},
"depends_on": []
}
]
}
The following attributes are available for numato
boards:
Name | Type | Inclusion | Description |
---|---|---|---|
pins | int | Required | Number of GPIO pins available on the module. |
analogs | object | Required | Attributes of any pins that can be used as inputs for the module’s internal analog-to-digital converter (ADC). See configuration info here. |
Have questions, or want to meet other people working on robots? Join our Community Discord.
Was this page helpful?
Glad to hear it! If there is anything we could be doing better, please create an issue.
We're sorry about that. If you'd like to talk to us for help, please join the Community Discord. To ensure we know what's wrong with this page, you can also open an issue.