Wiznet makers

Hannah

Published December 04, 2023 ©

33 UCC

9 WCC

1 VAR

0 Contests

0 Followers

0 Following

Original Link

Controllino Irrigation

This project employs Controllino Maxi Ethernet to create a dual-channel irrigation controller with MQTT integration for remote control and monitoring.

COMPONENTS Hardware components

WIZnet - W5100 ethernet shield

x 1


Arduino - Arduino Mega 2560

x 1


PROJECT DESCRIPTION

This project involves the creation of a dual-channel irrigation controller using Controllino Maxi Ethernet, MQTT for communication, and integration with Home Assistant for control and monitoring. The code is developed using PlatformIO and the Controllino-Irrigation library.

Project Summary:

Hardware:

  • Utilizes the Controllino Maxi Ethernet as the hardware platform.
  • Incorporates the W5100 Ethernet controller for Ethernet connectivity.

Features:

  • Implements a dual-channel irrigation control system.
  • Provides control through a local Home Assistant.io GUI.
  • Enables remote channel activation and deactivation via MQTT.
  • Uses 'on' payload in MQTT messages to turn outputs on and 'off' payload to turn outputs off.

Code Source:

  • Code is authored by Richard Huish from 2017 to 2020 and is inspired by ESP8266-based projects.
  • Based on an ESP8266-based project.

Home Assistant Integration:

W5100 Ethernet Usage:

W5100 is a chip responsible for managing Ethernet communication in Arduino. Controllino Maxi Ethernet integrates W5100 into an Arduino Mega-compatible board, enabling Ethernet communication. W5100 allows Controllino Maxi Ethernet to connect to the network and communicate with Home Assistant via the MQTT protocol.

The code segment related to W5100 usage primarily involves the Ethernet and MQTT libraries. The Ethernet.begin(mac) function initializes Ethernet using Controllino's MAC address. After successful Ethernet initialization, the code proceeds with the setup of MQTT communication.

After configuring the Ethernet connection using W5100, the MQTT library is employed to establish a connection with the MQTT broker. In the code snippet, mqtt_server represents the address of the MQTT broker.

Documents
Comments Write