Skip to content

Arduino to the DispSky complex

Arduino to the DispSky complex

teju

Published March 29, 2022

57 UCC

16 VAR

Components

Hardware components
W5500 Ethernet Shield

x 1



x 1

Software Apps and online services

Project description

Connecting Arduino boards to the DispSky complex

To connect Arduino boards to the DispSky cloud complex, Ethernet shields and modules based on W5100, W5200, W5500 chips are used.
Connecting Arduino boards to the DispSky complex
 

To connect Arduino boards to the DispSky complex, you need:

For the Arduino board: Connect an Ethernet shield to your board, or connect an Ethernet module to your board via the SPI interface. Download the example?sketch ?and open it with the Arduino IDE:
To connect Arduino boards to the DispSky complex, you need:
 
  1. Specify the address of the DispSky server "s1.dispsky.ru"
  2. Specify the port of the DispSky server "5010"
  3. Come up with your own unique code consisting of any 12 ASCII characters
Generate the firmware and place it in the microcontroller. In the DispSky personal account: Add a node (To do this, right-click on the free area of ??the "devices" field):
To connect Arduino boards to the DispSky complex, you need:
In the window that opens, enter the connection parameters:
To connect Arduino boards to the DispSky complex, you need:
 
  1. Enter the node name.
  2. Select the tuning mode - HF2211.
  3. Enter the 12 digit code you provided in the Arduino sketch.
After selecting all the options to save the settings, click "Save". Add Device:
To connect Arduino boards to the DispSky complex, you need:
In the window that opens, enter the device parameters:
To connect Arduino boards to the DispSky complex, you need:
 
  1. Enter a device name.
  2. Select Modbus TCP protocol.
  3. Think up and enter an identifier for the device.
After selecting all the parameters to save the settings, click "Save" The added device will appear in the device tree.?A green checkbox means that the settings have been correctly made and the device is connected to the DispSky complex. Next, go to view the registers available on the Arduino board by clicking on the "Tags" button:
To connect Arduino boards to the DispSky complex, you need:
To add tags, click the Add button and enter register parameters. In the example sketch, registers of types Coils and Discrete Inputs are available at addresses 1 - 200, as well as Holding Registers and Input Registers at addresses 1 - 130, you can reduce or increase their number, depending on the need and the availability of free memory.?Please note that the register addresses in the sketch arrays and in the DispSky personal account differ by + 1. You can control the data transfer in the connection settings by selecting the "Diagnostics" tab
To connect Arduino boards to the DispSky complex, you need:

Comments

Similar projects you might like

Comments