[NXP CUP] How to connect wheel encoders to the FMUK66

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

[NXP CUP] How to connect wheel encoders to the FMUK66

2,168件の閲覧回数
alexandre_saraz
Contributor I

Hello,

For the needs of a project, we want to use 2 wheel encoders on our car. I would like to know if there is a way to connect the ROB-12629 wheel encoders (referenced in the list of additional components) to the RDDRONE-FMUK66 and how to read the encoder data inside the PX4 firmware?

Hardware configuration:

chassis: DFRobot ROB0165 brushless

platform: RDDRONE-FMUK66

camera: Pixy2Cam

Thank you,

Alexandre

タグ(3)
2 返答(返信)

1,949件の閲覧回数
nxf52129
NXP Employee
NXP Employee

Hey Alexandre,

You can connect the encoders to the PWM outputs in the back of the FMU. The PWM pins should be bidirectional. For programming see the PWM input example at the PX4 master: Firmware/src/drivers/pwm_input at master · PX4/Firmware · GitHub 

Regards,

Katrin

1,949件の閲覧回数
alexandre_saraz
Contributor I

Thank you for your answer Katrin.

Best regards,

Alexandre