Search found 14 matches

by johnv
Sun Dec 08, 2019 2:13 pm
Forum: Hardware Projects
Topic: plant watering
Replies: 29
Views: 920

Re: plant watering

tnx man, got a little smarter today :D
by johnv
Sun Dec 08, 2019 12:53 pm
Forum: Hardware Projects
Topic: plant watering
Replies: 29
Views: 920

Re: plant watering

i just bought a 100pcs pack of 2n7000 :D of amazon for 16euro, should rlast me some projects :)
by johnv
Sun Dec 08, 2019 12:46 pm
Forum: Hardware Projects
Topic: plant watering
Replies: 29
Views: 920

Re: plant watering

just measured the input when not connected and it is 4.28v No. It is a 2N7000. You have to connect GND between NodeMCU and the Relay board, +5V (and GND) to the relay board, and then try to switch with a GPIO. I If you have a multimeter, you could measure the voltage at the Relay board input, when t...
by johnv
Sun Dec 08, 2019 10:50 am
Forum: Hardware Projects
Topic: plant watering
Replies: 29
Views: 920

Re: plant watering

btw, dont care about the hijack, love to hear from the old stuf, now days everything is so small, its (nearly)imposible to solder something out without wasting the component, its all dubble layerd pcb, if somthings faulty, its to the bin and buy a new part
by johnv
Sun Dec 08, 2019 10:41 am
Forum: Hardware Projects
Topic: plant watering
Replies: 29
Views: 920

Re: plant watering

haha great stuf; i am quite greatefull with chinatec these days :D at least we can have half reliable stuff for cheap, i cant imagine what it would have cost for a simple project to get up and going, if you have to bin somtransistor as from the above you got a realy bad week for smokes :D btw can yo...
by johnv
Sun Dec 08, 2019 10:20 am
Forum: Hardware Projects
Topic: plant watering
Replies: 29
Views: 920

Re: plant watering

so i could put from an external source 5v dc to the realy 'vcc'-pin and on the 'in'-pin the nodemcu output (pin 4),

but i tried that and the signal on the output pin, was to weak i guess, it just switched once and never again.

any ideas how to work around this one?
by johnv
Sun Dec 08, 2019 8:13 am
Forum: Hardware Projects
Topic: plant watering
Replies: 29
Views: 920

Re: plant watering

cool, i will look into it!
by johnv
Sat Dec 07, 2019 11:13 am
Forum: Hardware Projects
Topic: plant watering
Replies: 29
Views: 920

Re: plant watering

tnx MostlyHarmless, i will look into it
apreciate the help man!
by johnv
Sat Dec 07, 2019 11:09 am
Forum: Hardware Projects
Topic: plant watering
Replies: 29
Views: 920

Re: plant watering

i encountered another problem, the relay is 5v in the kit and the nodemcu only puts out a 3.3v so i ordered a pack of 3v relays, i tested it with a led and everything worked like a charm, but the relay just clicked once in a while. perhaps you could use a opamp circuit like: https://community.partic...
by johnv
Thu Nov 21, 2019 7:42 pm
Forum: Hardware Projects
Topic: plant watering
Replies: 29
Views: 920

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...