Development v12

Warning - Product Update

All the resources present on this section belong to Waspmote v12, Waspmote Plug & Sense! v12 and Meshlium v3.8.

If you have a Waspmote v15, Waspmote Plug & Sense! v15 or Meshlium v4.0 please go to the new Development Section.

Check what is your version and what are the differences between the old and the new one in this document.

Examples:

Communication / RS-485

» RS-485 04: Modbus Read Coils (v12)

Last edition: Jan 10th, 2017 | Categories: Communication, RS-485

This example shows the use of the function readCoils. This function requests the ON/OFF status of discrete coils from the slave device.

» RS-485 06: Modbus Write Single Coil (v12)

Last edition: Jan 10th, 2017 | Categories: Communication, RS-485

This sketch shows the use of the Modbus communication protocol over RS-485 standard, and the use of the main functions of the library. This sketch shows how to use the function Write Singles Coil. This function writes a single coil to either ON or OFF.

» RS-485 07: Modbus Write Single Register (v12)

Last edition: Jan 10th, 2017 | Categories: Communication, RS-485

This sketch shows the use of the Modbus communication protocol over RS-485 standard, and the use of the main functions of the library. This sketch shows how to use the function write single coil. This function code is used to write a single holding register in a remote device

» RS-485 08: Modbus Several Slaves (v12)

Last edition: Jan 10th, 2017 | Categories: Communication, RS-485

This sketch shows the use of the Modbus communication protocol over RS-485 standard, and the use of the main functions of the library. This example shows how to create a network with several slaves, and how to get data from them.

» RS-485 09: Modbus Slave Mode (v12)

Last edition: Jan 10th, 2017 | Categories: Communication, RS-485

This sketch shows the use of the Modbus communication protocol over RS-485 standard, and the use of the main functions of the library. This example shows the use of the Waspmote RS-485 in slave mode.

» RS-485 10: Modbus Slave ACC & Battery Level (v12)

Last edition: Jan 10th, 2017 | Categories: Communication, RS-485

This sketch shows the use of the Modbus communication protocol over RS-485 standard, and the use of the main functions of the library. This example shows how to configure the Waspmote as a Modbus slave device.

» RS-485 11: Modbus Master ACC & Battery Level (v12)

Last edition: Jan 10th, 2017 | Categories: Communication, RS-485

This sketch shows the use of the Modbus communication protocol over RS-485 standard, and the use of the main functions of the library. This example shows how to configure the Waspmote as a Modbus master device. The Waspmote read the ACC values and the battery level from a Modbus slave.

» RS-485 12: Modbus Registers Map (v12)

Last edition: Jan 10th, 2017 | Categories: Communication, RS-485

This sketch shows the use of the Modbus communication protocol over RS-485 standard, and the use of the main functions of the library. Modbus allows for communication between many devices connected to the same network. There are many variants of Modbus protocols, but Waspmote implements the RTU format. Modbus RTU is the most common implementation available for Modbus.