Page 2 of 2

Re: DS5160 SSG Servo Motor (MCPWM)

Posted: Tue May 30, 2023 7:55 am
by Gitprodenv
That reminds me: Are the servo's and the ESP's GND connected together?

No. I have a separate power supply for each:
An external power supply connecting the ESP32 with 5V + GND.
And another power adapter with 7.4V connected with VCC and GND to the servo.

Re: DS5160 SSG Servo Motor (MCPWM)

Posted: Tue May 30, 2023 9:00 am
by MicroController
No. I have a separate power supply for each:
An external power supply connecting the ESP32 with 5V + GND.
And another power adapter with 7.4V connected with VCC and GND to the servo.
Then that's your problem. You must provide a common GND to both the ESP and the servo.

Re: DS5160 SSG Servo Motor (MCPWM)

Posted: Tue May 30, 2023 12:24 pm
by Gitprodenv
This was the issue. Haha finally I made it.
I almost declared this project a failure :lol:

Thx a lot @MicroController

Re: DS5160 SSG Servo Motor (MCPWM)

Posted: Wed May 31, 2023 8:08 am
by MicroController
Glad you got it working :)
Good luck with your project!