Wiznet makers

Hannah

Published February 27, 2024 ©

33 UCC

9 WCC

1 VAR

0 Contests

0 Followers

0 Following

Original Link

LightHub

LightHub

COMPONENTS Hardware components

WIZnet - W5500

x 1


PROJECT DESCRIPTION

LightHub

is Flexible, Arduino-Mega/Arduino DUE/ESP8266/ESP32 open-software and open-hardware SmartHome controller. Useful links:

Article/RU

HOME-site/RU

WIKI/RU

Doxigen autodocumentation for developers (litle bit outdated)

It may operate both:

  • On especially designed hardware board with 16 optocoupled digital inputs, 16 ESD protected digital/analog Inputs/outputs, 8 open-collector outputs (up to 0.5A/50V), DMX IN/OUT, MODBUS RTU and hardware 1-wire support circuit.
  • On plain Arduino MEGA 2560, Arduino DUE, ESP8266, ESP32 and even on Controllino (Controllino is not tested enough)

Lighthub allows connecting together:

  • Contact sensors (switches, buttons etc)
  • Analog sensors (Leak detectors, Knobs etc)
  • 1-Wire temperature sensors (up to 20 on single bus)
  • Temperature/Humidity/CO2 sensors: DHT22, CS811, HDC1080 and any type of Modbus connected devices
  • Standard nonexpensive Relay board with TTL inputs, like this to control AC powered lamps, floor heaters, boilers etc
  • Standard nonexpensive LED dimmers and AC DMX-512 dimmers
  • Modbus RTU devices (Currently, possible to control any type of Modbus devices - e.c dimmers, sensors, wall climate panels, HVAC e.t.c
  • Simple DMX wall sensor panel like this

List of non-expensive compatible components from AliExpress here

alt text

alt text

Where is possible both, to configure local control/mapping between inputs and outputs (light, floor heating thermostats) and remote control from MQTT enabled software and between controllers. At the moment, LightHub tested and perfectly working with following set of complementary free software:

  • HomeAssistant - the best choice of HomeAutomation system
  • Openhab or Openhab2 Smarthome software Openhab provides own native mobile app both, for IoS and Android, and even allow you to use Apple's HomeKit and Google Home to say "Siri, turn on light in bedroom" or "Hey Google, set bedroom light to Red" but requires some server to be installed in-premises (Raspberry PI with Openhabian will good enough)
  • HomeRemote mobile client Home Remote mobile applicatios for IoS and Android requires just MQTT broker to be working. Any Cloud-based MQTT broker, like CloudMQTT will enough to serve average household, even with free account.
  • Node-Red Possibly, the best solution to deploy event-based authomation and scripting on top of MQTT/LightHub. The easy to use universal and visual tool to wire many different devices in single system. Having own Dashbord which allow control from web/mobile web, even without mobile apps (excelent co-working with OpenHab and HomeRemote)

Scalability of Lighthub is virtually unlimited: Setup so many controllers you needed in most convenient places of your house - MQTT broker will allow controllers communicate each other and with Openhab/NodeRed/HomeRemote and propagate commands across network.

Platforms specific details:

AVR version (Arduino Mega) is basic, long time in production and have most functions

  • DMX-out is software (DMXSimple) on pin3, can be re-defined to PIN 18 (USART1 TX)
  • DMX-in - hardware
  • WIZNET 5100 and 5500 Ethernets are supported
  • Modbus on USART2
  • Very limited in terms of RAM available
  • OptiBoot bootloader recommended

SAM3X8E (Arduino DUE): (Tested. In production. Recomended hardware at current moment)

  • Reachest funcionality from all possible options
  • both, DMX-in and DMX-out are hardware USART based. Use USART1 (pins 18 and 19) for DMX-out and DMX-in
  • WIZNET 5100 and 5500 Ethernets are supported
  • Modbus on USART2

ESP8266, ESP32: (Tested)

  • DMX-OUT on USART1 TX
  • DMX-IN - disabled - not possible to deploy in ESP8266
  • Modbus - disabled on ESP8266, Might be configured on USART0 instead CLI/DEBUG, on ESP32 binded with UART2
  • Uses Wifi interface instead wired connection

NRF52840 : Still early development stage

Documents
Comments Write