135 Super Mario Tune on A Piezo Speaker

135 : 0b 010 000 111 : Super Mario Tune on A Piezo Speaker

Select Project 1 2 3 4 5 6 7 8 9 ON SW2
  • Author: Milosch Meriac
  • Description: Plays Super Mario Tune over a Piezo Speaker connected across io_out[1:0]
  • GitHub repository
  • HDL project
  • Extra docs
  • Clock: 3125 Hz
  • External hardware: Piezo speaker connected across io_out[1:0]

picture

How it works

Converts an RTTL ringtone into verilog using Python - and plays it back using differential PWM modulation

How to test

Provide 3kHz clock on io_in[0], briefly hit reset io_in[1] (L->H->L) and io_out[1:0] will play a differential sound wave over piezo speaker (Super Mario)

IO

# Input Output
0 clock piezo_speaker_p
1 reset piezo_speaker_n
2 none none
3 none none
4 none none
5 none none
6 none none
7 none none