135 Super Mario Tune on A Piezo Speaker

135 : Super Mario Tune on A Piezo Speaker

Select Project123456789ONSW2
  • Author: Milosch Meriac
  • Description: Plays Super Mario Tune over a Piezo Speaker connected across io_out[1:0]
  • GitHub repository
  • Clock: 3125 Hz

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)

External hardware

Piezo speaker connected across io_out[1:0]

Picture

IO

#InputOutput
0clockpiezo_speaker_p
1resetpiezo_speaker_n
2
3
4
5
6
7