-->
Page 1 of 2

Control a shift register on ESP8266

PostPosted: Thu Jun 04, 2015 4:01 pm
by Andrei Cristian
Anyone having ideas for driving 74HC595 shift register with just 2 GPIOs from ESP-01? Actually, I would like to upload defined stages (eg: 10001000, 11110000) to drive 8 leds.

Besides that, ff you have other ideas (including hw solution) in controlling 8 independent LED from ESP, I would like to learn how to do it.

Re: Control a shift register on ESP8266

PostPosted: Fri Jun 05, 2015 6:01 am
by anakod
You can use TX pin as 3rd GPIO, and it will work.

Re: Control a shift register on ESP8266

PostPosted: Fri Jun 05, 2015 8:21 am
by martinayotte
Personally, I prefer I2C GPIO extender such as MCP23017, it can be easily attached to ESP-01 using only 2 pins.

Re: Control a shift register on ESP8266

PostPosted: Mon Jun 08, 2015 3:38 pm
by anakod
It's misprint I want to say RX pin, in that case debug output will be available and you can use additional pin. Pins extenders is a good choice also, of course.