For some motor driver and BLDC motor combinations with encoders, the controller works universally through its I2C interface via PID control and Nichols-Ziegler auto-tuning algorithm for automated PID constants. I2C Addressing: Slave Address: 0x72 Subaddresses:
Test when a motor setup is ready by simply communicating through I2C with SCL at about 100kHz. With the adressing above, one can automate PID control or take over (override) to manual settings. Generated PWM and desired motor period is also interfaced through I2C and fully configurable.
Motor Driver has to be used in order to convert digital pwm signals to power signals.
BLDC motor with positive and negative inputs & at least 2 encoders must be used to infer speed and direction.
Pullup resistors are needed to communicate through i2c, if not provided.
# | Input | Output | Bidirectional |
---|---|---|---|
0 | encoder_a | motor_positive | sda |
1 | encoder_b | motor_negative | |
2 | |||
3 | |||
4 | |||
5 | |||
6 | |||
7 | scl |