I have an arduino control my greenhouse in a simple way. The temperature (DHT11) as sensor to open and close windows via relay and an actuator. And buttons to override. Also a relay to control irrigation. The latter decided by the time after wake-up and a button. The duration controlled by a potentiometer. No delays, everything with millis.
It works fine, but I wanted to include a lcd to keep an eye on the parameters. I'm using an I2C one, but as soon I connect the SDA and SCL the whole system is up the spout. The buttons don't respond, but it seems also the rest doesn't work. I use a nano every in the greenhouse, but also tested it with a uno and other parts, to be sure it isn't an hardware problem. What am I missing?
3 posts - 3 participants