arendst / Sonoff-MQTT-OTA-Arduino

Provide ESP8266 based itead Sonoff with Web, MQTT and OTA firmware using Arduino IDE - Now EOL
618 stars 197 forks source link

Idea : New module - PWM #286

Open KPK75 opened 7 years ago

KPK75 commented 7 years ago

I was thinking about controlling FAN Speed. The only thing you need is one GPIO put in PWM mode and a fan with PWM control. And of course a few commands ie. : PWM_SETFREQ, PWM_SETRANGE, PWM_VALUE. And i think it can be done.

AlexTransit commented 7 years ago

good idea. PWM can by use for light dimmer. PWM_START_VALUE PWM_TIME gradually change the value for a specified time

phedders commented 7 years ago

Anyone done it yet? I want to PWM some 30W/12v LED lights using extern mosfets...

phedders commented 7 years ago

See also Tasmota #20