sample and hold circuit

Go To Last Post
5 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I have a DAC that can go 30kHz, has 1 output only.  What would it take to output in stereo at 15kHz?  Would it work out output both stereo channels on the dac and use a sample and hold circuit?  I was thinking 2 caps with pfets that alternate the dac output between the 2 channels.  I figured someone here has done this before.

This topic has a solution.
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

If you don't know my whole story, keep your mouth shut.

If you know my whole story, you're an accomplice. Keep your mouth shut. 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I was thinking 2 caps with pfets that alternate the dac output between the 2 channels.

MCP4921, single channel:  $2.10/qty. 1; $1.50/qty. 100

MCP4922, dual channel:  $2.75/qty. 1; $2.00/qty. 100

 

So, for less than $1 to add the second channel and no additional switching parts, is your quest worthwhile?

 

I'd guess that you can get stereo audio amps also in that $2 range.

 

Chan did a stereo sound player with just a Tiny85:

http://elm-chan.org/works/sd8p/r...

You can put lipstick on a pig, but it is still a pig.

I've never met a pig I didn't like, as long as you have some salt and pepper.

This reply has been marked as the solution. 
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Just feed mono to two speakers - 98% of people won't notice the difference...

Top Tips:

  1. How to properly post source code - see: https://www.avrfreaks.net/comment... - also how to properly include images/pictures
  2. "Garbage" characters on a serial terminal are (almost?) invariably due to wrong baud rate - see: https://learn.sparkfun.com/tutorials/serial-communication
  3. Wrong baud rate is usually due to not running at the speed you thought; check by blinking a LED to see if you get the speed you expected
  4. Difference between a crystal, and a crystal oscillatorhttps://www.avrfreaks.net/comment...
  5. When your question is resolved, mark the solution: https://www.avrfreaks.net/comment...
  6. Beginner's "Getting Started" tips: https://www.avrfreaks.net/comment...
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

awneil wrote:

Just feed mono to two speakers - 98% of people won't notice the difference...

 

You know me too well.

If you don't know my whole story, keep your mouth shut.

If you know my whole story, you're an accomplice. Keep your mouth shut.