Shop OBEX P1 Docs P2 Docs Learn Events
Need Help using DAC0802LCN — Parallax Forums

Need Help using DAC0802LCN

metron9metron9 Posts: 1,100
edited 2005-09-25 01:01 in BASIC Stamp
I have managed to hook up this little DAC to the circuit in Figure #1 cache.national.com/ds/DA/DAC0800.pdf

I am confused as to both of the 10V shown on the circuit

Reading the datasheet for the supply voltage pins 3 and 13 it says +18 or 36 volts. Hmmm hard to decide???

I also read the output current says 4.25 mA Does this mean it can drive up to 4.25 mA?
It also says (Vs- = -15V) Is this saying... awww shoot, I can't even guess what that means Maximum -15 volts????
So I am just puzzled shakehead.gif

The blue and white wires top left are attached to the basic stamp BS2 pins 8 thru 15

EDIT: OOPS The blue wire for pin #2 shows it on pin#3 I fixed that booboo.


My basic code for testing is this:
' {$STAMP BS2}
' {$PBASIC 2.5}
' {$PORT COM2}
dacbyte VAR Byte
DIRH=255

FOR dacbyte = 0 TO 255
OUTH=dacbyte
PAUSE 100
NEXT

END



Post Edited (metron9) : 9/24/2005 5:33:38 AM GMT
602 x 315 - 23K
640 x 480 - 61K

Comments

  • metron9metron9 Posts: 1,100
    edited 2005-09-24 16:59
    Nevermind, after reading what I could find in examples I now see its current that is being output and that needs to go thru an op amp and darn it there are just too many wires too many ways to connect this thing and this thing is just way over my head so I am moving on to other things.
  • Jon WilliamsJon Williams Posts: 6,491
    edited 2005-09-24 17:01
    What are your output needs? The LTC1257 is very easy to use with the BASIC Stamp.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Jon Williams
    Applications Engineer, Parallax
  • metron9metron9 Posts: 1,100
    edited 2005-09-25 01:01
    Hi Jon, I just wanted to see if I could make a DAC work reading the datasheet. Send some digital data to it and read the voltage output on my scope. Since I was was ordering some parts anyway I bought some DAC0802LCN chips. I thought it would be a simple task but it is not. I will check out the LTC1257 as you suggest. I am not ready yet to design circuits for devices such as this so I will look at devices that have specific circuits layed out and try to understand them.

    My thought was you hook up 8 logic pins, a positive voltage and a ground and then just use the voltage at the output. Anyway I have so much to learn about so much I don't need to go plunging ahead with chips that are not well documented so Iwill check out the LTC1257.

    Thanks.
Sign In or Register to comment.