VGA Resistor DAC Simulator
Explore how a simple resistor ladder turns binary bits into analog VGA color levels.
VGA Resistor DAC Simulator (2-bit per channel)
This view shows how a single 8-bit byte leaving the EEPROM becomes three analog color channels (R, G, B). Each channel uses two bits, and the last two bits are unused.
Help
VGA Resistor DAC – How it works
This simulator shows how a purely digital chip can generate analog VGA colors using a resistor ladder DAC. The EEPROM outputs 0 V or 5 V logic levels for each bit. The digital source provides an 8-bit value, but only 6 bits are used: 2 bits for Red, 2 bits for Green, and 2 bits for Blue. Each 2-bit channel can represent 2^2 = 4 different digital states, which are converted into four different voltage levels.
Each bit drives a resistor connected to the same output node. When multiple bits are high, their resistors act in parallel. The equivalent resistance is computed as:
The output voltage for each color channel is then approximated by a voltage divider:
Lower equivalent resistance means higher current and therefore higher output voltage, which increases the intensity of that color.
Because only 2 bits are available per channel, each color can take only 4 discrete intensity levels. With three channels (R, G, B), the total number of possible colors is limited to:
This is the key limitation of this approach: simple hardware and no true DAC, but very low color resolution.