-->
Page 1 of 2

How to control 8ch relay with esp8266-01 using shift registe

PostPosted: Mon Dec 16, 2019 5:19 am
by loli_roller
Hi,

Is there a way to control 8 relay switches using esp8266-01 with a shift register

Re: How to control 8ch relay with esp8266-01 using shift reg

PostPosted: Thu Aug 20, 2020 12:59 am
by guysnraw
I have done with 4ch but 8 :roll: , I guess no way. Esp01 doesn't have much pin

Re: How to control 8ch relay with esp8266-01 using shift reg

PostPosted: Fri Aug 21, 2020 10:05 am
by schufti
there are several options:
shift register with just two pins - not secure, makes your relais flicker during shifting
shift register with more pins - then you don't have serial
two pins for i2c i/o expander

Re: How to control 8ch relay with esp8266-01 using shift reg

PostPosted: Fri Aug 28, 2020 4:01 pm
by dscott
Do you need the serial for debugging purposes? I personally use gpio pins 0, 1(TX), 2, 3(RX) all the time with no issue except for the fact I can't write to the serial monitor. Just set their pinMode to OUTPUT and use them like any other. Putting the Esp01 in programming mode completely ignores your pinMode setup. Of course, you can always try tapping other pins directly if you're up for it... I have 10 GPIO's with one of my ESP01's. For what its worth :/