/r2r-dac

An 8-bit R-2R DAC with amplifier

Primary LanguageC++MIT LicenseMIT

8 Bit R-2R Dac

This board is a simple R-2R DAC paired with an amplifier based on a LM386. The amplifier circuit is based on the 20db gain circuit found in on the LM386's datasheet.

BOM

See bom here.

Schematic

schematic

PCB

pcb

Arduino Driver Sample Code

A very basic function generator sketch that uses a timer interupt to generate a triangle wave and port registers to output to the DAC. View here.

License

This project is under the MIT license. It can be found here.