Analog Out Bricklet 3.0

Features

  • Generates a configurable voltage between 0V and 12V*
  • Specification in 1mV steps (12bit resolution)

Description

The Analog Out Bricklet 3.0 can be used to extend the features of Bricks by the capability to generate voltages between 0V and 12V*. It is the second successor of the Analog Out Bricklet with a bigger output voltage range. The voltage can be configured directly in Volt without any conversion. The device is equipped with a 12bit Digital-to-Analog Converter (DAC).

For output voltages above 5V, it is necessary to add an external supply voltage. The maximum reachable output voltage will be the value of the supply voltage. For example, if you want to reach an output voltage of 12V, you need to connect a supply voltage of at least 12V. For output voltages below 5V, you can connect the 5V and VIN terminals.

This Bricklet ist not galvanically isolated to the Tinkerforge system. This means that there is a direct electrical connection between the terminals of the Bricklet and the rest of the system. Dependent of the application this can lead to undesired connections, ground loops or short circuits. These problems can be prevented by using the Bricklet together with a Isolator Bricklet.

Technical Specifications

Property Value
DAC MCP4725
Current Consumption 50mW (10mA at 5V, without load)
   
Voltage 0V - 12V* in 1mV steps, 12bit resolution
Maximum Output Current 24mA
   
Dimensions (W x D x H) 35 x 30 x 14mm (1.38 x 1.18 x 0.55")
Weight 8g

* The maximum output voltage depends on the supply voltage at the VIN terminal.

Resources

Connectivity

The Analog Out Bricklet 3.0 has five terminals. A DC voltage source (maximum 15V) has to be connected to the VIN terminal and the adjacent GND terminal. The Bricklet uses this input voltage to created the configurable output voltage for the VOUT terminal. The 5V terminal is an additional output with fixed 5V you can use to power things. It can also be connected to the VIN terminal to produce output voltages up to 5V at the VOUT terminal without the need for an additional external power supply.

Analog Out Bricklet 3.0 Terminals

Test your Analog Out Bricklet 3.0

To test a Analog Out Bricklet 3.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 Analog Out Bricklet 3.0 to a Brick with a Bricklet Cable. Additionally connect a DC voltage source to the Bricklet's VIN and GND terminals. For testing purposes connect the 5V output terminal to the VIN terminal. The GND terminals are already connected internally.

If you connect the Brick to the PC over USB, you should see a new tab named "Analog Out Bricklet 3.0" in the Brick Viewer after a moment. Select this tab. In this tab you can configure the voltage on the VOUT terminal. The maximum VOUT voltage is limited by the connected VIN voltage. For test purposes, you can measure the VOUT voltage with a voltmeter. If everything went as expected the voltage on the voltmeter and the voltage you have configured should be identical.

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

Case

A laser-cut case for the Analog Out Bricklet 3.0 is available.

Case for Analog Out Bricklet 3.0

The assembly is easiest if you follow the following steps:

  • Screw spacers to the Bricklet,
  • screw bottom plate to bottom spacers,
  • build up side plates,
  • plug side plates into bottom plate and
  • screw top plate to top spacers.

Below you can see an exploded assembly drawing of the Analog Out Bricklet 3.0 case:

Exploded assembly drawing for Analog Out Bricklet 3.0

Hint: There is a protective film on both sides of the plates, you have to remove it before assembly.

Programming Interface

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