Voltage Bricklet

Note

The Voltage Bricklet is discontinued and is no longer sold. The Analog In Bricklet 3.0 is the recommended replacement.

Features

  • Measures voltages up to 50V (DC)
  • Output in 1mV steps (12bit resolution)

Description

The Voltage Bricklet can be used to extend the features of Bricks by the capability to measure voltages. The measurement range is 0-50V (DC). The voltage can be read out directly in Volt without conversion. With configurable events it is possible to react on changing voltages without polling.

Technical Specifications

Property Value
Sensor Fixed voltage divider with factor 0.0625
Current Consumption 1mA
   
Voltage 0V - 50V (DC) in 1mV steps, 12bit resolution
   
Dimensions (W x D x H) 25 x 25 x 14mm (0.98 x 0.98 x 0.55")
Weight 4g

Resources

Test your Voltage Bricklet

To test a Voltage 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 Voltage Bricklet to a Brick with a Bricklet Cable. Additionally connect a voltage source to the Bricklet. For testing purposes we have connected a battery (see picture below).

Voltage Bricklet with Battery connected to Master Brick

If you connect the Brick to the PC over USB, you should see a new tab named "Voltage Bricklet" in the Brick Viewer after a moment. Select this tab. If everything went as expected you can now see the voltage in volt and a graph that shows the voltage over time.

Voltage Bricklet 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 Voltage Bricklet and examples in different programming languages.

Programming Interface

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