servo_controllers:

Config file section

Valid in machine config files YES
Valid in mode config files NO

The servo_controllers: section of your config is where you configure PCA9685/PCA9635-based I2C servo controllers. See I2C Servo Controllers for details.

Optional settings

The following sections are optional in the servo_controllers: section of your config. (If you don’t include them, the default will be used).

address:

Single value, type: integer. Default: 64

I2C address of your controller. The default of the chip is 0x40 which is 64 in decimal. There might be some prefix depending on your I2C interface.

debug:

Single value, type: boolean (Yes/No or True/False). Default: False

Set this to true to see more debug output.

label:

Single value, type: string. Default: %

Label of the controller in service mode.

platform:

Single value, type: string. Default: None

Name of the platform this servo controller is connected to. The default value of None means the default hardware platform will be used. You only need to change this if you have multiple different hardware platforms in use and this coil is not connected to the default platform.

See the Mixing-and-Matching hardware platforms guide for details.

servo_max:

Single value, type: integer. Default: 600

The controller is driving the servo using PWM. servo_max defines thes the upper PWM limit. It will use a duty cycle of value/4096 at 50Hz.

servo_min:

Single value, type: integer. Default: 150

The controller is driving the servo using PWM. servo_min defines thes the lower PWM limit. It will use a duty cycle of value/4096 at 50Hz.

tags:

List of one (or more) values, each is a type: string. Default: None

List of tags for this controller. Currently not used.