RLY-8-RS485_8_Relay_Controller_SKU_DFR0290-DFRobot

Introduction

The RLY-8 is a network relay controller with open source communication protocol. It integrates 8 channel relays and each relay could stand 277VAC-10A or 125VAC-12A power. Meanwhile most of the household appliances are under 250VAC, it means you could use it almost everywhere. The RLY-8 is using STM32 microcontroller. It supports 2 types of power supply: Wall adapter or PoE (Power over Ethernet) power supply. You could reduce its connection cable via PoE power supply. In addition, you also could control it via RS485 port or TCP/IP protocol. And RS485 and JSON protocol has been opened on the website. This Ethernet relays are really great for IoT projects - with 8 relays, you have plenty of scope to try different things. Like a remote control light, a autoflowering greenhouse. With the open source protocol, you could add it in plenty of things you can do with this besides, just use your imagination!

Specification

Tutorial

Requirements

Connection Diagram

RLY-8-PoE-RS485 supports 2 types of control mode: Ethernet and RS485 In this section, we will introduce some typical connection:

DFR0290-CON1.png

NOTE: If you directly connect to the computer, you will need to set a static IP. Going by RLY factory settings, you can set your computer IP to 192.168.1.x(x is 0~254 except 10), Subnetmask 255.255.255.0, gateway 192.168.1.1

DFR0290-CON2.png

PC Control of POE Relay

Open the Software

DFR0290-EXE1.png

Select the network, and then select the network Control button, enter the network control interface

DFR0290-EXE2.png

NOTE: It may take some time when the RLY-8 has just been powered on, please be patient waiting for the network list

Network Control of POE Relay

DFR0290-EXE3.png

NOTE: It is recommended to click the "Get Status" button to get the current state when you want to control the relay.

Control the POE relay with RS485 BUS

DFR0290-EXE5.png DFR0290-EXE4.png

Reset and Restore Factory Settings

To reset the factory default settings, hold the reset button until the lights begin to flash. DFR0290-RESTART.png

Control

RLY-8-reasult.png RLY-8-reasult1.jpg

FAQ

Q&A Some general Arduino Problems/FAQ/Tips
Q Some general Arduino Problems/ FAQ/ Tips, very good to know
Q The RELY-8-POE-EN.pdf document (below) describes using JSON messages to set and get relay states. I am trying to get this to work but I am unsure how. Is there sample code?
A This open source protocal is for advanced JSON users, if you know JSON well, you could use the JSON command by connecting the Relay Controller to TCP port2000. If not, here is an official introduce about JSON, and you could google more tutorial about JSON if you want to develope your own software to use this relay controller. BTW, we have passed test on Telnet (PuTTY) and TCP/IP Net Assistant.
A For any questions, advice or cool ideas to share, please visit the DFRobot Forum.
## More

DFshopping_car1.png Get RLY-8-RS485 8 Relay Controller from DFRobot Store or DFRobot Distributor.

Turn to the Top