Hello guys,
I am new to the community and new to the world of Arduino, I would like some guidance about a project that I'm working. I have no idea about wiring at all.
I want to make an automated irrigation system with a solenoid valve, I have successfuly connected the humidity sensor and the numbers are correct.
But now I wanted to connect the solenoid and it seems I'm doing something wrong with the wires.
I have a simply silicone copper wire, I have connected the - of the 12v power supply into 1 pin of the solenoid valve and the + into the 2 relay module , then i have connected the other pin of the solenoid valve into the relay module , I have also connected the GND , VCC, 5V of relay module into the Arduino ATMEGA GND, VCC, 5V
I used this code to run it.
Thank you all in advance and sorry for my bad English.
It's my first time wiring anything to be honest!
I thought that I might have picked the wrong wire but everywhere I looked they said this is the one you need, silicone copper wire.
Let me spell it out for you. I'm asking you to tell us why you say there is something wrong. We believe you that there is something wrong, but we don't know what that is because you have not told us. You only told us there is something wrong. Try to remember that we are not there in the room with you.