---+ The MCP4725 Digital to Analogue converter Often we need analogue signal levels or synthetically produced (program controlled) signals to drive external devices. The <b>D</b>igital to<b> A</b>nalogue <b>C</b>onverter (DAC) is a device that accepts a digital value and converts it to an analogue signal level and the [[https://cdn-shop.adafruit.com/datasheets/mcp4725.pdf][ 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: | <img alt="dac_front.png" height="370" src="%ATTACHURL%/dac_front.png" title="dac_front.png" width="347" /> | <img alt="dac_back.png" height="366" src="%ATTACHURL%/dac_back.png" title="dac_back.png" width="372" /> | Since this device has an I2C interface it is easily programmable from the Raspberry Pi. In addition there is a nice description [[https://cdn-learn.adafruit.com/downloads/pdf/mcp4725-12-bit-dac-with-raspberry-pi.pdf][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. -- %USERSIG{UliRaich - 2017-09-27}% ---++ Comments %COMMENT%
Attachments
Attachments
Topic attachments
I
Attachment
History
Action
Size
Date
Who
Comment
png
dac_back.png
r1
manage
953.2 K
2017-09-27 - 08:24
UnknownUser
png
dac_front.png
r1
manage
1097.6 K
2017-09-27 - 08:24
UnknownUser
This topic: Embedded_Systems
>
WebHome
>
MoreSensors
>
MCP4725
Topic revision: r1 - 2017-09-27 - uli
Copyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback