@Yahya_amirinejad
As I do not have a RPi Pico board on hands, so I can only “propose” (and not verify) the following approach:
- Use the UART Ports on the RPi Pico with the DXL MKR shield:
- Use the Dynamixel2Arduino library installed to RPi Pico to control the DXLs
Now, I do not know if the D2A library is compatible with the RPi Pico’s Core M0+ controller or not, so this is a crucial test.
Please see this post as an example of interfacing ESP32 with DXL MKR board: