The Voltage/Current Bricklet 2.0 can be used to extend Bricks by the possibility to measure power/voltage/current. To do this you only have to put the Bricklet between your power supply (e.g. battery) and your load (e.g. motor).
In case of battery powered systems you can measure the state of the battery by bidirectional current measurement (charge/discharge).
The Voltage/Current Bricklet 2.0 has a 7 pole Bricklet connector and is connected to a Brick with a 7p-10p Bricklet cable.
|Sensor||INA226 with 4mΩ Shunt Resistor|
|Current Consumption||30mW (6mA at 5V)|
|Maximum Input Voltage||36V|
|Dimensions (W x D x H)||30 x 30 x 18mm (1.18 x 1.18 x 0.67")|
You have to connect the Voltage/Current Bricklet 2.0 between your power supply and your load. Connect the power supply with the terminal marked with "IN" and the load with the terminal marked "OUT". The polarity is marked with "+" and "-".
Keep the polarity in mind! This Bricklet is not protected against polarity reversal!
The Bricklet measures the voltage between "+" and "-" of the "IN" terminal as well as the current flow from "+" of the "IN" terminal to "+" of the "OUT" terminal.
To test a Voltage/Current 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 Voltage/Current Bricklet 2.0 to a Brick with a Bricklet Cable. Connect a motor and a battery to the Bricklet as displayed in the following picture.
If you connect the Brick to the PC over USB, you should see a new tab named "Voltage/Current Bricklet 2.0" 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.
After this test you can go on with writing your own application. See the Programming Interface section for the API of the Voltage/Current Bricklet 2.0 and examples in different programming languages.
The current measurement of the Voltage/Current Bricklet is factory calibrated at room temperature. The readings can shift by a few mA if the environment is very cold or very hot. In this case you can recalibrate the Bricklet with a precise multimeter:
Start Brick Viewer and click on "Calibration..." and follow the steps that are described in the GUI.
You can calibrate the voltage as well as the current measurement. In our experience you don't need to calibrate the voltage, it is within 0.5% accuracy without any calibration.
If you remove the factory current calibration a recalibration is necessary because of tolerances in the shunt resistor.
A laser-cut case for the Voltage/Current 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 Voltage/Current Bricklet 2.0 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.
|Visual Basic .NET||API||Examples||Installation|