This is a complex project with many different components. There are endless things you can do differently. Here are a few suggestions:
Category: Automatic Garden-Irrigation System
https://myapps.elegantwallp.com/wp-content/uploads/2024/02/programming.png
Testing the Finished Automatic Garden Irrigation System
NOTE Always test your projects in modules individually at first, in whatever way the project allows you to do this. Start by testing the Arduino and Proto Shield without the two power supplies connected. This means that your computer is providing power to the Arduino. As before, use the Blink example to test each digital… Continue reading Testing the Finished Automatic Garden Irrigation System
Assembling Your Project into a Case
Now we need to consider mounting the project in a case. Your best bet is a case that is not too deep to allow easy access, and lay everything out with a bit of room around them. Remember that the Arduino has a shield on top of it, and perhaps the RTC is standing vertically,… Continue reading Assembling Your Project into a Case
Testing Your Assembled Proto Shield
First test your shield without the valves or valve power supply. Plug the shield into your Arduino. Make sure the male header on the shield goes into the correct Arduino pins. Look between the two and make sure that no connections from the bottom of the shield are touching anything on the Arduino. If they… Continue reading Testing Your Assembled Proto Shield
Soldering Your Project on the Proto Shield
For a great tutorial on how to solder, study the “Adafruit Guide to Excellent Soldering.” Now, finally, you’re ready to start soldering! WARNING Don’t rush. Be careful. Remember to breathe and relax. Double-check the schematic for each connection before you solder it. Inspect your work often for bad solder joints or other mistakes. Don’t try to… Continue reading Soldering Your Project on the Proto Shield
Laying Out Your Project on the Proto Shield
The first step is to think about what needs to fit on here, and where they will be. We need to make room for the MOSFETs, relays, LEDs, and screw terminals. The screw terminals should be along a side that is accessible, and it would be nice if the LEDs were near the appropriate screw… Continue reading Laying Out Your Project on the Proto Shield
The Proto Shield
As I mentioned earlier, we’ll use the Proto Shield because it provides a secure and easy way to connect a project to Arduino. You can buy this from the Arduino Store. There are many other Proto Shields available. Any will work, but you may have to make changes to the layout to fit your particular shield. Some… Continue reading The Proto Shield
Assembling the Circuit
Finally, we’re done with the sketch and we’ve tested all the components! Are we ready to start soldering? Not quite: we’ve tested the various components separately, but not together. You might think that this step is unnecessary, but integration testing is vital. This step discovers unexpected interactions between components, whether hardware or software. For instance, two components… Continue reading Assembling the Circuit
Putting It All Together
We’re almost done with the sketch. Just a couple of other minor things to consider, and then we can put this all together. First, what if the user wants to see the current valve schedule? That’s easy, but how does the user tell us? The user could type the letter P for “Print”, but now the sketch… Continue reading Putting It All Together
Checking for Rain
What about checking for rain with the humidity sensor? You can do this at the same time you check the time, but it becomes a very long line. It’s OK to use another if() statement; long-time programmers might tell you this is less efficient, but your garden won’t care if the water comes on a split second… Continue reading Checking for Rain