Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Forums > Electronic Projects Design/Ideas/Reviews


Electronic Projects Design/Ideas/Reviews Are you building an electronic project or want to? Maybe you need some assistance? Come and submit your electronic questions here and let our experienced members find a solution.

Reply
 
Thread Tools Display Modes
Old 11th October 2007, 12:08 PM   (permalink)
New Member
vuchris is on a distinguished road
Default Digital to analog converter chip

I've got a PIC18F458 microprocessor feeding an 8 bit number into a digital to analog converter. The analog converter is to spit out -10V for 00000000 and +10V for 11111111, and everything in between. (-10=>0=>+10V)

I'm using a DAC800LCN digital to analog converter chip.

First question:
The data sheet for the chip is located here:
http://www.jaycar.com.au/products_uploaded/DAC0800.pdf

On page 3 it has two different types of casing packages. The chip I has the text: JM024AD, DAC0800LCN, DAC-08EP on it, which chip is it, the one on the left or the one on the right? I suspect its the one on the left as the chip has that DOT which indicates where pin 1 is as shown on the figure on the left.

Second question:

I've wired this chip up like this:

http://web.aanet.com.au/polerz/untitled.PNG

In the typical application figure 8 labelled "Symmetrical offset binary operation" which is the mode of operation I'm after. If I wire up Vref(+) to +10V, Vref(-) to -10V and the rails at +/-15V, as shown in my drawing, do I need that op amp out the front? Will Io spit out -10 to +10V depending on the binary input? (00000000=-10V, 11111111=+10V).

If thats the case, if you look at the typical application noted on page 1, figure 1, why have they got the resistors on the output to what appears to be Vref(+). Do I need these resistors? ie. is the chip open collector? or can I just take the voltage (+/-10V, 20vp-p) out of Io without any external resistances in place.

Your help is appreciated.

Thank you
vuchris is offline   Reply With Quote
Old 14th October 2007, 08:59 AM   (permalink)
New Member
vuchris is on a distinguished road
Default

*bump* anyone?
vuchris is offline   Reply With Quote
Old 14th October 2007, 09:21 AM   (permalink)
Experienced Member
 
ericgibbs is a splendid one to beholdericgibbs is a splendid one to beholdericgibbs is a splendid one to beholdericgibbs is a splendid one to beholdericgibbs is a splendid one to beholdericgibbs is a splendid one to beholdericgibbs is a splendid one to beholdericgibbs is a splendid one to behold
Default

Quote:
Originally Posted by vuchris
First question:

On page 3 it has two different types of casing packages. The chip I has the text: JM024AD, DAC0800LCN, DAC-08EP on it, which chip is it, the one on the left or the one on the right? I suspect its the one on the left as the chip has that DOT which indicates where pin 1 is as shown on the figure on the left.
The right side is a surface mount device, the pins are bent at right angles to the chip, it appears you have the DIP dual in line package, pins thru the pcb or a socket.


Second question:

I've wired this chip up like this:

http://web.aanet.com.au/polerz/untitled.PNG

In the typical application figure 8 labelled "Symmetrical offset binary operation" which is the mode of operation I'm after. If I wire up Vref(+) to +10V, Vref(-) to -10V and the rails at +/-15V, as shown in my drawing, do I need that op amp out the front? Will Io spit out -10 to +10V depending on the binary input? (00000000=-10V, 11111111=+10V).

If thats the case, if you look at the typical application noted on page 1, figure 1, why have they got the resistors on the output to what appears to be Vref(+). Do I need these resistors? ie. is the chip open collector? or can I just take the voltage (+/-10V, 20vp-p) out of Io without any external resistances in place.

Your help is appreciated.

Thank you
hi,
I'll refresh my thoughts on the DAC in your circuit and get back to you.
__________________
Eric
"Good enough is Perfect"

PIC tutorials:
Nigel's: www.winpicprog.co.uk/
Gramo's: www.digital-diy.net/
Bill's: www.blueroomelectronics.com/
ericgibbs is offline   Reply With Quote
Old 14th October 2007, 09:40 AM   (permalink)
Experienced Member
 
ericgibbs is a splendid one to beholdericgibbs is a splendid one to beholdericgibbs is a splendid one to beholdericgibbs is a splendid one to beholdericgibbs is a splendid one to beholdericgibbs is a splendid one to beholdericgibbs is a splendid one to beholdericgibbs is a splendid one to behold
Default

hi,
The outputs from the DAC are 'currents', in order to generate a 'voltage' from this current a load resistor is required.

In the page1 application, 10K resistors are used in figure 8 the OPA is the equivalent 'load resistor'.

The advantage of the OPA is that you will get a voltage output swing from the OPA of +/-10V, which is what you require,
rather than two outputs using the 10K resistors.

I would recommend a more 'modern' OPA that the 741 shown, a LM358 or equivalent would be much better.

Ensure that the +/-Vrefs are stable, else you could get drift problems.


Does this explain OK?
__________________
Eric
"Good enough is Perfect"

PIC tutorials:
Nigel's: www.winpicprog.co.uk/
Gramo's: www.digital-diy.net/
Bill's: www.blueroomelectronics.com/
ericgibbs is offline   Reply With Quote
Old 16th October 2007, 07:56 AM   (permalink)
New Member
vuchris is on a distinguished road
Default

Well I got it working. I wired up the 10k resistors on the output to a seperate +10V source. However, now Vref(+) has no effect on the output max voltage, only Vref(-). Theyre both sitting at +/- 13V, but I cant get the otuput to go past 9.64V.

Last edited by vuchris; 16th October 2007 at 08:37 AM.
vuchris is offline   Reply With Quote
Old 16th October 2007, 08:42 AM   (permalink)
New Member
vuchris is on a distinguished road
Default

never mind, got it working.
vuchris is offline   Reply With Quote
Old 16th October 2007, 09:02 AM   (permalink)
Experienced Member
 
ericgibbs is a splendid one to beholdericgibbs is a splendid one to beholdericgibbs is a splendid one to beholdericgibbs is a splendid one to beholdericgibbs is a splendid one to beholdericgibbs is a splendid one to beholdericgibbs is a splendid one to beholdericgibbs is a splendid one to behold
Default

Quote:
Originally Posted by vuchris
never mind, got it working.
Just beat me to it!
What did you do to get it working, for future reference?

This WAS my suggestion.
hi,
Disconnect the -Vref to -10v, connect a 5K resistor from -Vr pin15 to 0V
Connect a 5K resistor from +Vr pin14 to the +10Vr, as shown on page 7 of the datasheet.

Try it and lets know what output swing you get?
__________________
Eric
"Good enough is Perfect"

PIC tutorials:
Nigel's: www.winpicprog.co.uk/
Gramo's: www.digital-diy.net/
Bill's: www.blueroomelectronics.com/
ericgibbs is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Latest
The Oscilloscope ElectroMaster Electronic Theory 12 3rd February 2008 01:45 PM
Designing a Analog to Digital Converter amdkicksass Electronic Projects Design/Ideas/Reviews 44 28th August 2007 10:53 PM
Double-ended analog to digital converter DSGarcia General Electronics Chat 1 2nd August 2007 12:36 AM
analog to digital converter victorcarlos Electronic Projects Design/Ideas/Reviews 8 16th March 2007 02:23 AM
Digital to Analog Converter? arrow General Electronics Chat 8 10th December 2006 09:11 AM



All times are GMT. The time now is 12:15 AM.


Electronic Circuits  |  Radio Controlled
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.