Hi everyone, I'm new to this forum and I really need your help.
I'm making a school project, a domotic house, but I've run into a problem. The GPIOs of the Raspberry Pi 4 can output at max 3.3V, which was not enough to power my 5V relay, used to run a water pump. So since the entire project is gonna be powered by a 220VAC - 12VDC transformer, I decided to buy two linear voltage regulators, an LM7805 and an LM3940. I'm sure the regulators work but when I connect them in "cascade" both of them output 3.2V. I'm gonna attach the schematic, hoping you can help me figure this out!
(I know this is a pretty bad circuit but I'm not an engineer, yet)
(No capacitors since I forgot to buy them lol)
I'm making a school project, a domotic house, but I've run into a problem. The GPIOs of the Raspberry Pi 4 can output at max 3.3V, which was not enough to power my 5V relay, used to run a water pump. So since the entire project is gonna be powered by a 220VAC - 12VDC transformer, I decided to buy two linear voltage regulators, an LM7805 and an LM3940. I'm sure the regulators work but when I connect them in "cascade" both of them output 3.2V. I'm gonna attach the schematic, hoping you can help me figure this out!
(I know this is a pretty bad circuit but I'm not an engineer, yet)
(No capacitors since I forgot to buy them lol)