can i connected pump for two arduino , so it can take the order from them and work in the same time ?
Yes … unsure why you would want to do this . If one Arduino wants it on and the other wants it off what do you do ?
If you just want either to be able to switch it on ( but need both off to switch it off ) use a diode from each Arduino output to connect to your pump driver .
Google “ diode OR gate “
Alternatively just drive the pump from one Arduino and signal via a digital input to that Arduino from the digital output of the other and use your software to make the decision
not like that , i have a bluetooth with arduino that receive data from another arduino to turn on the pump , in the same time i want to put a bush button to also turn on the pump , when i add a bluetooth code to a bush button code , it doesn't work , so do you have a solution for this problem ?
i think to put another arduino in same pin for the relay of the pump ? is that correct ?
upload a schematic showing the wiring of your system and the code (using code tags)
which Arduino boards are you using?
Does the bluetooth work on it's own?
yes , the bluetooth work on it , but the bush button no
upload your code (use code tags - click </> and paste code)?
Absolutely classic "X-Y" problem!
Yep I fell for the X-Y bit , in my defence , the first question seemed so simple at the time… I’m out
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.