DAC Block

How this block appears in a Simulink model?


What can be configured?

Configuration Parameter Selectable Option/Value Description
Select DAC output pins GPIO 25--GPIO 26 Select the output pin/pins
Sample time (sec) -1 (inherited) or specify Specify sample time for the block

When to use this block?

Use the Digital to Analog Convertor (DAC) Block to generate analog signals.

How does this block work?

The DAC block takes inputs as raw data (between 0 - 255) and generated output analog signals according to the following equation.

Analog output voltage = VREF x INPUT / 255


DAC demo

Previous : ADC Block
Next : WIFI Block

Also available in: PDF HTML TXT