How to connect ESP-32 to Feetech URT-1 to control SCS serial bus servos

Hello I've been struggling to connect ESP-32 to Feetech URT-1 to control SCS09 serial bus servos. I've tested the URT-1 with SCS09 using Feetech Debug software... all OK. I've installed CH340 driver... all OK.

I'm using this Feetech given Arduino IDE WritePos.ino to test out with my ESP-32. Here the codes, my SCS09 is programmed with ID=1 ... and the pict connection. Uploading the Arduino sketch no errors... in fact the URT-1 Tx light keeps blinking slowly... but the SCS09 servo aint moving.

Anyone has tried this conn betw ESP-32 and URT-1??? TQ very much. :smile:

#include <SCServo.h>
SCSCL sc;

void setup()
{
  Serial1.begin(1000000);
  sc.pSerial = &Serial1;
  delay(1000);
}

void loop()
{
  sc.WritePos(1, 1000, 0, 1500);
  delay(754);//[(P1-P0)/V]*1000+100
  
  sc.WritePos(1, 20, 0, 1500);
  delay(754);//[(P1-P0)/V]*1000+100
}

My bad bad mistake, forgotten to change Serial1 to Serial2 in sketch becoz I'm now using Tx2/Rx2 on ESP32. SOLVED!!!

Where did you find the Feetech SCServo Debug software? I've been looking all over for it and haven't found it. I have the CH340 driver.

https://gitee.com/ftservo/fddebug

Awesome! Thanks so much!

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.