Friday, April 19, 2024

Low-Cost 6-Bit DAC

nitin kumar EFY testedFor controlling the load of appliances such as cooling fans, low-wattage heaters, thermostats, low-wattage light sources, small electrical toys and test benches for loudspeakers, we need a power source whose voltage can be controlled in small steps and is capable of providing current of more than 1A. For that, we require low-resolution digital-to-analogue converters (DACs) with three to seven bits.

Here is the circuit capable of setting output voltage between 1.25V and 15V in 64 steps. The circuit can be adapted for a lot of applications.

Fig. 1: Circuit of the low-cost 6-bit DAC
Fig. 1: Circuit of the low-cost 6-bit DAC

Circuit and working

A25_PartsThe circuit of the low-cost 6-bit DAC is shown in Fig. 1. The DAC is built around IC 7406, hex inverter (IC3). We may also use IC 7407 with six followers without changing the PCB. Steps are generated with the help of 6-bit digital input code D0 (LSB) through D5 (MSB) at CON2. Consequently, 64 combinations are possible starting from 000000 to 111111. At each combination, you will have a pre-determined output voltage between 1.25V and the possible maximum 15V.

Inputs D0 through D5 are TTL and CMOS compatible. These can be generated by microcontrollers, parallel-interface adapters such as PPI8255A, PIA6820/1 and Z80-PIO. In the simplest case, inputs can be driven with switches connecting inputs D0 through D5 to ground 0V or to 5V.

- Advertisement -

The size of the steps is programmable with trimmer potentiometers VR1 through VR6. Consequently, we can produce regular or irregular steps according to the need, depending on the characteristics of the load being controlled.

You can set any output voltage with any potentiometer between 1.25V and the maximum. For example, if you have a transformer for 18V AC, you can set outputs between 1.25V and around 15V with any potentiometer.
For adjustment in the simplest case, apply a set of seven test codes, as listed below, on CON2; output on CON3 will be as under.

SHARE YOUR THOUGHTS & COMMENTS

Unique DIY Projects

Electronics News

Truly Innovative Tech

MOst Popular Videos

Electronics Components

Calculators