Controlling pump with Digital pin, but use another power source

Hi @fedda123
In your good conscience, do you think that someone would be able to help you with this information you posted?
Please read the highly enlightening topic:
How to get the best out of this forum.

Then redo your initial post and then we might be able to help you.

RV mineirin