selva murugesan
Advanced Member level 4

hi
i am doing the project in atmega 8 using codevision avr .In that i need 12BIT DAC. for elimination large number of PINs , i am using 74HC595. My idea is send the 12 bit values to the 74HC595 via single I/O pin.then the 74HC595 deliver inputs (12 bits ) to the DAC.
in this process i succeed partially, i cant do proper shift adjustment in 74HC595. In total 12 bits , i can shift and send the last 8 bits from LSB properly . remaining bits gets shuffle.
can any one help me?
thanks in advance
i am doing the project in atmega 8 using codevision avr .In that i need 12BIT DAC. for elimination large number of PINs , i am using 74HC595. My idea is send the 12 bit values to the 74HC595 via single I/O pin.then the 74HC595 deliver inputs (12 bits ) to the DAC.
in this process i succeed partially, i cant do proper shift adjustment in 74HC595. In total 12 bits , i can shift and send the last 8 bits from LSB properly . remaining bits gets shuffle.
can any one help me?
thanks in advance