Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/clowa/arduino-plant-watering

Arduino project to automatically water plants
https://github.com/clowa/arduino-plant-watering

arduino-uno-r3 tinygo watering-plants

Last synced: 7 days ago
JSON representation

Arduino project to automatically water plants

Awesome Lists containing this project

README

        

# Overview

This is a small home arduino project to automatically water my plants. The project is based on an Arduino Uno R3, a soil moisture sensor, a water pump and a electronic switch (MOSFET). The soil moisture sensor is used to measure the moisture level of the soil and the water pump is used to water the plants. The MOSFET is used to control the water pump because the pump runs on another voltage than the board itself.

For wiring and components, see the [Wiring](./docs/README.md).

## Getting Started

### Prerequisites

- [TinyGo](https://tinygo.org/getting-started/install/)
- [avrdude](https://github.com/avrdudes/avrdude) to flash the project to the Arduino board
- _Optional:_ [go-task](https://taskfile.dev/installation/) to use handy `makefile` like commands

### Flashing the project

To flash the project to the Arduino board, run the following command:

```bash
tinygo flash -target arduino .
# Or if you have go-task installed
task flash
```

## Lessons Learned

- Do not use Pin `D13` on the Arduino Uno R3, for pumps since it's used as system LED which fires on every flash/reset/etc. of the board.