ESP8266 Plant Watering - Part 1/3 - Day 40 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 first day of working on this project, I used a transistor to control the water pump.
Git command to create a project from the template:
git clone git@github.com:ttarnowski/esp8266-project-template-gtest.git plant-watering-system
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:29 Hardware components presentation
03:15 Calculating the resistor value
08:25 Circuit assembly
13:20 Going through the circuit
14:25 Coding part
21:02 Testing the pump (no water source)
21:48 Testing if the pump pumps water
25:05 The end Наука
can you make a video for initiation about drones? like structure,functioning,main composition,....,just summurize the content of drones.
Hello, yeah I will add a video like that to my todo list however I haven't played around with drones yet so it may take a bit of time until I'll be able to make it.
@@tomasztarnowski4434 no problem,i'm waiting.better later than never.
you said there will be git command in the description, I can't find it! 😜
You're right, Wojtek. Thanks for pointing it out 🙏!
I've updated the video description, also including it here for you:
git clone git@github.com:ttarnowski/esp8266-project-template-gtest.git plant-watering-system