A simple 8 bit R2R DAC. Driven externally or by an digitally generated sine waveform generator.
3.3v output is achieved with level shifting drivers.
Set the external data
input high to provide the DAC with external data.
Then drive the 8 inputs and observe the analog output.
Set the external data
input low to enable the sine generator.
A sine wave should be seen on the analog output. Everytime the sine counter is at 0, digital output 0 should go high for one clock.
To change the frequency, set the inputs and then raise the 'load divider' input.
A multimeter to measure the output voltage on analog pin 0.
# | Input | Output | Bidirectional |
---|---|---|---|
0 | bit 0 | count zero | external data |
1 | bit 1 | load divider | |
2 | bit 2 | ||
3 | bit 3 | ||
4 | bit 4 | ||
5 | bit 5 | ||
6 | bit 6 | ||
7 | bit 7 |
ua | analog | Description |
---|---|---|
0 | 5 | DAC output |