Industrial Digital In 4 Bricklet 2.0

Features

  • 4 channel digital input
  • Input voltages up to 36V (DC)
  • Galvanically isolated

Description

The Industrial Digital In 4 Bricklet 2.0 can be used to extend Bricks by four galvanically isolated digital inputs. The input voltage can be up to 36 volts (DC).

Input isolation permits the usage without a direct electrical connection, such that ground loops can be prevented and an additional degree of safety is added.

Typical applications are the interfacing of industrial controllers, such as PLC's or frequency converters, or the usage in environments were electrical ground levels can not be connected.

Technical Specifications

Property Value
Current Consumption 28mW (5.6mA at 5V)
   
Input Type Four optocoupled inputs (including 4.7kΩ series resistor)
Input Current Depending on input voltage, ca. 1mA/5V, ca. 5mA/24V
Maximum Input Voltage 36V (DC)
Low Level Voltage 0-2V
High Level Voltage 3-36V
Isolation 5000Vrms (optocoupler value)
   
Dimensions (W x D x H) 40 x 40 x 11mm (1.57 x 1.57 x 0.43")
Weight 8.6g

Resources

Connectivity

The Industrial Digital In 4 Bricklet 2.0 has an 8 pole terminal. With it you can access the four inputs. Each input is connected to one LED inside the optocoupler.

To use one input connect it as depicted below:

Industrial Digital In 4 Bricklet 2.0 Terminals

Channel Status LEDs

The Bricklet has the standard status LED with four additional LEDs (one for each input).

By default the channel status LEDs are on if the corresponding channel is high and off otherwise. You can also turn each LED individually on/off and show other status information through the API.

Test your Industrial Digital In 4 Bricklet 2.0

To test a Industrial Digital In 4 Bricklet 2.0 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 Digital In 4 Bricklet 2.0 to a Brick with a Bricklet Cable.

If you connect the Brick to the PC over USB, you should see a new tab named "Industrial Digital In 4 Bricklet 2.0" in the Brick Viewer after a moment. Select this tab. If everything went as expected the current state of the inputs should be displayed. If nothing is connected to the Bricklet all inputs should be logical low.

Industrial Digital In 4 Bricklet 2.0 in 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 Digital In 4 Bricklet 2.0 and examples in different programming languages.

Case

A laser-cut case for the Industrial Digital In 4 Bricklet 2.0 is available.

Case for Industrial Digital In 4 Bricklet 2.0

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 Digital In 4 Bricklet case:

Exploded assembly drawing for Industrial Digital In 4 Bricklet 2.0

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
C/C++ API Examples Installation
C/C++ for Microcontrollers API Examples Installation
C# API Examples Installation
Delphi/Lazarus API Examples Installation
Go API Examples Installation
Java API Examples Installation
JavaScript API Examples Installation
LabVIEW API Examples Installation
Mathematica API Examples Installation
MATLAB/Octave API Examples Installation
MQTT API Examples Installation
openHAB API Examples Installation
Perl API Examples Installation
PHP API Examples Installation
Python API Examples Installation
Ruby API Examples Installation
Rust API Examples Installation
Shell API Examples Installation
Visual Basic .NET API Examples Installation
TCP/IP API    
Modbus API