Arduino to the DispSky complex

Connecting Arduino boards to the DispSky complex
ORIGINAL POST
By NA
components
Hardware Components
w5500 Ethernet shield
X 1
w5100 Ethernet shield
X 1
w5300 ethernet shield
X 1
Software Apps and online services
Arduino IDE
details

ucc_april_3.png

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.

 

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:

 

  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):

In the window that opens, enter the connection parameters:

 

  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:

In the window that opens, enter the device parameters:

 

  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 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

ucc_april_3.png

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.

 

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:

 

  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):

In the window that opens, enter the connection parameters:

 

  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:

In the window that opens, enter the device parameters:

 

  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 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

COMMENTS

Please Login to comment
  Subscribe  
Notify of
POSTED BY