Skip to content

ESP32 PWM Fade up, and Fade down unstable #5344

@Gruffnco

Description

@Gruffnco

I use an esp8266 to drive a motor with PWM so that it ramps up to full speed over 2 seconds,
waits for 10 seconds at full speed the ramps down again over 2 seconds, and its been working great.

I have upgraded to an ESP32 to do the same job and using version Build: ESP_Easy_mega_20211105_normal_ESP32_4M316k Nov 5 2021 it works good and reliable.

I now have upgraded to the latetest version of ESPEasy Build: ESP_Easy_mega_20250430_normal_ESP32_4M316k_ETH Apr 30 2025
and although it seems to work is soon crashes the esp32 and I have to reset it.
I have tested it on a few ESPs and the all do the same.

here is the test rules I use:-

on System#Boot Do
looptimerset,1,20
Endon

On Rules#Timer=1 Do
PWM,23,1023,2000
TimerSet,2,10
Endon

On Rules#Timer=2 Do
PWM,23,0,2000
Endon

Am I missing something?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions