TCP/IP - Analog Out Bricklet 2.0 – Tinkerforge

- Getting Started
- Hardware
- Software
- Starter Kits
- Embedded Boards
- Specifications

# TCP/IP - Analog Out Bricklet 2.0

Note

This Bricklet is currently in the prototype stage and the software/hardware as well as the documentation is in an incomplete state.

This is the description of the TCP/IP protocol for the Analog Out Bricklet 2.0. General information and technical specifications for the Analog Out Bricklet 2.0 are summarized in its hardware description.

## API

A general description of the TCP/IP protocol structure can be found here.

### Basic Functions

`BrickletAnalogOutV2.``set_output_voltage`

  Function ID: | 1

  Request:

  - voltage -- uint16

  Response: | no response

  Sets the voltage in mV. The possible range is 0V to 12V (0-12000).

`BrickletAnalogOutV2.``get_output_voltage`

  Function ID: | 2
  Request: | empty payload

  Response:

  - voltage -- uint16

  Returns the voltage as set by `set_output_voltage`.

### Advanced Functions

`BrickletAnalogOutV2.``get_input_voltage`

  Function ID: | 3
  Request: | empty payload

  Response:

  - voltage -- uint16

  Returns the input voltage in mV.

`BrickletAnalogOutV2.``get_identity`

  Function ID: | 255
  Request: | empty payload

  Response:

  - uid -- char[8]
  - connected_uid -- char[8]
  - position -- char
  - hardware_version -- uint8[3]
  - firmware_version -- uint8[3]
  - device_identifier -- uint16

  Returns the UID, the UID where the Bricklet is connected to, the position, the hardware and firmware version as well as the device identifier.

  The position can be 'a', 'b', 'c' or 'd'.

  The device identifier numbers can be found here.

The content of this page is licensed under Creative Commons Attribution 3.0 Unported License.