Skip to main content

growmax

Micropython routines for GrowMax plant watering automation boards by OpenSensor.io

To purchase a Growmax board or four sourcing parts, visit https://opensensor.io

Growmax Board install with screen and i2c CO2 sensor

Installation

To install the growmax package on a Pico or BananaPi Pico (ESP32S3), first install the appropriate firmware for Micropython that is for your device.

Ensure that you have Thonny IDE installed; for more information visit: https://thonny.org/

Launch Thonny IDE with your device connected.

Go to Tools -> Manage Packages and search for growmax Install the latest version of growmax.

Now create a new file and save it to your device as main.py In this file invoke the main routine of growmax:

from growmax.routine import main

main() 

Next you need to create your config file.

  • Open the sample config file from the pico device, it is at /lib/growmax/config.py
  • Now save this file to the root of your pico device as config.py
  • Modify any relevant config values to suit your needs for automatic plant watering.

Configuration

  • WATER_SENSOR_LOW_ENABLED Defaults True. Checks the low water level sensor before invoking the pumps.
  • WATER_SENSOR_LOW Defaults 22. Which GPIO port has the Optomax water level sensor for low levels? Supported growmax board ports are 21 and 22
  • Much more: Complete and latest default config

Verification

Test the routine by running the created main.py in Thonny IDE. You should see output in the terminal and the program should not have any errors.

Once you have verified the pico runs the code properly, your device is now plug and play ready.
Simply supply 5V USB voltage by plugging the pico growmax board into a common USB wall wart and the pico will boot the main routine.

Power and Safety

The growmax is designed with the pico power requirements in mind. When modifying the application logic, it is important to realize:

  • Pico max current is ~300 mA; when using the onboard pump ports and mosfets: ensure the pumps you source are 5V and draw less than 200 mA.
  • Should you need to control higher powered pumps and equipment, it is recommended to pair with an I2C relay board for such use cases.
  • The pico operates at 3.3V logic levels, however the pumps and water sensor ports are powered by the 5V VSYS.
  • The water sensor ports are designed for the Optomax liquid sensor and have voltage dividers for an expected 4V -> 3.3V input back to the pico.

Metadata

Release files for growmax 1.2.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for growmax 1.2.7
File Size Uploaded
growmax-1.2.7.tar.gz 23.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for growmax 1.2.7
File Interpreter ABI Platform
growmax-1.2.7-py3-none-any.whl Python 3 none any Details

Total release size: 52.8 kB

Release files / growmax-1.2.7.tar.gz

Download URL growmax-1.2.7.tar.gz
Size 23.6 kB
Tags Source
SHA-256 checksum
How to use checksums
77c7e9ad2a8e9e2396b22eea19276ddbe58cfa0587896766aaa3dd773e364623
BLAKE2b-256 checksum
How to use checksums
b35eac937cc18e0f0e2172dfaa352b32b8f67ab4f675ecafe6a2dd49f706c3fe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.9.20

Release files / growmax-1.2.7-py3-none-any.whl

Download URL growmax-1.2.7-py3-none-any.whl
Size 29.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e14cbb066b2c74b29ff50548f4e5ed99e193bc250d26a9f2d89cc62544347dcb
BLAKE2b-256 checksum
How to use checksums
955e6ede4ca023699e74dfb74db6bfcb4690d02f84f663659ff41ee521444260
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.9.20

Release history Release notifications | RSS feed

This release

1.2.7 This release

2 release files

1.2.6

2 release files

1.2.5

2 release files

1.2.4

2 release files

1.2.3

2 release files

1.2.2

2 release files

1.2.1

2 release files

1.2.0

2 release files

1.1.15

2 release files

1.1.14

2 release files

1.1.11

2 release files

1.1.10

2 release files

1.1.9

2 release files

1.1.8

2 release files

1.1.7

2 release files

1.1.6

2 release files

1.1.5

2 release files

1.1.4

2 release files

1.1.3

2 release files

1.1.2

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.9

2 release files

1.0.8

2 release files

1.0.7

2 release files

1.0.6

2 release files

1.0.5

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page