This is a very simple circuit that converts Digital data (serial input) to Analog values ranging from 0v to 5v (I used it to generate audio (adding an output capacitor to filter DC) with the 12f675 (requires amplification) )
It can also be used as a serial->parallel output multiplexer (see digital outputs)
Materials:
+(1) 74164 8bit Shift Register
+(1) 74373 8bit Latch
+(9) 10K resistors
+(7) 4.7K resistors
+'Generic' perfboard (the pcb...)
Remove these ads by
Signing UpStep 1The Schematics
Inputs :
tri_state :
'1' will put the digital outputs to tri-state (while in tri-state the digital "outputs" can be used as parallel input to the DAC)
'0' Normal Usage
Latch_Enable :
'0' Maintains the current Register state (Maintains the current analog output)
'1' Copies the inputs from the shift register and stores it
Not_Shift_clear:
'0' Clears the Shift register
'1' Normal Usage
Shift_Clock:'
__/ clocks the result of the expression (Serial_In and Serial_In2) into the shift registerOutputs:
Analog_Out: after all It is a digital to ANALOG converter...
Parallel_Out 0-7: but it's also a output multiplexer =D
| « Previous Step | Download PDFView All Steps | Next Step » |







































The Covox was just a resistor DAC like this, driven straight from the parallel port. Search on "covox parallel resistor" to find schematics. We used a capacitor on the output to block DC, but it sounds like you'll need an op-amp or something if you're looking for a voltage output.
The serial-to-parallel-to-Covox thing has been done before, to add audio output to a WRT54G. Is there anything that poor little box hasn't been hacked up to do? Check here: http://www.duff.dk/wrt54gs/
If you remove the shift register and feed the 8 bits from the parallel port straight to the latch (so that it acts like a buffer("just in case") ) it will work nicely (just be careful with the impedance of what your gonna hookup to the output, as EUR said if your driving something that has low impedance (speaker,motor) you need to be careful and add some sort of a voltage follower that can handle the current drain (an op amp for exemple(look for voltage followers online))
Actually tomorrow(GMT -3) i'll try to add a new instructable using this circuit to generate audio signals with a pic (and using a low impedance load)...
But hey, tell me what you need, maybe I can help =]