Sferalabs Iono IMMS13R User manual

Iono MKR User Guide
August 2021
Revision 004
IMMS13X Iono MKR
IMMS13R Iono MKR with RTC
IMMS13S Iono MKR with RTC and Secure Element
a general-purpose, professional input/output module based on Arduino MKR boards
!

Safety information 4
Qualified personnel 4
Hazard levels 4
Safety instructions 5
General safety instructions 5
Battery 5
Introduction 7
Features 8
Usage and connections 9
Device identification 10
Power supply 10
Multi-mode inputs 10
Analog mode 10
Digital mode 10
DI5 and DI6 digital inputs 11
Analog output 12
Relay digital outputs 12
RS-485 serial port 12
Mapping 14
Hardware Installation 15
Opening the case 15
Closing the case 15
Arduino MKR board installation 16
Iono MKR software development 17
Programming 17
Optional components 18
Real Time Clock module 18
Replacing the RTC backup battery 18
ATECC608 secure element 19
Earthquake sensor module 20
Block diagram 21
Board layout 22
Technical specifications 23
Dimensions 26
Disposal 27
Installation and use restrictions 27
1
Iono MKR User Guide

Be sure to always remove the power supply before installing or
removing the Arduino board inside Iono MKR.
Iono MKR must be operated with the plastic case installed.
Follow all applicable electrical safety standards, guidelines,
specifications and regulations for installation, wiring and operations of
Iono MKR modules.
Carefully and fully read this Iono MKR user guide before installation.
Iono MKR is not authorised for use in safety-critical applications where a failure of the
product would reasonably be expected to cause personal injury or death. Safety-critical
applications include, without limitation, life support devices and systems, equipment or
systems for the operation of nuclear facilities and weapons systems. Iono MKR is neither
designed nor intended for use in military or aerospace applications or environments and
for automotive applications or environment. Customer acknowledges and agrees that any
such use of Iono MKR is solely at Customer's risk, and that Customer is solely responsible
for compliance with all legal and regulatory requirements in connection with such use.
Sfera Labs S.r.l. may make changes to specifications and product descriptions at any time,
without notice. The product information on the web site or materials is subject to change
without notice.
Please download and read the Sfera Labs Terms and Conditions document available at:
http://www.sferalabs.cc
Iono and Sfera Labs are trademarks of Sfera Labs S.r.l. Other brands and names may be
claimed as the property of others.
"
Copyright © 2018-2021 Sfera Labs S.r.l. All rights reserved.
3
Iono MKR User Guide

Safety information
Carefully and fully read this user guide before installation and retain it for future reference.
Qualified personnel
The product described in this manual must be operated only by personnel qualified for the
specific task and installation environment, in accordance with all relevant documentation
and safety instructions. A qualified person should be capable of fully identifying all
installation and operation risks and avoid potential hazards when working with this product.
Hazard levels
This manual contains information you must observe to ensure your personal safety and
prevent damage to property. Safety information in this manual are highlighted by the safety
symbols below, graded according to the degree of danger.
Indicates a hazardous situation which, if not avoided, will result in death or serious
personal injury.
Indicates a hazardous situation which, if not avoided, may result in death or serious
personal injury.
Indicates a hazardous situation which, if not avoided, can result in minor or moderate
personal injury.
Indicates a situation which, if not avoided, can result in damage of property.
DANGER
WARNING
CAUTION
NOTICE
4
Iono MKR User Guide

Safety instructions
General safety instructions
Protect the unit against moisture, dirt and any kind of damage during transport, storage
and operation. Do not operate the unit outside the specified technical data.
Never open the housing. If not otherwise specified, install in closed housing (e.g.
distribution cabinet). Earth the unit at the terminals provided, if existing, for this purpose.
Do not obstruct cooling of the unit. Keep out of the reach of children.
Life threatening voltages are present within and around an open control cabinet.
When installing this product in a control cabinet or any other areas where dangerous
voltages are present, always switch off the power supply to the cabinet or equipment.
Risk of fire if not installed and operated properly.
Follow all applicable electrical safety standards, guidelines, specifications and regulations
for installation, wiring and operations of this product.
Ensure that the product is properly installed and ventilated to prevent overheat.
The connection of expansion devices to this product may damage the product and other
connected systems, and may violate safety rules and regulations regarding radio
interference and electromagnetic compatibility.
Use only appropriate tools when installing this product. Using excessive force with tools
may damage the product, alter its characteristics or degrade its safety.
Battery
This product optionally uses a small lithium non-rechargeable battery to power its internal
real time clock (RTC).
WARNING
WARNING
NOTICE
5
Iono MKR User Guide

Improper handling of lithium batteries can result in an explosion of the batteries and/or
release of harmful substances.
Worn-out or defective batteries can compromise the function of this product.
Replace the RTC lithium battery before it is completely discharged. The lithium battery
must be replaced only with an identical battery. See the "Replacing the RTC backup
battery" section for instructions.
Do not throw lithium batteries into fire, do not solder on the cell body, do not recharge, do
not open, do not short-circuit, do not reverse polarity, do not heat above 100°C and protect
from direct sunlight, moisture and condensation.
Dispose of used batteries according to local regulations and the battery manufacturer's
instructions.
WARNING
6
Iono MKR User Guide

Introduction
Iono MKR combines the ease of use of the Arduino platform with multiple input and output
interfaces; the result is a rugged, safe, reliable and easy to connect module, suited for
installation both in industrial and residential environments.
Iono MKR ships without any Arduino board, so you can use your preferred Arduino MKR
board, as far as it is fully compatible with the Arduino MKR pinout and fits the Iono MKR
case.
7
Iono MKR User Guide

Features
The Iono MKR key features are:
✓12÷28Vdc power supply, with surge and reverse polarity protection, and 1.1A resettable
fuse
✓compatible with 3.3V operating voltage Arduino MKR boards. Currently the following
boards are supported: Arduino MKR WiFi 1010, Arduino MKR1000 WiFi (with headers),
Arduino MKR ZERO, Arduino MKR GSM 1400, Arduino MKR FOX 1200, Arduino MKR
WAN 1300
✓4 multi-mode inputs: either to be used as digital or as 0÷30V or 0÷20mA analog signals
✓2 digital inputs for potential-free contacts or TTL level input/output
✓1 buffered analog output 0÷10V controlled by the Arduino MKR DAC output
✓4 power relay outputs rated for 6A at 250V
✓standard RS-485 interface to the Arduino serial pins, with electrostatic discharge
protection
✓1-Wire, I2C and Wiegand support
✓optional real time clock with on-board Lithium / Manganese Dioxide back-up battery
✓optional secure element chip
✓optional earthquake sensor module
✓removable terminal blocks for easier installation
✓inputs protected against electrostatic discharges and temporary over voltages
✓double internal insulation between high voltage areas (relay outputs) and all other
components
✓compact, standard modular housing 3 units size, suitable for mounting on Omega rail.
8
Iono MKR User Guide

Usage and connections
CONNECTION EXAMPLE
9
Iono MKR User Guide

Device identification
The device can be identified with the information provided in the rating and identification
plate, permanently attached to the side of the case.
EXAMPLE RATING AND IDENTIFICATION PLATE
Power supply
Iono MKR can be powered with DC voltage only:
✓DC: nominal voltage in the range 12V to 28V (min=11V, max=30V)
Respect the correct polarity shown in the schematic diagram (+ -). The power supply
circuit implements reverse polarity protection using an auto resetting fuse and surge
protection up to ±500V/2ohms 1.2/50μs.
Multi-mode inputs
Iono MKR features 4 multi-mode inputs. Depending on terminal blocks wiring, digital (ON-
OFF), voltage (0÷30V) or current (0÷25mA) signals can be applied.
Analog mode
When using analog inputs (AV1-4, AI1-4), 0÷30V and 0÷25mA are converted to 0÷3.3V
levels in order to be compatible with the Arduino platform input pins. Both active and
passive 0÷20mA (or 4÷20mA) transmitters can be connected, using the VSO terminal as
power supply; the 0÷20mA transmitter shown in the connection example diagram above is
a 2-wire passive type.
Note that, when using input 3 in digital mode (DI3), because of stray currents in the
Arduino board, applying a voltage that exceeds approximately 7V will cause
significant errors to the analog values read on inputs 1, 2 and 4.
Digital mode
In digital mode, an external potential free contact can be connected between terminals
VSO and DI1-4; otherwise, the DIx terminal can be connected to an external voltage signal
(in the range 0÷40V) referred to the GND of the Iono MKR module.
10
Iono MKR User Guide

DI5 and DI6 digital inputs
An external potential free contact can be connected between terminals VSO and DIx (x=5,
6); otherwise, the DIx terminal can be connected to an external voltage signal (in the
9÷40V range) referred to the GND of the Iono MKR module.
DI5 and DI6 are connected to the Arduino board through a protection network. If you need
to bypass the protection network to use DI5 and DI6 as general-purpose TTL-level (0-5V)
input/output lines, or for 1-Wire or Wiegand support, you can move jumpers J4 (DI6) and
J5 (DI5) to the BYP position.
Note that, with the jumpers in the BYP position, you should limit the voltage applied to DI5
or DI6 between +0V and +5V (TTL level). Exceeding this voltage range will result in
damage to the Arduino board and Iono MKR.
DI5-DI6 JUMPERS SCHEMATIC
NOTICE
11
Iono MKR User Guide

DI5-DI6 JUMPERS POSITION
Analog output
Iono MKR features a 0÷10V output (AO1) which can be controlled by the DAC0 pin of the
Arduino board; the 0÷3.3V range of the DAC0 pin is converted to a 0÷10V output voltage.
This is a sink/source output (the current direction at this output can be both positive and
negative).
Relay digital outputs
Iono MKR has four single pole single throw power relays, with normally open contacts.
The relays are driven by distinct digital outputs of the Arduino board.
RS-485 serial port
Iono MKR uses the Arduino UART TX/RX pins to implement a standard RS-485 serial port.
Simply connect the RS-485 A, B and GND to the RS-485 pins of the terminal block.
The RS-485 port is protected from ESD and voltage surges, and supports half-duplex
communication up to to 115200 bps.
The RS-485 TX/RX switching is controlled by a digital output pin of the Arduino board
(pin$4). You should set pin 4 high to enable transmission on the RS-485, and set it low to
allow reception of incoming data.
12
Iono MKR User Guide

The RS-485 line has 620 Ohm pull-up and pull-down resistors on lines A and B. The
biasing resistors ensure that, during idle periods the data lines are kept at a stable voltage
level and prevent false triggering of receiver input. These resistors can be enabled
installing jumpers J2 and J1 respectively.
A 120 Ohm termination resistor between A and B can be enabled installing jumper J3.
RS-485 JUMPERS SCHEMATIC
RS-485 JUMPERS POSITION
13
Iono MKR User Guide

Mapping
The following table shows the mapping of the inputs and outputs of the Iono MKR module
to the related pins of the Arduino platform.
Iono MKR inputs and outputs
Arduino pins
DI1 – AV1 – AI1
A1
DI2 – AV2 – AI2
A2
DI3 – AV3 – AI3
A3
DI4 – AV4 – AI4
A4
DI5
7 (DEF) - 0 (BYP)
DI6
5 (DEF) - 1 (BYP)
O1
3
O2
2
O3
A6
O4
A5
AO1
A0/DAC0
RS-485
RX (13) / TX (14)
RS-485 TX-ENABLE
4
I2C SDA for optional RTC and D7S
SDA (11)
I2C SCL for optional RTC and D7S
SCL (12)
14
Iono MKR User Guide

Hardware Installation
For the initial set-up, the plastic DIN rail case must be removed to access the circuit
boards and internal connectors.
The case also needs to be opened to connect a USB cable to the programming port of the
Arduino board, and if the factory configuration of the internal jumpers for the RS-485
termination resistors or digital input configuration must be changed (see below).
Before opening the Iono MKR case, disconnect all power sources and any connection to
external devices.
Opening the case
Follow these steps, in the exact order, to open the case:
1. Remove the green pluggable terminal blocks
2. Remove the black plastic DIN rail hook
3. With a small flat screwdriver gently separate the bottom case and boards assembly
from the top cover
4. The circuit boards assembly will simply slide out of the case, as it is mechanically held
in place by the bottom case only
Closing the case
5. Replace the circuit boards assembly inside the case; ensure that the terminal block
connectors are aligned with the opening in the case
6. Replace the case bottom, then gently push the other side in place
7. Replace the black plastic DIN rail hook.
OPENING AND CLOSING THE CASE
NOTICE
15
Iono MKR User Guide

Arduino MKR board installation
To install your own Arduino MKR board in Iono MKR, or replace a pre-installed board, no
tools are required. The Arduino MKR board top side pin headers (female) connect to the
pin headers (male) of the top Iono MKR board. The Arduino MKR board is installed upside
down, with the micro USB programming near the relay outputs terminal block.
Static electricity can damage the components in your system. To protect your system's
components from static damage during the installation process, touch any of the unpainted
metal surfaces on your computer's frame or wear an ESD wrist strap before handling
internal components. Either method will safely discharge static electricity that's naturally
present in your body.
When handling the Arduino MKR, be sure to hold it along the side edges using your thumb
and index finger. Avoid touching the components and pin connectors as damage can
occur.
NOTICE
16
Iono MKR User Guide

Iono MKR software development
Since Iono MKR is just a super-sized I/O shield for a standard Arduino MKR board, you
don’t need any specific library to work on it.
Our libraries and examples, available with source code on GitHub, will provide you with
some handy utilities to speed up your development, including functionalities to monitor the
inputs (filtering out possible noise) and control the outputs, HTTP APIs, Modbus support
and much more.
Go to https://github.com/sfera-labs to access the code and documentation.
Programming
The Arduino MKR board, when mounted into a Iono MKR module, must be programmed
through its micro USB port.
PROGRAMMING THE ARDUINO BOARD
Connect the adapter to a PC and perform the programming as usual. This operation does
not require the Iono MKR module to be connected to a power supply.
17
Iono MKR User Guide

Optional components
Real Time Clock module
Iono MKR can be shipped with an optional, factory-installed hardware real time clock with
a dedicated long-life non-rechargeable back-up battery.
The battery is only used to power the RTC chip when the main power is not available.
Depending on operating conditions it should last up to two years if the Iono MKR board is
not powered, more if the Iono MKR receives external power.
The RTC module is based on the Microchip MCP79410 real-time clock/calendar chip. It is
connected to the Arduino MKR via the I2C bus (address: 0x57 for the EEPROM and 0x6f
for the SRAM/RTCC registers).
OPTIONAL REAL TIME CLOCK MODULE AND BATTERY
Replacing the RTC backup battery
The Iono MKR RTC module uses a CR1025 Lithium / Manganese Dioxide (Li/MnO2)
battery.
Improper handling of lithium batteries can result in an explosion of the batteries and/or
release of harmful substances.
Worn-out or defective batteries can compromise the function of this product.
WARNING
18
Iono MKR User Guide

KEEP OUT OF REACH OF CHILDREN. Swallowing may lead to serious injury or death in
as little as 2 hours due to chemical burns and potential perforation of the esophagus.
Immediately see doctor.
Replace the RTC lithium battery before it is completely discharged. Replace the battery
every 5 years even if the battery is still working properly. The lithium battery must be
replaced only with an identical CR1025 Lithium / Manganese Dioxide (Li/MnO2) battery.
Do not throw lithium batteries into fire, do not solder on the cell body, do not recharge, do
not open, do not short-circuit, do not reverse polarity, do not heat above 100°C and protect
from direct sunlight, moisture and condensation.
Dispose of used batteries according to local regulations and the battery manufacturer's
instructions.
The RTC backup battery holder is soldered to the bottom layer of the RTC module circuit
board. The battery is not accessible from the outside. You should first remove the case top
body to gain access to the Iono MKR circuit boards.
Before opening the Iono MKR Base case, disconnect all power sources and any
connection to external devices, including USB cables.
Use a non-conductive pin or small tool to help extract the battery from its holder. Insert the
new battery with a gentle push. You don't need tools to insert the battery. The battery is
held into place by a spring contact.
Be sure to insert the battery so that the positive (+) terminal of the battery is in contact with
the outer body of the battery holder, and the negative (-) terminal is in contact with the
contact pad of the circuit board, as shown in the photo below.
Reversing the battery polarity may damage the product.
The real time clock will reset its time immediately when the RTC backup battery is
disconnected.
ATECC608 secure element
Iono MKR can be shipped with an optional, factory-installed hardware secure element
chip, the ATECC608 from Microchip. The ATECC608 is connected to the to the Arduino
MKR via the I2C bus (address: 0x60).
Its key features are:
✓Cryptographic co-processor with secure hardware-based key storage
✓Protected storage for up to 16 Keys, certificates or data
✓Hardware support for asymmetric sign, verify, key agreement – ECDSA: FIPS186-3
Elliptic Curve Digital Signature
✓ECDH: FIPS SP800-56A Elliptic Curve Diffie-Hellman
✓NIST standard P256 elliptic curve support
✓Hardware support for symmetric algorithms
NOTICE
19
Iono MKR User Guide
This manual suits for next models
6
Table of contents
Other Sferalabs I/O System manuals

Sferalabs
Sferalabs IAMU21X User manual

Sferalabs
Sferalabs Iono Pi with Raspberry Pi 3 Model B IPMB20R User manual

Sferalabs
Sferalabs iono Arduino Installation instructions

Sferalabs
Sferalabs iono Uno User manual

Sferalabs
Sferalabs Iono Pi User manual

Sferalabs
Sferalabs Iono RP D16 User manual

Sferalabs
Sferalabs IMMS13X Iono MKR User manual

Sferalabs
Sferalabs IAMS21X User manual

Sferalabs
Sferalabs iono MKR User manual