nordeep / esphome_fan_controller

ESPHome PWM FAN controller
52 stars 6 forks source link

Using other pin for fan supply? #5

Open kyet opened 1 year ago

kyet commented 1 year ago

Based on the below link, https://rabbithole.wwwdotorg.org/2017/03/28/esp8266-gpio.html

D5 is high, then low after ~110ms as you noticed. But D1, and D2 are low on boot/flash.

If we use D1 or D2 instead of D5, we could not need a workaround that outputs PWM 100% for the turn-off.

I didn't test yet. Just an idea. What do you think?

nordeep commented 1 year ago

Thank you. It makes sense. I'll test this later.