I am currently working on a project involving quite some different components, I am not very knowledgeable with arduino, some of the components are pretty straightforward, except for the pumps, that's where I am having some issues to whether or not I am doing it right. I have prepared some breadboard views with fritzing (also new to the program) I have connected both pumps into the arduino mimicking what I have in mind when the parts arrive. I would please like some feedback whether or not the connections are correct, and also what would be the most efficient way to connect them, I'd really appreciate that
I was thinking of using the 2 module relay to save some space on the breadboard for the other components (they're all 5V dc) but again I am open to suggestions. I did some research through the forum and found that diodes and resistors are recommended for this type of connection, I only considered it on the 12V pump since it's going to be working pretty much all the time that the system is running, while the 6V will work 1 to 3 times for each run of the system. The objective is to regulate pH of water. Should I consider connecting the 6V pump the same way as the 12V?
My apologies for the terrible cable management in the program
Any particular reason to not use relays for this case?
They don't wear out, basically last forever.
If you use the 2 channel relay module, it's always best to power it from a separate power supply and not from an Arduino. That might not be a problem for you since you have a 12V supply and you could buy a 12V relay. However, you need to buy a relay that can be powered by 12V and operated by 5V from the Arduino
So you could power the Arduino, 12V pump and 12V relay with one 12V supply, the only need a 6V supply or 12v-6V buck converter for the 6V pump. This arrangement may be simpler for you.
Thank you, I'll try to look into it but the main reason I am considering relays is due to space in the breadboard itself for other components...
Using both a 2 relay or a single relay for the pumps should work then as long as they have their own power supply then. I probably didn't mention it but the 6V pump is meant to be powered by a 6V power supply.
I see that for the single relays it should work, however, if I go for the 2 relay configuration, two different power supplies can be connected to it correct? (Like the third image, assuming one Power supply is 12V and the other is 6V)