lethe wrote:With an ESP-01 you only option is to use I2C I/O expanders such as the MCP23017 or PCF8575 (or PCA9685 if you need PWM dimming).
With ESP modules that have more GPIOs, there are more options like:
- charlieplexing basically comes for free, you can drive 20 LEDs using 5 GPIOs, but addressing the LEDs is a bit complicated. See https://en.wikipedia.org/wiki/Charlieplexing
- using 74HC595 shift registers. These are really cheap, easy to interface and can be driven at high speed using the SPI port.
Interesting!
Charlieplexing looks way out of my league (for now).
The other option seems interesting and more in the line that what I was looking for. I will look further for that option.
Thanks!