Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/clowa/arduino-plant-watering
- Owner: clowa
- Created: 2024-09-21T13:40:24.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-10-31T12:56:25.000Z (3 months ago)
- Last Synced: 2025-01-09T06:22:31.638Z (7 days ago)
- Topics: arduino-uno-r3, tinygo, watering-plants
- Language: Go
- Homepage:
- Size: 349 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.