ESP8266 Plant Watering - Part 2/3 - Day 41 of
HTML-код
- Опубликовано: 15 июл 2024
- I explain and show step by step how to build a plant watering system with ESP8266, capacitive soil moisture sensor, and peristaltic pump.
During the second day of working on this project, I figured out how to use a capacitive moisture sensor to get the readings from the soil.
You can find the code from this episode here:
github.com/ttarnowski/esp8266...
Social Media:
Twitter: / t_tarnowski
Linkedin: / tomasz-ta...
Website: tomasztarnowski.com
GitHub: github.com/ttarnowski
Parts and components used in the video:
- ESP8266 microcontroller (~5$ a piece):
UK: www.amazon.co.uk/s?k=nodemcu+...
US: www.amazon.com/s?k=esp8266
- Peristaltic pump:
UK: www.amazon.co.uk/Denash-Peris...
US: www.amazon.com/Yanmis-Perista...
AliExpress: www.aliexpress.com/item/10050...
- Breadboard:
UK: www.amazon.co.uk/s?k=breadboard
US: www.amazon.com/s?k=breadboard
- AC to DC Adapter:
UK: www.amazon.co.uk/s?k=ac%2Fdc+...
US: www.amazon.com/s?k=ac%2Fdc+ad...
- Capacitive moisture sensor:
UK: www.amazon.co.uk/s?k=capaciti...
US: www.amazon.com/s?k=capacitive...
- Resistor kit:
UK: www.amazon.co.uk/s?k=resistors
US: www.amazon.com/s?k=resistors
- Diode kit
UK: www.amazon.co.uk/s?k=led+diod...
US: www.amazon.com/s?k=led+diode+kit
- 1x PN2222A Transistor:
UK: www.amazon.co.uk/s?k=pn2222a
US: www.amazon.com/s?k=pn2222a
- Wires:
UK: www.amazon.co.uk/s?k=arduino+...
US: www.amazon.com/s?k=arduino+wires
- Plastic tubes:
UK: www.amazon.co.uk/s?k=pvc+clea...
US: www.amazon.com/s?k=pvc+clear+...
- micro USB cable:
UK: www.amazon.co.uk/s?k=micro+us...
US: www.amazon.com/s?k=micro+usb+...
or (for mac)
UK: www.amazon.co.uk/s?k=type+c+t...
US: www.amazon.com/s?k=type+c+to+...
- you also need a bottle and a glass
Software used in the video:
1. Visual Studio Code IDE:
code.visualstudio.com/
2. C/C++ VSCode extension:
marketplace.visualstudio.com/...
3. Clang-Format VSCode extension:
marketplace.visualstudio.com/...
4. PlatformIO VSCode extension:
marketplace.visualstudio.com/...
PN2222A transistor datasheet:
cdn-shop.adafruit.com/datashe...
Thanks for watching and see you tomorrow!
00:00 Intro
00:22 Hardware components presentation
02:15 Circuit assembly
5:40 Going through the circuit
8:10 Getting the moisture value in the air and in the soil
18:01 Implementing the behavior of the diodes
24:13 Testing the circuit
25:30 Summary & The end Наука