The Current12 Bricklet can be used to extend the features of Bricks by bidirectional current flow measurements of up to 12.5A. 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 (12.5A version) |
| Current | -12.5A to 12.5A 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 the Current12 Bricklet you need to have the Brick Daemon and the Brick Viewer installed (for installation guides click here and here) and the Brick Viewer has to be connected to the Brick Daemon.
Connect the Current12 Bricklet to a Brick with the supplied cable. Connect a motor and a battery to the Bricklet as displayed in the following picture (or anything else connected in series to the Current12 Bricklet that produces a current).
If you connect the Brick to the PC over USB, you should see a new tab named “Current12 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 Current12 Bricklet and examples in different programming languages.
See High Level 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 | API | Examples | Installation |
| Java | API | Examples | Installation |
| PHP | API | Examples | Installation |
| Python | API | Examples | Installation |
| Ruby | API | Examples | Installation |
| VB.NET | API | Examples | Installation |