A simple 8 bit R2R DAC. Driven externally or by an OpenLane generated sawtooth waveform generator.
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 sawtooth generator.
A sawtooth wave should be seen on the analog output.
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 | 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 | 4 | DAC output |