Pages: [1]   Go Down
Author Topic: DAC help  (Read 670 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 14
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hey everyone, I just bought a MCP4725 DAC from sparkfun online:

http://www.sparkfun.com/products/8736

This DAC has 12 bits of resolution from 0V to 5V

Now that I attached it to some speakers and made it play a simple square wave, its only making a scratching sound, like when you hook up a battery to some speakers. I was wondering if I absolutely need a negative current to work the speakers. And if so, how would I do this?

Thanks in advance for your help
Logged

Manchester (England England)
Offline Offline
Brattain Member
*****
Karma: 602
Posts: 33371
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
I was wondering if I absolutely need a negative current to work the speakers
No it will work off a single supply.
However, you can't just connect it up to a speaker because it takes much more current than the chip can supply, you will need an amplifier before the speaker. I hope you have not blown up the D/A chip by trying to draw too much current from it.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 14
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Then how can I generate a negative voltage? Is this AC coupling?
Logged

Manchester (England England)
Offline Offline
Brattain Member
*****
Karma: 602
Posts: 33371
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Why do you want to generate a negative voltage?
Logged

Left Coast, CA (USA)
Offline Offline
Brattain Member
*****
Karma: 361
Posts: 17262
Measurement changes behavior
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

First you need to run the output of the DAC through a series capacitor, 1 ufd should cover low enough tones, that will remove the DC bias and give you a true AC voltage referenced to ground. Second your DAC does not have a low enough output impedenance (source current drive) to directly drive anything but a very small speaker, it really should wire to a audio preamp/amp device sized for the speaker output wattage you require.

Lefty

Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 14
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I am aware that the DAC is not powerful enough to drive large speakers ( I am currently using old laptop speakers ). And thanks lefty, i'll definitively do the capacitor thing.

Quote
Why do you want to generate a negative voltage?

Because to drive speakers you need a negative voltage, Am I wrong?

Thank you for your help

Logged

Manchester (England England)
Offline Offline
Brattain Member
*****
Karma: 602
Posts: 33371
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Yes you are wrong. Using a capacitor for coupling removes the DC bias and makes your varying DC signal into an AC one. That is also what an amplifier will do for you like I said on my first reply.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 14
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thank you all for your help
Logged

Pages: [1]   Go Up
Jump to: