Unlimited output pins !!!
Posted: Fri Apr 12, 2019 3:30 pm
I found an easy way to get loads of output pins on an ESP8266 but it is also usable for ESP32, Arduino, Microbit etc.
This is not using the 74X595 but I am using the WS2811 chips. Cheap, easy to use and expand.
The fun is that you can use PWM on them so you can get loads of output ports with PWM with almost no effort. Just use the neopixel library.
I give you some example programs in ESPBasic and in Lua. Arduino code in next part. So keep reading.
Source code and hardware schematics on my weblog:
https://lucstechblog.blogspot.com/2019/ ... ur_12.html
I wonder why nobody did this befoer (as far as I know).
Luc
This is not using the 74X595 but I am using the WS2811 chips. Cheap, easy to use and expand.
The fun is that you can use PWM on them so you can get loads of output ports with PWM with almost no effort. Just use the neopixel library.
I give you some example programs in ESPBasic and in Lua. Arduino code in next part. So keep reading.
Source code and hardware schematics on my weblog:
https://lucstechblog.blogspot.com/2019/ ... ur_12.html
I wonder why nobody did this befoer (as far as I know).
Luc