Industrial Dual 0-20mA Bricklet – Tinkerforge

- Getting Started
  - Primer
  - Tutorials
  - FAQ
- Hardware
  - Bricks
  - Bricklets
    - Ambient Light Bricklet
    - Analog In Bricklet
    - Analog Out Bricklet
    - Barometer Bricklet
    - Breakout Bricklet
    - Color Bricklet
    - Current12 Bricklet
    - Current25 Bricklet
    - Distance IR Bricklet
    - Distance US Bricklet
    - Dual Button Bricklet
    - Dual Relay Bricklet
    - GPS Bricklet
    - Hall Effect Bricklet
    - Humidity Bricklet
    - Industrial Digital In 4 Bricklet
    - Industrial Digital Out 4 Bricklet
    - Industrial Dual 0-20mA Bricklet
      - Features
      - Description
      - Technical Specifications
      - Resources
      - Connectivity
      - Test your Industrial Dual 0-20mA Bricklet
      - Case
      - Programming Interface
    - Industrial Quad Relay Bricklet
    - IO-16 Bricklet
    - IO-4 Bricklet
    - Joystick Bricklet
    - LCD 16x2 Bricklet
    - LCD 20x4 Bricklet
    - LED Strip Bricklet
    - Line Bricklet
    - Linear Poti Bricklet
    - Moisture Bricklet
    - Motion Detector Bricklet
    - Multi Touch Bricklet
    - NFC/RFID Bricklet
    - Piezo Buzzer Bricklet
    - Piezo Speaker Bricklet
    - PTC Bricklet
    - Remote Switch Bricklet
    - Rotary Encoder Bricklet
    - Rotary Poti Bricklet
    - Segment Display 4x7 Bricklet
    - Solid State Relay Bricklet
    - Sound Intensity Bricklet
    - Temperature Bricklet
    - Temperature IR Bricklet
    - Tilt Bricklet
    - Voltage Bricklet
    - Voltage/Current Bricklet
  - Master Extensions
  - Power Supplies
  - Accessories
  - Timeline
- Software
  - Brick Daemon (brickd)
  - Brick Viewer (brickv)
  - API Bindings
  - Firmwares and Plugins
  - Device Identifier
  - Source Code and Bug Tracking
  - Programming Interface
- Starter Kits
  - Weather Station
  - Hardware Hacking
  - Server Room Monitoring
  - Blinkenlights
  - Internet of Things
  - Camera Slider
- Embedded Boards
  - Raspberry Pi
- Specifications
  - Technical Data
  - TCP/IP Protocol
  - Modbus Protocol
  - Wireshark Dissector

In Shop

# Industrial Dual 0-20mA Bricklet

{% from "macros.html" import tfdocstart, tfdocimg, tfdocend %} {{ tfdocstart("Bricklets/bricklet_industrial_dual_0_20ma_tilted_350.jpg", "Bricklets/bricklet_industrial_dual_0_20ma_tilted_600.jpg", "Industrial Dual 0-20mA Bricklet") }} {{ tfdocimg("Bricklets/bricklet_industrial_dual_0_20ma_vertical_100.jpg", "Bricklets/bricklet_industrial_dual_0_20ma_vertical_600.jpg", "Industrial Dual 0-20mA Bricklet") }} {{ tfdocimg("Bricklets/bricklet_industrial_dual_0_20ma_horizontal_100.jpg", "Bricklets/bricklet_industrial_dual_0_20ma_horizontal_600.jpg", "Industrial Dual 0-20mA Bricklet") }} {{ tfdocimg("Bricklets/bricklet_industrial_dual_0_20ma_sensor_100.jpg", "Bricklets/bricklet_industrial_dual_0_20ma_sensor_600.jpg", "Industrial Dual 0-20mA Bricklet with Ambient Light Sensor") }} {{ tfdocimg("Cases/bricklet_industrial_case_100.jpg", "Cases/bricklet_industrial_case_600.jpg", "Industrial Dual 0-20mA Bricklet in Case") }} {{ tfdocimg("Bricklets/bricklet_industrial_dual_0_20ma_brickv_100.jpg", "Bricklets/bricklet_industrial_dual_0_20ma_brickv.jpg", "Industrial Dual 0-20mA Bricklet in Brick Viewer") }} {{ tfdocimg("Dimensions/industrial_dual_0_20ma_dimensions_100.png", "Dimensions/industrial_dual_0_20ma_dimensions_600.png", "Outline and drilling plan") }} {{ tfdocend() }}

## Features

- Precision current sensor, measures currents between 0 and 22.5mA
- Can read out any IEC 60381-1 type 2 and type 3 sensor
- High accuracy (0.15%), resolution (up to 0.172µA) and sample rate (up to 240 SPS)
- It is possible to detect if a sensor is connected/faulty

## Description

The Industrial Dual 0-20mA Bricklet can be used to extend the features of Bricks by the capability to measure currents between 0 and 22.5mA.

This Bricklet can be used to read out up to two IEC 60381-1 type 2 and type 3 sensor.

The measured current can be read out in nA. With configurable events it is possible to react on changing currents without polling.

## Technical Specifications

Property | Value
--- | ---
Sensor | MCP3423
Current Consumption | 1mA
Measurement Range | 0mA - 22.5mA
Supported Sensors | IEC 60381-1 type 2 and type 3
Accuracy | 0.15% with 40ppm/°C
Resolution | up to 0.172µA (18bit)
Sample Rate | up to 240 samples per second
Dimensions (W x D x H) | 40 x 40 x 11mm (1.57 x 1.57 x 0.43")
Weight | 8g

## Resources

- MCP3423 Datasheet (Download)
- Schematic (Download)
- Outline and drilling plan (Download)
- Source code and design files (Download)

## Connectivity

See below for connection diagrams for type 2/3 sensor.

Both sensor ports ("Sensor 0" and "Sensor 1") can be used independently. Notice the battery symbol in the picture above. Over the external power supply input of the Bricklet (up to 48V) the sensors can be powered.

## Test your Industrial Dual 0-20mA Bricklet

To test a Industrial Dual 0-20mA Bricklet you need to have Brick Daemon and Brick Viewer installed. Brick Daemon acts as a proxy between the USB interface of the Bricks and the API bindings. Brick Viewer connects to Brick Daemon. It helps to figure out basic information about the connected Bricks and Bricklets and allows to test them.

Connect the Industrial Dual 0-20mA Bricklet to a Brick with a Bricklet Cable and attach a current source (see picture below). In this example we use a 4-20mA ambient light sensor.

If you connect the Brick to the PC over USB, you should see a new tab named "Industrial Dual 0-20mA Bricklet" in the Brick Viewer after a moment. Select this tab. If everything went as expected the Brick Viewer should look as depicted below.

Interact with the sensor to see the current changing in the Brick Viewer.

After this test you can go on with writing your own application. See the Programming Interface section for the API of the Industrial Dual 0-20mA Bricklet and examples in different programming languages.

## Case

A laser-cut case for the Industrial Dual 0-20mA Bricklet is available.

The assembly is easiest if you follow the following steps:

- Screw spacers to the Bricklet,
- screw bottom plate to bottom spacers,
- build up side plates,
- plug side plates into bottom plate and
- screw top plate to top spacers.

Below you can see an exploded assembly drawing of the Industrial Dual 0-20mA Bricklet case:

Hint: There is a protective film on both sides of the plates, you have to remove it before assembly.

## Programming Interface

See Programming Interface for a detailed description.

Language | API | Examples | Installation
--- | --- | --- | ---
Modbus | API |  |
TCP/IP | API |  |
C/C++ | API | Examples | Installation
C# | API | Examples | Installation
Delphi/Lazarus | API | Examples | Installation
Java | API | Examples | Installation
JavaScript | API | Examples | Installation
LabVIEW | API | Examples | Installation
Mathematica | API | Examples | Installation
MATLAB/Octave | API | Examples | Installation
Perl | API | Examples | Installation
PHP | API | Examples | Installation
Python | API | Examples | Installation
Ruby | API | Examples | Installation
Shell | API | Examples | Installation
Visual Basic .NET | API | Examples | Installation

The content of this page is licensed under Creative Commons Attribution 3.0 Unported License.