An easy-to-use and free configurable D.I.Y. Arduino plant grow controller / automation firmware for ESP8266 / ESP32 with WebUI https://git.la10cy.net/DeltaLima/CanGrow/
Find a file
2025-03-21 00:13:15 +01:00
Arduino/CanGrow Arduino/CanGrow/README.md aktualisiert 2025-03-20 23:57:04 +01:00
include removed KiCad files, moved Arduino source code files 2025-03-21 00:13:15 +01:00
KiCad/CanGrow pcb wip v0.6.1 - minor silkscreen tweak. 2024-09-25 02:11:13 +02:00
Logo add large favico png 2024-09-11 00:33:06 +02:00
playground/html playground 2025-01-21 22:10:12 +01:00
.gitignore fine tune web update 2024-10-22 00:40:07 +02:00
allbuild.sh removed KiCad files, moved Arduino source code files 2025-03-21 00:13:15 +01:00
arduino-cli.yml removed KiCad files, moved Arduino source code files 2025-03-21 00:13:15 +01:00
CanGrow.geany removed KiCad files, moved Arduino source code files 2025-03-21 00:13:15 +01:00
CanGrow.ino removed KiCad files, moved Arduino source code files 2025-03-21 00:13:15 +01:00
cangrow.sh removed KiCad files, moved Arduino source code files 2025-03-21 00:13:15 +01:00
LICENSE Change LICENSE to GPL3 2025-03-21 00:09:22 +01:00
README.md removed KiCad files, moved Arduino source code files 2025-03-21 00:13:15 +01:00
Screenshot_montage.png removed KiCad files, moved Arduino source code files 2025-03-21 00:13:15 +01:00

CanGrow - An OpenSource grow controller firmware for ESP8266 / ESP32

Screenshot_montage.png

Build environment

The helper script cangrow.sh is written for a Debian 12 system.

To install all dependencies you need for building the firmware, run the cangrow.sh setup:

$ ./cangrow.sh help
./cangrow.sh [setup|build|upload|webupload|monitor]
setup: setup build environment, download arduino-cli, install all dependencies for arduino ide
build: build firmware binary. will be saved into build/
upload: upload firmware by serial connection /dev/ttyUSB0
webupload: upload firmware with webupload to 192.168.4.20
monitor: serial monitor /dev/ttyUSB0

# Install all dependencies for build environment
$ ./cangrow.sh setup

The script installs arduino-cli to ~/.local/bin/arduino-cli.

Compile

# compile and output to build/CanGrow_v0.2...bin
# Default Target is ESP8266 D1 Mini
$ ./cangrow.sh build

# Compile for ESP32 D1 Mini
$ export BOARD="esp32:esp32:d1_mini32"
$ ./cangrow.sh build

# Build and webupload to IP
$ export IP="192.168.4.69"
$ ./cangrow.sh build # need to make .bin first
$ ./cangrow.sh webupload # upload

# listen to serial monitor on /dev/ttyUSB2
$ export TTY="/dev/ttyUSB2"
./cangrow.sh monitor

I wrote this project using Geany IDE. . The Geany Projectfile is also included, just run

$ geany CanGrow.geany

F8 compiles the project, F9 uploads firmware to /dev/ttyUSB0. You can change these settings for .ino and .h files in Project -> Settings -> Create/Make.