plant watering
Posted: Sun Nov 10, 2019 7:34 pm
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-Automat ... 607&sr=8-6
unfortunatly it only comes with arduino code C,
i was wondering if someone have some basic micropython code that i can use as a tutorial,
i find it hard to find some basic stuff what to import from machine and how to appoint the pins on nodemcu,
i found some documentation from the raspberry pi, but that is in full python, and the pin.out is also very different,
if someone could help get started with the code that would be awesome.
i would like to know how to read the soilsensor, witch pin to use and witch components to import from the machine(gpio, time, ?), i'm a bit lost on this.
kind regards, john.
unfortunatly it only comes with arduino code C,
i was wondering if someone have some basic micropython code that i can use as a tutorial,
i find it hard to find some basic stuff what to import from machine and how to appoint the pins on nodemcu,
i found some documentation from the raspberry pi, but that is in full python, and the pin.out is also very different,
if someone could help get started with the code that would be awesome.
i would like to know how to read the soilsensor, witch pin to use and witch components to import from the machine(gpio, time, ?), i'm a bit lost on this.
kind regards, john.