52. RDC
52.1. Overview
The rdc example project demo position information from a rotary encoder.
52.2. Board Setting
Connect the rotary encoder driver board to the motor interface (Please refer to RDC Pin Description), then connect the rotary encoder to the driver board.
Driver board 14V power supply
RDC model SG52-4-G12.7
RDC encoder have 4 pole, so one turn of the electrical angle corresponds to 1/4 turns of the actual position.
52.3. Running the example
Rotate the motor and the serial terminal will output the angle information as follows:
theta: 1.
theta: 20.5.