The MCP4725 Digital to Analogue converter
Often we need analogue signal levels or synthetically produced (program controlled) signals to drive external devices. The
Digital to
Analogue
Converter (DAC) is a device that accepts a digital value and converts it to an analogue signal level and the
MCP4725 is such a device accepting a 12 bit digital data word and converting it to a signal level between 0V and Vcc.
This is how it physically looks like:
Since this device has an
I2C interface it is easily programmable from the Raspberry Pi. In addition there is a nice description
on how to use it on the Raspberry Pi. Since they use Python for their code we will have to convert their Python code into C.
--
Uli Raich - 2017-09-27
Comments
Topic revision: r1 - 2017-09-27
- uli