Sound playback with an atmel mega128

Loading...

Sign in or sign up now!
15,990
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Jun 16, 2007

This is an atmel mega128 running at 16MHz playing two drum samples (one at a time) at 16M / 512 =

31,250 KHz. The wav files are 16 bit stereo and stored in the 128's program memory. Each byte is

passed through an 8 bit parallel in-serial out shift register into an CS4334 DAC.

Seriously, if anyone wants details on how I got to this point (hardware/software) I will be more than happy to help out =^)

Category:

Howto & Style

Tags:

License:

Standard YouTube License

  • likes, 5 dislikes

Link to this comment:

Share to:

Uploader Comments (ninjarobotdude)

  • That DAC has line level outputs, capable of driving some headphones. The speakers in the video are self amplified pc speakers... so usually you would need an amp.

see all

All Comments (17)

Sign In or Sign Up now to post a comment!
  • this is a very good project I'm very interested about how you did that project specially how can you save the WAV files on the micro and how you output this files into a digital signal to be send to DAC

    could you help me on that thanks

  • good work, please give me a site to look the project. thanks

  • I'm dancing to this vid.. dancing hardcore!! Woop woop!

  • Nice one. I used an SD card for a similar project, and managed to play 16bit music @ 31250kHz without a DAC only with the internal 8MHz RC oscillator (i used 2 calibrated PWM outputs).

  • Great project. OK, schematics anyone? Have you got a 'forum' posting with more detail?

  • ditto !!! very cool. But how long can those samples be? It might be possible to lengthen the samples if you added a memmory module, Right?

  • Hey ninjarobotdude,

    i would be very pleades if you would send me the source code of this "sampler", i'm searching for a projekt jike this and also i'll hop, that i can find some programming tricks for mysself in your programm.

    would this be possible?

    greetings from simon/germany

  • Why don't you simply use a R-2R network as a DAC? It's faster and cheaper.

Loading...
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more