Who doesn’t love the iconic Super Mario Bros theme song? In this DIY project, we’re going to combine the magic of the Mario theme with the power of VEGA ARIES Board to create a musical masterpiece!
Prerequisites
- Windows 10 or above/Linux (64 bit)
- Arduino IDE
- VEGA ARIES Board support package
Hardware Required
- ARIES v3.0 Board
- Piezo Buzzer
- USB type C to USB type A cable.
- Jumper Wires
Note: All of the following boards can be used for this project
ARIES v3.0 Board
The ARIES v3.0 is a fully indigenous and a “Made in India” product to get started with basic microprocessor programming and embedded systems. This board is built upon a RISC-V ISA compliant VEGA Processor with easy-to-use hardware and software. For more details about ARIES v3.0 boards please refer to the ARIES development boards and Ecosystem.
Circuit Diagram
Now let’s connect the Buzzer with the ARIES v3 board.
Connections
Piezo Buzzer | ARIES V3.0 Board |
VCC | 3.3V |
GND | GND |
SIG | PWM-0 |
Procedure
Once we’re done with the connections, let’s power up the board. Make sure the Laptop/Desktop/PC which we’re using should be preinstalled with Arduino IDE and VEGA ARIES Boards of latest version.
- Now, Open the Arduino IDE
- Make sure you have selected ARIES v3 Board from Tools -> Board -> VEGA Processor: ARIES Boards -> ARIES v3
- Enable the flash mode from Tools -> Flash Mode -> Enabled
- Select Programmer as VEGA FLASHER from Tools -> Programmer -> VEGA FLASHER
- Also select appropriate port, Tools -> Port -> COM* (ARIES Board)
- Now, open the demo sketch from File -> Examples -> Under Examples for ARIES v3 -> PWM -> superMarioBuzzerTone
- Upload the code.
Output
After successfully uploading the code to your ARIES v3, you’ll be delighted to hear the iconic Super Mario Bros theme song playing in all its glory on your buzzer.