0

Hello i am using ESP8266 to control my 220v AC ceiling fan.

I am able to do that easily with a 5v 10A relay module.

But i want to know is there any module to control the fan speed as well? i have checked many videos on YouTube but couldnt understand how can i do that. I just got one thing that it will require Pulse Width Modulation to control it.

Thank you!

  • I just got one thing that it will require Pulse Width Modulation to control it huh? what? – Jaromanda X Feb 25 at 11:31
  • to control Celling fan speed – user3201500 Feb 25 at 12:21
  • no, pwm will not help you. the trick is to turn the relay on and off fast. the mechanical relay cant do it, so you need a SSR (solid state relay) – Juraj Feb 25 at 12:26
  • @Juraj Thank you for amazing suggestion. But can you share any example code? Or any library which can help with this? – user3201500 Feb 25 at 16:44
  • Blink example ? – Juraj Feb 25 at 17:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.