Skip to Main Content
Creative DIY Microcontroller Projects with TinyGo and WebAssembly
book

Creative DIY Microcontroller Projects with TinyGo and WebAssembly

by Tobias Theel
May 2021
Intermediate to advanced content levelIntermediate to advanced
322 pages
5h 24m
English
Packt Publishing
Content preview from Creative DIY Microcontroller Projects with TinyGo and WebAssembly

Chapter 4: Building a Plant Watering System

In the previous chapters, we learned how to write to the serial port and how to monitor the serial port on our computers. Furthermore, we learned how to write drivers for components, which have not yet been implemented by the TinyGo community, and we used this knowledge to write a driver for a 4x4 keypad and a servo motor in Chapter 3, Building a Safety Lock Using a Keypad.

We are now going to build on top of this knowledge in this chapter by introducing a new type of pin and we are going to build an automated plant watering system using some new devices. We will be able to pump water from a container into a plant's soil, measure the soil's moisture, check the water level of a container, and let a ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

DIY Microcontroller Projects for Hobbyists

DIY Microcontroller Projects for Hobbyists

Miguel Angel Garcia-Ruiz, Pedro Cesar Santana Mancilla
Arduino Cookbook, 3rd Edition

Arduino Cookbook, 3rd Edition

Michael Margolis, Brian Jepson, Nicholas Robert Weldin

Publisher Resources

ISBN: 9781800560208Supplemental Content