Skip to main content

EOE-W55RP20_BACnet Module

Overview​

The EOE-W55RP20_BACnet module is an embedded Ethernet module that connects your equipment to a BACnet building automation network. It is built on the WIZnet W55RP20, which combines an RP2040 MCU and a W5500 Ethernet controller in one package. The host MCU only exchanges AT commands over UART. BACnet protocol processing, BACnet/SC TLS encryption and certificate authentication, and TCP/IP are all handled by the module, so the host MCU does not need a BACnet stack or a network stack.

EOE-W55RP20_BACnet module system diagram: the host MCU talks to the EOE-W55RP20_BACnet module over UART with AT commands, and the module talks to a BACnet workstation over Ethernet with BACnet/IP or BACnet/SC


Why EOE-W55RP20_BACnet​

When to Use​

Four situations: connecting existing equipment to a BACnet BMS, joining a BACnet/IP site while being ready for BACnet/SC, a host MCU with no room for a BACnet, TCP/IP or TLS stack, and shorter Ethernet design and protocol testing
  • You need to connect existing equipment to a BACnet building management system (BMS)
  • You are joining an existing BACnet/IP site and also need to be ready for BACnet/SC (secure BACnet)
  • The host MCU has no room for a BACnet stack, a TCP/IP stack or TLS
  • You want to shorten the time spent on Ethernet hardware design and protocol testing

Advantages​


Supported Hardware​

This firmware (1.0.0) runs on the following W55RP20-based hardware. To purchase, contact direct@wiznet.io.

WIZ-IP20W232NEOE-W55RP20
WIZ-IP20W232NEOE-W55RP20
Mag Jack module
3.3 V TTL UART
DIN-rail converter
RS-232 (D-SUB9)
Castellated module
3.3 V TTL UART

Key Features​

  • BACnet/IP (Annex J) device, or BACnet/SC (Annex AB) hub connector over TLS 1.3
  • ReadProperty, ReadPropertyMultiple, WriteProperty, WritePropertyMultiple, SubscribeCOV and device management services
  • Up to 256 objects of nine types (Analog, Binary and Multi-state Input, Output and Value), defined with AT commands or registered at once from a CSV file
  • Confirmed writes: the host MCU approves a value written from a workstation before it is applied
  • 10/100 Mbps Ethernet with TCP/IP handled by the W5500 hardware, DHCP or static address, DNS
  • 4 TCP/UDP channels for the host MCU, in addition to BACnet
  • 56 AT commands and a web interface for every setting
  • Firmware update over the web interface or UART, verified before installation
  • Diagnostics, watchdog, and factory reset by AT command, web interface or pin

Feature Details​

  • Operates as a BACnet/IP (ASHRAE 135 Annex J) device. The default UDP port is 47808.
  • Workstations find the device and its objects with Who-Is/I-Am and Who-Has/I-Have.
  • Registers with a BBMD as a Foreign Device, for workstations on other subnets.
  • Broadcasts are either subnet-directed (default) or global (255.255.255.255).
  • 10/100 Mbps Ethernet, with TCP/IP handled by the W5500 hardware.
  • DHCP or a static address. DNS is supported.
  • Besides BACnet, the host MCU has 4 TCP/UDP channels of its own. Each send carries up to 1460 bytes, and host names can be used to connect. The Ethernet chip's sockets are shared with BACnet and the web, so check how many can be open at the moment with AT+SOCKAVAIL?.

Documentation​

This section provides the reference documentation for the module's AT command interface and its BACnet conformance.

TitleDescriptionLink
AT Command GuideAll 56 AT commands, responses, URCs and error codeslink EN
PICSBACnet Protocol Implementation Conformance Statement (ASHRAE 135 Annex A): BIBBs, objects and properties, data linkslink EN

Setup & Configuration​

This section provides step-by-step guides for connecting the module, setting up BACnet and updating the firmware.

TitleDescriptionLink
Getting Started GuideStep-by-step guide from wiring to reading a value from a workstationlink EN
BACnet Setup GuideBACnet/IP and BACnet/SC setup, object definitions (AT · CSV), confirmed writes, time, Foreign Devicelink EN
Firmware Update GuideUpdating the firmware through the web interface or AT commands (UART)link EN

Specifications​

ItemValue
User objects256 (up to 64 of them commandable)
COV subscriptions16
Confirmed writes waiting at once4 (host approval time 750 ms)
Max_APDU_Length_AcceptedBACnet/IP 1024 · BACnet/SC 1476
BACnet/SC hubsprimary 1 · failover 1
TCP/UDP channels4 (how many can be open at once: AT+SOCKAVAIL?)
Socket send size1460 bytes
AT command line255 bytes

Hardware Connections​

SignalEOE-W55RP20WIZ-IP20W232NI/ODescription
AT command portGP4 (TX) · GP5 (RX)P5 (TXD) · P3 (RXD)DB9 3 (TXD) · 2 (RXD)O · I115200 8N1 by default, no flow control
AT port flow controlGP6 (CTS) · GP7 (RTS)P6 (CTS) · P10 (RTS)DB9 8 (CTS) · 7 (RTS)I · OConnect only if flow control is used
HandshakeGP8 (DTR) · GP9 (DSR)NoneDB9 4 (DTR) · 6 (DSR)I · ODSR high means the module is ready for commands
Status outputsGP10 · GP11P13 (LINKLED) · NoneLINK · TCP LEDsOEthernet link · TCP connection present
Factory reset inputFACT RSTn (GP18)NoneSwitch inside the caseIInternal pull-up. Hold low for 5 s or more to reset
Debug consoleGP0 (TX) · GP1 (RX)NoneNoneO · I921600 8N1, separate from the AT port
  • The W232N's DB9 is at RS-232 level. The EOE-W55RP20 and WIZ-IP20 pins are 3.3 V TTL.
  • The WIZ-IP20's P13 (LINKLED) and P1 (ACTLED) are the link and activity LED signals driven directly by the Ethernet chip, and they are low when lit (GP10 and GP11 are high). The WIZ-IP20 has no DTR/DSR pins, so DTR/DSR flow control cannot be used on it.
  • The AT port speed can be set from 9600 to 921600 bps.
  • Flow control: none, RTS/CTS, DTR/DSR or XON/XOFF. To send binary data such as a certificate or firmware, the port must use 8 data bits and a flow control other than XON/XOFF.
  • For power, operating temperature, dimensions and other electrical and mechanical specifications, see the module hardware datasheet.

Quick Start​

  1. Connect the AT port at 115200 8N1, send AT and check that OK comes back.
  2. Set the address. Choose DHCP or static with AT+NETMODE, then apply it with AT+SAVE.
  3. Turn on BACnet. Set the mode and the Device instance with AT+BACMODE=BIP and AT+BACDEV, and do not forget AT+SAVE.
  4. Check that the device appears in the workstation, then create objects and send values.
note

From the factory the module uses the static IP 192.168.11.2 and BACnet is off (AT+BACMODE? → +BACMODE:OFF,STOPPED). In this state the module does not answer Who-Is at all, so BACnet must be turned on before you look for the device from a workstation. It is the step most often missed on a first connection.

For example, publishing a temperature value over BACnet looks like this:

AT+BACMODE=BIP                                         turn on BACnet/IP (once)
AT+BOBJADD=AI,1,"Supply Temp",degrees-celsius create an Analog Input object (once)
AT+SAVE store the settings and objects
AT+BOBJVAL=AI,1,21.5 update the value

A workstation reading the Present_Value of analog-input,1 now gets 21.5. When the value changes, send AT+BOBJVAL again; the module reports the new value to every workstation that has subscribed to COV.

The full procedure is in the Getting Started Guide.


Customization Services​

WIZnet offers customization services for your specific needs. Based on the EOE-W55RP20_BACnet module, the following can be changed or added to suit your application:

  • Changing the factory defaults
  • Changing the MAC address
  • Preloading the end-product manufacturer's identity (Vendor ID, company name and model name) and object set
  • Adding protocols
  • Adding functions

The customized firmware is programmed into the W55RP20 and delivered.

To request customization, fill in the customization service request form.