Configure hardware
Viam represents every piece of hardware on your machine as a component with a standardized API. A camera is a camera whether it connects over USB, Ethernet, or CSI. A motor is a motor whether it’s a brushed DC motor on GPIO pins or a stepper on a CAN bus. Your application code calls the same methods regardless of the underlying hardware.
This means you can swap hardware without rewriting code, reuse configurations across a fleet of identical machines, and test your application logic against fake components before the physical hardware arrives.
This section covers how to add hardware to your machine, configure it, and verify it works.
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!