Search found 25 matches

by johnv
Thu Nov 21, 2019 7:42 pm
Forum: Hardware Projects
Topic: plant watering
Replies: 41
Views: 183379

Re: plant watering

import machine from machine import Pin from machine import ADC import time from time import sleep moisture = ADC(0) #declare soil sensor pump = Pin(4, Pin.OUT) #declare pin 4 as output, naming it pump dry_value = 600 #declare dry_value as 600 while True: #create infinit loop till somthing breaks th...
by johnv
Tue Nov 12, 2019 8:16 am
Forum: Hardware Projects
Topic: plant watering
Replies: 41
Views: 183379

Re: plant watering

Cool, thanks for the tips. I ll try them out!

It will take some time. But rome wasnt build in a day 😜
by johnv
Mon Nov 11, 2019 4:38 pm
Forum: Hardware Projects
Topic: plant watering
Replies: 41
Views: 183379

Re: plant watering

so far so good, got the soil sensor to spit out some readings, and the relay is functioning! now all i have to try, is to make them communicate, but that would be for an other day, btw i used the thonny ide, it was easier than the repl, and visual studio code was a bit hard to figure out aswell! tnx...
by johnv
Mon Nov 11, 2019 8:45 am
Forum: Hardware Projects
Topic: plant watering
Replies: 41
Views: 183379

Re: plant watering

thanks man, this should get me started, appreciate the feedback!!!
by johnv
Sun Nov 10, 2019 7:34 pm
Forum: Hardware Projects
Topic: plant watering
Replies: 41
Views: 183379

plant watering

hi, i'm fairly new to programming and i wanted to build a super easy plant watering mechanism with a nodemcu, a soil sensor, and a 3v waterpump from amazon: https://www.amazon.com/WayinTop-Automatic-Irrigation-Watering-Capacitive/dp/B07TLRYGT1/ref=sr_1_6?keywords=water+pump+soil&qid=1573413607&sr=8-...