AVR demo platform rocks the color VGA +audio

AVR demo platform rocks the color VGA +audio


Linus Akesson and friends have created the “Craft” demo – using an ATmega88 to generate 4 channels of 8-bit sound and 3D graphics.

Timing is crucial: One display line takes 24 μs, and is followed by a 7.75 μs break called the horizontal blanking period. After 480 such lines, there’s a longer break (1428.75 μs, equal to 45 full display lines) before it all starts over. Two digital signals are used to synchronize the sender (graphics card, custom demo hardware etc.) and the receiver (monitor).
Sound is generated during the horizontal blanking periods. That gives a sample rate of 31496 kHz. Of course, only the really timing critical part (waveform generation) is performed during the horizontal blanking. Melody, rhythm, amplitude envelopes, arpeggios etc. are handled by a playroutine which gets called once for every video frame, during vertical blanking.

Craft demo

6 thoughts on “AVR demo platform rocks the color VGA +audio

  1. tester says:


  2. Anonymous says:

    you guys covered this already….

  3. Collin Cunningham says:

    I searched quite a bit before posting – do recall which entry?

    you might be thinking of a similar –


Comments are closed.

Discuss this article with the rest of the community on our Discord server!


Maker Faire Bay Area 2023 - Mare Island, CA

Escape to an island of imagination + innovation as Maker Faire Bay Area returns for its 15th iteration!

Buy Tickets today! SAVE 15% and lock-in your preferred date(s).