Chip Award Winner
Product of the Year 2012
Chip Award

Analog Out Bricklet

Features

  • Generates configurable voltages up to 5V*
  • Specification in 1mV steps (12bit resolution)
  • Configurable with load resistor to ground

Description

The Analog Out Bricklet can be used to extend the features of Bricks by the capability to generate voltages between 0V and 5V*. The voltage can be configured directly in Volt without any conversion. The device is equipped with a 12-bit Digital-to-Analog Converter (DAC). Instead of generating a voltage it is also possible to choose between a 1k, 100k or 500k Ohm load resistor to ground (pull-down).

Technical Specifications

Property Value
DAC MCP4725
   
Voltage 0V - 5V* in 1mV steps, 12bit resolution
Maximum Current 24mA
   
Dimensions (W x D x H) 30 x 25 x 14mm (1.18 x 0.98 x 0.55”)
Weight 6g

* The maximum output voltage depends on the supply voltage. If the connected Brick is powered over USB, 5V may not be reached. The reason for this is a voltage drop about 0.5V caused by protection diodes on our products. If you need to reach 5V, you have to use a stack supply, e.g. the Step-Down Power Supply.

Resources

Connectivity

The Analog Out Bricklet has four terminals. All terminals are outputs. Between VOUT and GND the output voltage is applied. 3.3V and 5V are additional outputs with fixed voltages you can use to power things.

Analog Out Bricklet Terminals

Test your Analog Out Bricklet

To test the Analog Out 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 Analog Out Bricklet to a Brick with the supplied cable (see picture below).

Analog Out Bricklet connected to Master Brick

If you connect the Brick to the PC over USB, you should see a new tab named “Analog Out Bricklet” in the Brick Viewer after a moment. Select this tab. In this tab you can configure the voltage on the output pin. For test purposes, you can measure this 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 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 and examples in different programming languages.

Programming Interfaces

High Level Programming Interface

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
Creative Commons Licence The content of this page is licensed under Creative Commons Attribution 3.0 Unported License.