ESP32 + DXL Shield MKR Mashup in ARDUINO

UPDATE 8/12/2023

I finally got the time to review/recheck this ESP32-V2 mash-up project with the new Robotis Dynamixel2Arduino Library V. 0.7.0 and the new ESP32 Boards Library V. 2.0.11. This project was successful back in February 2023 as shown in my previous posts, but recently (6 months later) I have found that my old sketches and my prototype PCB as described in the above posts DO NOT WORK properly anymore. So, I implemented a series of steps to figure out “what really is going on”!

STEP 1 – Checking my prototype PCB.

I stacked an Arduino MKR 0 on top of my PCB (i.e., MKR DXL SHIELD) as shown below:

MKR_0_and_DXL_SHIELD

And my previous SyncWrite-Goal-Position/Goal-Velocity sketch worked fine:

MKR_0_DXL_SHIELD_OK

So, my prototype PCB is still working fine with the new Dynamixel2Arduino Library V. 0.7.0 and Arduino MKR Zero board!

STEP 2 – Checking my Adafruit ESP32 V2 Serial1 Port functionality.

I used a BT-210 hooked up the RX/TX Pins of the ESP32 V2 as shown below:

AF_F_V2_Serial1_BT-210

And I made an ESP32 sketch that applied the Robotis RC-100 protocol to work with the TASK 2 Output Monitor, and it worked fine for me – see below:

AF_F_V2_Serial1_RC100

So Serial1 Port on my Adafruit ESP32 V2 is working fine as a UART Port via BT-210 and TASK2.

STEP 3 – Checking my Adafruit ESP32 V2 Serial1 Port functionality with Dynamixel2Arduino Library.

I re-implemented my previous mash-up project between the Adafruit ESP32 V2 + MKR DXL Shield as shown below:

AF_F_V2_Serial1_SW

Then I ran my previous ESP32 sketch that “previously” worked with 2XL430s but NOW with the NEW software tools (D2A V. 0.7.0 and ESP32 V. 2.0.11). It compiled and downloaded OK into the ESP32 V2 board, but the run-time results are quite unexpected - see below:

AF_F_V2_MKR_DXL_SHIELD_NotWorking

Apparently, DYNAMIXELS connected to the MKR DXL Shield CAN NO LONGER be found, so it looks like that my ESP32 + D2A mash-up project CAN NO LONGER be IMPLEMENTED for REASONS UNKNOWN at this point in time.

I retested my other mash-up projects with the Adafruit ESP32 S3 and UM ESP32 S3, and these projects (previously working) are no longer working in similar fashions!!!

Basically my previous SOLUTIONS are no longer “SOLUTIONS” :face_with_raised_eyebrow: