- Thread starter
- #141
odam2k
Well-Known Member
I think I may try using a dc motor driver L298N based, since the pump IS just a dc motor... I'll try that later tonight if I'm up in the middle of the night, as usual...
Well, that didn't solve the problem, so, it HAS to be the pump. I don't know how yet, but noise somehow being transferred into the system... This time, the LCD screen seemed ok, didn't glitch, but as soon as the pump came on, my code started complaining that it couldn't read the DHT22 digital humidity/temperature sensor. In my code, it toggles the power to it if the reading comes back as NAN. I did notice this popped up in my earlier testing, but usually the LCD had already glitched, so I ended my test...
The pump is physically about 4 feet away from the arduino. Keep in mind, if I power the pump DIRECTLY without trying to switch it on or off using the arduino, everything works fine.
Time for a break...