Hello everyone, I’m an absolute beginner with Arduino and I want to make an automatic plant watering machine. The way it will work is the microcontroller will turn on the water pump on a given schedule, and then will check the soil moisture level and turn off the water pump once the moisture hits a certain level. The soil moisture level will also be displayed on the LCD screen. I just want to know if my circuit diagram is appropriate for my project.
- Add a reverse biased kickback diode across the motor.
- Powering a relay from the Arduino 5v pin is a recipe for problems.
- You may need pull-up resistors on SDA and SCL.
Where does the Vcc come from?
Connect one device at the time and develop the code One at the time.
LCD
RTC
Relay module
Sensor
Why is vcc connected to sda and gnd to DC+?
By the way: pretty readable schematic!
Really? Even when controlled by a relay? I thought their main purpose was to protect semiconductors...
-
It will protect the relay contacts from arcing and EMI is snubbed, therefore not an issue for the Arduino picking up noise.
-
There might be a need to add capacitors and or ferrite core to the motor too to snub commutator noise.
Is the RTC involved in the schedule? If so, then why is its INT/SQW pin not connected to the Arduino? That would allow you to set an alarm time and put the Arduino to sleep, then the RTC would wake up the Arduino at the alarm time.
The SZ-042 module has 4.7K pullup resistors on SDA and SCL onboard. Does the display also have them? You don't want too many. (It also has such a pullup on INT/SQW.)
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.