Skip to content

Releases: reset42/r42_Gardensensor_MicroPython

v1.0.0

05 Aug 15:00
80b48b1

Choose a tag to compare

v1.0.0 Pre-release
Pre-release

📦 Release v.1.0.0 – Stable Core Release for MicroPython Garden Sensor

Release Date: 2025-08-05
Status: ✅ Stable
Target Board: Raspberry Pi Pico W
Runtime: MicroPython (rp2-pico-w builds)
License: MIT


✨ Key Features

  • 🌡️ BME280 support (temperature, humidity, pressure)
  • 💡 VEML7700 support (light intensity in Lux)
  • 📡 MQTT support with modes: "active", "dummy", "inactive"
  • Sensor power reset via GPIO on data failure
  • 🧪 Dummy mode for dev/testing without hardware
  • 🔧 Central config.py with full runtime settings
  • 🌐 WiFi fallback with independent credentials
  • 📤 Adjustable MQTT send interval
  • 🟢 Status LED and onboard LED indicators
  • 📎 Flexible MQTT payload layout (MQTT_PAYLOAD_FIELDS)

⚙️ Setup

  1. Flash MicroPython firmware onto your Pico W
  2. Upload main.py and the lib/ directory to the board
  3. Edit config.py to match your WiFi, MQTT, and sensor setup
  4. Reboot the board → sensor starts automatically

🧠 Behavior Notes

  • Sensors can be set to "active", "dummy", or "inactive" mode
  • If a sensor returns None, the system performs a GPIO-based power reset
  • MQTT is fully optional – in dummy mode, data is simulated but not sent
  • You can modify the order and fields of MQTT messages easily

🛠️ Planned for Future Versions

  • 📊 Web dashboard (Go backend in progress)
  • 🌦️ Weather service integration (optional)
  • 🧬 JSON-based sensor calibration import
  • 🔋 Sleep mode and battery-friendly runtime

✅ Tested On

  • 🌐 2.4 GHz WPA2 WiFi (Fritz!Box)
  • 💡 VEML7700 (I2C @ 0x10, Gain 1/8)
  • 🌡️ BME280 (I2C @ 0x76)
  • 📡 Mosquitto MQTT broker (local, unencrypted)
  • 💻 Thonny on Manjaro & MacOS

📎 Download & Repository

Full source code, example configuration, and wiring info available here:
👉 https://github.com/reset42/r42_Gardensensor_MicroPython

ZIP download and tagged release available below 👇