Configure a ti board
REQUIREMENTS
Follow this setup guide to prepare your TDA4VM for running viam-server
before configuring a ti
board.
Configure a ti
board to integrate a Texas Instruments TDA4VM 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 ti
model.
Click Create component.
Edit and fill in the attributes as applicable.
{
"components": [
{
"name": "<your-ti-board>",
"type": "board",
"model": "ti",
"attributes": {},
"depends_on": []
}
]
}
The following attributes are available for ti
boards:
Name | Type | Inclusion | Description |
---|---|---|---|
analogs | object | Optional | Attributes of any pins that can be used as analog-to-digital converter (ADC) inputs. See configuration info here. |
digital_interrupts | object | Optional | Any digital interrupts’s pin number and name. See configuration info here. |
spis | object | Optional | Any Serial Peripheral Interface (SPI) chip select bus pins’ index and name. See configuration info here. |
i2cs | object | Optional | Any Inter-Integrated Circuit (I2C) bus pins’ index and name. 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.