Digital to Analog Converters 101

westaust55

Moderator
Digital to Analog Converters (DAC’s)
This attached tutorial is a follow-on to my earlier Digital Potentiometers 101 tutorial which I prepared in December 2009.

For the Digital Potentiometer tutorial, see this thread:
http://www.picaxeforum.co.uk/showthread.php?t=14087

This tutorial covers the R-2R resistor network concept and the Microchip MCP4821/4822 with SPI interface. The code was test on the MCP4822.



forum member Janne has a further code snippet for the MCP4921/4922 at:
http://www.picaxeforum.co.uk/showthread.php?t=14595

For most intents and purposes, the MCP4821/4822 and the MCP4921/4922 are identical from a program control viewpoint
 

Attachments

westaust55

Moderator
DAC's part 2

The attached tutorial is an extension of that provided above and covers the Microchip TC1321 single channel 10-bit i2c comms based DAC.

The TC1321 is a relatively simple device but does provide i2c based comms and is available in an 8-pin SOIC package with can easily be soldered to a SOIC to DIP adapter if required.
 

Attachments

Top