MENU

Fun & Interesting

(TinyGo and Arduino) A Soil Moisture Monitor for my Snake Plant

Code With Cypert 354 lượt xem 2 weeks ago
Video Not Working? Fix It Now

A few weeks back, I bought some sensors to help monitor the moisture in the soil for some of my plants. I've been wanting to code this with Zig, but Zig 0.14 has broken AVR support, so instead, we're going to use Tiny Go. Perhaps we'll swap it over to Zig when they fix AVR support, but honestly, I'm very happy with Tiny Go for this usecase, too.

So in this video, we'll implement an Arduino-based soil monitor with an LCD Screen that shows whether the plant needs water or not, as well as the value gathered from the sensor. We'll code the software layer using Tiny Go (a version of Go for smaller systems and WASM) and have a really fun time doing so!

00:02 - Context and Background
01:16 - Hardware Design
05:01 - Picture of Arduino Wired to Sensor and LCD
05:07 - A note on safety
06:50 - Start TinyGo project
07:25 - TinyGo Install/Tour
08:53 - Coding our Software Layer
15:24 - Flashing our Arduino
17:08 - Testing our project
17:43 - Full Setup Clip

Comment