Hi,
I want to build a panel that has:
- 8 push buttons (like this one:
https://m.media-amazon.com/images/I/51+XvhFq5FL._SL1100_.jpg)
- 8 5V LEDs (in the button, but controlled separately)
- 8 relays
I want to control all that with an ESP32.
The relays are in a modules,
triggered on LOW, similar to this one:
Relays:I have some 74HV595 shift register, that I thought I could use to control the relays.
My concern is that the relays might get triggered while the microcontroller is booting. To solve that, I was planning to add a transistor to a GPIO to control the relays power supply (JD-VCC) (the PN2222A in the schematics bellow)
Leds:I was thinking on adding a ULN2003 in series to the 74HV595, that would allow me to handle more current and voltage
My conceptual design:
Since I am a self-tough beginner on electronics (pretty dangerous combination)... What do you think on that design?
Is there a better way to make sure the relays are all off while the microcontroller is booting?
Thank you!