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.
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 |
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:
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.
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.
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.
A laser-cut case for the Industrial Digital In 4 Bricklet 2.0 is available.
The assembly is easiest if you follow the following steps:
Below you can see an exploded assembly drawing of the Industrial Digital In 4 Bricklet case:
Hint: There is a protective film on both sides of the plates, you have to remove it before assembly.
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 |