Water pump activation through a humidity sensor

Hi,

I am having a lot of trouble wiring and coding for an irrigation system based on relative humidity. All I want to do is have a water pump (DC pump 12v) turn on when the humidity sensor receives data that the air around some plants is arid. Any help would be much appreciated.

What code do you have so far? (Please use [ code ] tags.) What does it do when you turn it on?

Unfortunately I don't understand it well enough to even begin the code. I have tried to copy some examples of iterations but they often use pieces (such as a relay), which I am excluding.

I am including a picture of what I have wired so far, if that is any help.

You are starting with a project that is too advanced for your current understanding.

Start with the basics: blink an LED, output a tone to a speaker, etc. These come with the Arduino IDE, and there are plenty of tutorials on the web.

Then buy a humidity sensor and learn to read the sensor and understand the output. This is not as simple as it may sound, because the relative humidity depends very strongly on the temperature.

Finally, learn how to control a motor. You will need external circuitry and a power supply for that. If this is not done properly you can destroy the Arduino.

When all that is well understood, put the pieces together. Have fun!

Yes, I agree. It is a for a class which is coming to an end. Arduino instruction was very limited in the curriculum and I just now fully understand how far over my head this project is.

No need to quit when the class ends, I hope!
This could be a very fun and satisfying project, so don't be discouraged.
Forum members will be happy to help if you get stuck.