40-way Ethernet Digital I/O extension for Loxone

This project shows how to build a low cost reliable 40-way digital input or output board- designed to integrate with the loxone mini-server. This was needed as our project needed over 200 digital I/O's and to do this using loxone extensions would use too much space and money!
components
details

ucc_extension.jpg

I’ve nearly completed building my own home, and have used the loxone mini-server to supply the home automation.  When specifying the server, we quickly realised we would have to find another solution for all the digital io.
We have 43 light switches – but each light switch has 4 contacts – making 172 inputs just for the light switches.  Add to that 20 door & window sensors, plus blind controls, PIR sensors, under floor heating actuators and pumps.  You get the idea.
I chose the teensy 2.0++ as it had a large number of digital IO on the board.  We did consider using I2C io extension boards, but physical size is a factor and it was easier for us to make it compact using the teensy.
I’m not a hardware expert at all!  But the system we have made is bullet proof reliable.  The software and interface to the loxone does not use any polling at all- so all the double/triple clicks work flawlessly with the loxone system.
The boards have a web interface which is really important for setting up and diagnostics as you have feedback showing which inputs or outputs are active.

In our build we have 2 sub-boards each with 4 nodes – making a total of 8 nodes with a capacity for 320 i/o.  Each sub board has it’s own 5v 5 port switch, and a POE splitter – the whole board being run by 1 port on my POE switch.

It was a challenge to get 40 I/O available on the teensy 2.0.  We needed 4 pins for the ethernet connection & 1 pin for the on-board LED.  Using the teensy’s interior pins, and re-purposing one of the UART pins we were able to have 40 pins usable for io.  The UART pin needed an external pull-up resistor to make it usable for normal io.

teensy_switch_2.zip

Arduino teensy++ 2.0 source code

x-zip-compressed – 18.17 kB – 05/30/2020 at 10:04

Download

DigitalIOCase.skp

Sketchup model for the frame mount

SSEYO Koan Play File – 109.65 kB – 10/21/2017 at 10:14

Download

DigitalIOCase.stl

STL model for the frame mount

Standard Tesselated Geometry – 56.72 kB – 10/21/2017 at 10:14

Download

 

Original link : https://hackaday.io/project/27814-40-way-ethernet-digital-io-extension-for-loxone

COMMENTS

Please Login to comment
  Subscribe  
Notify of