Note
The Current25 Bricklet is discontinued and is no longer sold. The Voltage/Current Bricklet 2.0 is the recommended replacement.
The Current25 Bricklet can be used to extend the features of Bricks by bidirectional current flow measurements of up to 25A. Additionally events can be configured to receive signals when a specified current is exceeded.
Typical applications can be found in robotics. With the bidirectional current flow measurement it is possible distinguish between charge and discharge.
Property | Value |
---|---|
Sensor | ACS711 (25A version) |
Current Consumption | 5mA |
Current | -25A to 25A in 1mA steps, 12bit resolution |
Maximum Input Voltage | 100VAC/100VDC (peak) |
Dimensions (W x D x H) | 25 x 25 x 14mm (0.98 x 0.98 x 0.55") |
Weight | 4g |
To test a Current25 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 Current25 Bricklet to a Brick with a Bricklet Cable. Connect a motor and a battery to the Bricklet as displayed in the following picture (or anything else connected in series to the Current25 Bricklet that produces a current).
If you connect the Brick to the PC over USB, you should see a new tab named "Current25 Bricklet" in the Brick Viewer after a moment. Select this tab. If everything went as expected you can now see the current used by the motor and a graph that shows the current over time.
In the screenshot you can see a high current peak. This is caused by the starting of the motor when the battery is connected.
After this test you can go on with writing your own application. See the Programming Interface section for the API of the Current25 Bricklet and examples in different programming languages.
See Programming Interface for a detailed description.
Language | API | Examples | Installation |
---|---|---|---|
C/C++ | 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 |