I want to create a digital water curtain. Currently, I am using an Arduino Mega (D0-D53, A0-A13) to control 68 relays. Each relay is connected to one solenoid valve, making a total of 68 solenoid valves. The relay model is 5V low-level trigger. The working voltage of each solenoid valve is 12V,0.13A.
circuit diagram: I am powering the Arduino via USB, providing power to the solenoid valves with a bench power supply (30V/10A), and using an external power supply of 5V/10A for 7 multi-channel relays.
Current issue: When I control all relays separately with the Arduino Mega (without connecting the solenoid valves), there is no problem. However, when I try to power the solenoid valves in the circuit, it often causes the Arduino to reset while it is working. I have observed the current from the bench power supply, and it does not exceed its calculated maximum current. Currently, I am not sure if this is the problem that I need to add a transistor to each Digital pin of the Arduino Mega to prevent kick-back of the current.
Please help me, thank you!
11 posts - 5 participants