I am working on home vertical growing project.
I am using:
- Power supply 12V 20A (https://www.aliexpress.com/item/32983648084.html?spm=a2g0s.90423220.127.116.11af34c4d5hRuZn)
- Voltage regulator L7805CV (https://datasheet.octopart.com/L7805CV-STMicroelectronics-datasheet-7264666.pdf)
- 4-channel relay module (https://www.handsontec.com/dataspecs/4Ch-relay.pdf)
- Arduino 2560 Mega
Below is my wiring diagram (it is not the nicest, but I don't know what programs are you using for better drawings). There is not shown, but those "INx" signals from relay module are connected to arduino digital pins. In total there will be 6 relay modules.
At first I was supplying 3 modules with only 1 L7805CV, but when I tried controlling modules only one relay clicked, but the leds were lit up for all of them but they were dimed. At this point there was no Arduino connected I was using only one wire and connecting it to 5V or GND, controlling one relay at a time.
So I thought it was problem with power supplying, and added one L7805CV for each relay module. And now sometimes they "click", sometimes they don't and sometimes they are "clicking" like crazy while control signal is not changing. And sometimes there are some wired buzzing sounds.
Are there any suggestions?
Thanks in advance for all the answers.