Dear all,
I'm working in a proyect that involves the use of :
- Arduino Pro mini 5v -16 mhz
- Mosfet Module LRF 520
- 12v Water Pump R385
- Capacitive Moisture Sensor.
- 12v 1.5 amp PSU power Adapter
The basic schematic is this:
The code is relatively simple: when the moisture capacitive sensor goes under the treshold of 70 %, the pump starts and irrigate water. Meanwhile, the sensor is "listening" for new moisture levels. When cross the upper limit 70 + 3 %, it's stops.
As you can see on the schematic , i used only one 12v 1.5 amp power source to feed the arduino through a 7805 and the motor. The motor is activated via mosfet.
I avoided the use a relay because in my testings, when the relay is on, consume circa 60 mA from the arduino pins and this changes the readings of the moisture sensor. So, to fix that, i had to use a Constant added to the reading to compensate this behaviour....Because i was trying to avoid the use of this Constant, i decided to try a mosfet.
The problem is that when the mosfet connect the motor pump, the lectures of the capacitive moisture sensor starts to oscilatte like crazy. When the motor stops, the readings return to be Very stable.
I'm not sure if this design presented here is appropriated for this application.
Anyone see any significant mistake in the design? or can be improved?
I have to use relay instead of mosfet? two different psu ? get rid of ripple?
Thanks in advance!
Gabriel