I've just started reading/learning about Arduino and the programming involved. I'm really fascinated by sensors and their practicality, so I picked up the book "Make: Getting Started with Arduino" for next to nothing, used. I'm doing the irrigation project in chapter 8. I need to make sure some sensitive plants get watered on a regular schedule. I'm not having any hardware issues (I enjoy that!), just programming issues. The thing is, I don't want to use the DHT11 temp/humidity sensor at all, and simply want to turn a single water valve on at a certain time possibly daily (project uses the DS1307 RTC).
I've attached a link to the final sketch in the book. Is it possible to just delete the parts out related to the DHT11 sensor? Being an absolute newbie in programming I couldn't be sure if I was removing something still necessary to basic operation. In the end all I'm doing is using a RTC to activate a relay which turns a single pump on for a very short time.
https://resources.oreilly.com/examples/0636920029267/blob/master/ch08/example_8_4.ino
I've attached a link to the final sketch in the book. Is it possible to just delete the parts out related to the DHT11 sensor? Being an absolute newbie in programming I couldn't be sure if I was removing something still necessary to basic operation. In the end all I'm doing is using a RTC to activate a relay which turns a single pump on for a very short time.
https://resources.oreilly.com/examples/0636920029267/blob/master/ch08/example_8_4.ino