Vermes
Advanced Member level 4
This control module can be used for control by the Internet. It can operate with a home made control and alarm system with notification by a mobile phone.
Command the status change of a device with specified number (from 01 to 99) causes sending the appropriate command by the output port RS-485 of the driver.
Output port RS-485 parameters:
speed 9600 bps, 8N1
Format of sent commands:
prefix - #
device number – two numbers (01-00)
specified state – 0 (off) or 1 (on)
An example command:
#021 – turn on the device number 02
#370 – turn on the device number 37
This solution allows the physical separation of control devices from the driver, division to the modules and their distribution at any distances from each other only limited by acceptable parameters of the bus RS-485.
99 „on-off” devices is in practice sufficient for most applications.
This device can also be used as a simple converter of commands sent by Ethernet (you have 99x2=198 combinations available) to signals of RS-485.
SterNet-4PK has built in four relays with outputs of NO type, what allows you to drive them directly without connecting additional modules to the RS-485.
Control (up to 99 outputs, including 4 built in relays) can be carried out by:
- any http browser
- from local keypad (so you do not have to use computer)
- from local keypad of other SterNet – the driver can be both server and client for other such a device, which allows you to control – without using a computer – by other driver operating in a different location, but connected by for example a Wi-Fi bridge. In practive thich allows you to control devices in a distant garage from home and vice versa
- input port RS-485 of the driver (as an alternative control method)
Description of pins:
- relay No. 1 turn on indication LED
- relay No. 2 turn on indication LED
- relay No. 3 turn on indication LED
- relay No. 4 turn on indication LED
- green LED of port LAN (light indicates network connection)
- yellow LED of port LAN (blinking indicates data transfer)
- two-color LED of operation state:
- green – operation in Server mode
- red – operation in Client mode
- NO relays outputs stacking (5A/230AC)
- C1 (relay No. 1)
- NO1 (relay No. 1)
- C2 (relay No. 2)
- NO2 (relay No. 2)
- C3 (relay No. 3)
- NO3 (relay No. 3)
- C4 (relay No. 4)
- NO4 (relay No. 4)
- socket RJ-45 to connect LAN network
- socket of DC power supply +12V/500mA (plug 5,5/2,1 „+” inside, „-” outside)
- socket RJ-45 to connect the keypad (matrix 4x3)
- button to restore to factory settings (Reset)
- power and ports RS-485 bar
- +12V supply (physically connected to „+” of DC socket No. 10)
- COM supply ground (physically connected to „-” of DC socket No. 10)
- TX-A (output port RS-485)
- TX-B (output port RS-485)
- RX-A (input port RS-485)
- RX-B (input port RS-485)
Pictures – two-sided PCB:
Keypad (matrix 4x3) built in surface socket RJ-45:
PCB in housing KM-38:
Answer - „ping”:
Browser window with 4 outputs (relays) preview set in the driver:
Browser window with 99 outputs preview set in the driver:
Link to original thread (useful attachment) - SterNet-4PK Sterownik internetowy do 99 wyjść (ENC28J60 + ATmega88)