


On 7 Oct 2022, at 18:47, Justin Adie <justi...@adieandco.com> wrote:
Dear hive mindI’m trying to set up a servo motor (for a cat feeder) using an ESP32 and tasmota. Bare Arduino code works fine.I’m running into problems getting tasmota to do its stuff. I’m following the guide here: https://github.com/arendst/Tasmota/discussions/10443My set up is below (using a self-compiled 12.1.0.1 version that I use on a number of other esp32s)
<PastedGraphic-1.png><PastedGraphic-2.png>
NB I am using a PWM frequency of 50Hz as the servo I am using has a pulse width of 20ms.Shutter min and max are set at default (Shutter 1: min:90 max:500”}). PWMRange is unchanged at 0-1023.The issue I have is the the motion is extremely erratic and not capable of calibration (I’ve spent hours trying before zeroing the settings to record the video here to demonstrate on a clean install:A snip of the console during the shutter moves is below
<PastedGraphic-3.png>
Not sure if this is the issue but PWM1-5 are ledc PWMs and 6+ are general purpose PWMs.
Sent from Mail for Windows
--
You received this message because you are subscribed to the Google Groups "TasmotaUsers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonoffusers...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/sonoffusers/DA2B294E-3AD0-4E8B-B88C-1DD7FB0C12AF%40adieandco.com.
Have you tried SetOption15 0?
The ESP32 seems to have both LEDC and MotorPWM but Tasmota defaults to LEDC for 1-5.