Arduino KNX 6
Arduino KNX 6
Arduino KNX 6
To DO:
Alle Boards bentigen noch Versionsnummer
Pull-ups an Uart
Roadmap:
Development Environment:
I built a compact switching box with all necessary components.
My Projects
Available Projects/boards:
status:
KNX Sensor-platform Board
(under development)
NRF24l01+_Ethernet_KNX-Gateway
development)
Arduino NRF24l01+ Battery supply Temp-Sensor
KNX control panel with 6 buttons and status LEDs
KNX Outside Temperature Sensor
development)
KNX Motion Detector
(under development)
KNX Smart Energy Meter
(under
(in use, since Feb15)
(under development)
(under
(future design)
I was focused on a simply short design. I copy the schematic from the
datasheet and designed a small Board with the Dimensions from 15mm x 22mm.
Important notes:
Maximal current output: 10mA
Output Voltage: +5V
High-Pegel I/O: 0.8*VIF (@5V on PIN VIF: 0.8*5V = 4V)*
Low-Pegel I/O: 0.2*VIF (@5V on PIN VIF: 0.2*5V = 1V)
*)If you want to use this Board with a 3,3V/8Mhz Arduino ProMini you will need a level shifter
on TX/RX pins from 3,3V to 5V.
Schematic:
Board:
Pinout
BOM
Readymade module:
It is not so easy to buy a TP-Uart transceiver, a good an easy alternative is a BTM (Bus
Transceiver Module). It is a stupid Transceiver. You dont need/can to program it via ETS. The
PA (Physical Address) is define by the Arduino Software.
If you want to start with a cheap and simple KNX-Project? then I will recommend it, because you
dont need a Bus-Interface and the ETS-SW to program the bus (Both really expensive )
I work with the Siemens 5GW1 117-2AB12(BTM) (Abbildung 2) (price: ~26+shipping)
Shop:
http://www.eibmarkt.com/cgi-bin/eibmarkt.storefront/54f55c98006d27d827604debae5006c0/Product/View/NS6512716
I developed a simple PCB Board who is adapted to the BTM. It based on the Arduino Hardware
and work with the Arduino IDE (if you burn the right Arduino bootloader on it).
The Idea was to build a small Board which you can connect four buttons (with status LEDs).
You dont need an external Power Supply, because the board will supply over the BTM with +5V
(Attention: The BTM can provide max. 30mA@5V, the status LEDs should be low current).
On the board you can also find an ICP-Connector for programming the bootloader and a Interface
for a FTDI 232RL-Board or cable to flash the application.
Attention:
The layout still contains errors (notice the Release notes!)
Do not connect the board with external +5V if the board is connected to the BTM.
At the moment you must disconnect the Board from the BTM before flashing the Code,
otherwise there is a flash error.
Notice: the basis of the layout is from the Sparkfun Company and it is Licensed under Released
Level Shifter
Analog Switch
Board:
Arduino ProMini
TP-UART-Interface
DHT22, Standard I/O
2 debounced buttons
OneWire, PIR
Voltage divider
2.0 NRF24l01+_Ethernet_KNX-Gateway
The Board was developed to combine my NRF24l01+ Network with my KNX-Bus. Parallel I
decided to add an Ethernet-Interface to make the Gateway more useful. The Ethernet-interface is
the same like the Arduino Ethernet-Shield, so you can use the standard Arduino Ethernet Lib.
I use the NRF24l01+ with an external Antenna (Abbildung 3). So it is much easier to mount it on a
housing. The former price at this time was around ~6
Ebay auction:
http://www.ebay.de/itm/2-4G-NRF24L01-Wireless-Module-With-External-Antenna-/281596535252
Board
ToDos:
Control Panel
Control Panel with six push buttons with integrated status LEDs. Each buttons has a
hardware debounce function. You need only one interrupt pin on the Arduino for all buttons
(see interrupt function). The status LEDs are driven by a I2C-LED-Driver (TPIC2810).
Because of the many status LED we use a external power supply (1LED = 20mA ->
6LEDs = 120mA). If we use an external power supply we need a isolation to the KNX-Bus.
In this case we use a Dual Channel Digital Isolator (ADUM1201). The ADUM1201 works
here at same time as level shifter, if you use an 3,3V Arduino.
Layout-Features:
You can Use both Arduino ProMini types, the hole board is 3,3V and
5V tolerant.
But attention you need right DC/DC Convertor
MAX1837EUT33+ --> 3,3V
MAX1837EUT50+ --> 5,0V
If you have Arduino ProMini spare board from Sparkfun (check if the
I2C Vias are on the right position), than you can use it. You do not
need assembly the Arduino ProMini parts on the board. You only need
pin header to connect the Arduino ProMini board on the Control Panel
board.
necessary for I2C
unnecessary
The number of additional vias make it easy to expand the board for
additionally Hardware function (e.g. display, sensors, ).
Layout improvements:
Diode vom 3,3V Schaltregler zur Rail. Damit parallel ein USB-
Block diagram:
Layout:
Connector
BOM:
Housing: (Fastron FSG2584)
http://www.mercateo.com/p/102-457511 %282d%29BP/Universal_Gehaeuse_Aluminium_Gruen_Grau_250_x_80_x_40_Fastron_FSG2584_1.html
Motion Dedector
TP-UART:
https://www.auto.tuwien.ac.at/~mkoegler/index.php/tpuart