esphome-fan-controller icon indicating copy to clipboard operation
esphome-fan-controller copied to clipboard

Fritzing Img ESP Pinouts?

Open bfleg opened this issue 1 year ago • 4 comments

Hi @patrickcollins12 - thanks for the awesome project! This has been on my to-do list for months, although I'm intending to modify it (or at least try to!) to control speed with humidity (drying cupboard use-case!)... Although just noticed I'm also going to have the 0% PWM / fan off issue too...

However, just as I was about to get going, it seems that the Fritzing diagram of the ESP pinouts don't match my ESP (Firebeetle), is the diagram intended to be correct or is it more a rough guide and should follow the descriptions? For example, your description and code use GPIO25, but I don't believe that's the pin shown on the fritzing?

Thanks again...

bfleg avatar Oct 19 '23 21:10 bfleg

All pins that can act as outputs can be used as PWM pins to control the fan (GPIOs 34 to 39 can’t generate PWM).

patrickcollins12 avatar Oct 19 '23 21:10 patrickcollins12

In my experience it's very quick to test. Just play around with the pins until you get the result you want. Generally stay away from the lower and higher pins as they often have special purposes. Stick with pins from 13-33.

patrickcollins12 avatar Oct 19 '23 21:10 patrickcollins12

This is the canonical article

https://randomnerdtutorials.com/esp32-pinout-reference-gpios/

patrickcollins12 avatar Oct 19 '23 21:10 patrickcollins12

cool resource - thanks very much for sending that on and the quick reply!

bfleg avatar Oct 19 '23 22:10 bfleg