Daphne
Published © GPL3+

Playing Music With Ameba

Using PWM to output sound wave with a different frequency, so as to play music with the buzzer

BeginnerFull instructions provided30 minutes57
Playing Music With Ameba

Things used in this project

Hardware components

Buzzer
Buzzer
×1
Ameba RTL8722DM_MINI
×1

Software apps and online services

Arduino IDE
Arduino IDE

Story

Read more

Schematics

Setup

Comment the buzzer to the PWM outpin pin shown in the following diagram

Open the example code in "File"→ "Examples"→ "AmebaAnalog"→ "TonePlayMelody". Compile and upload to

Open the example code in "File"→ "Examples"→ "AmebaAnalog"→ "TonePlayMelody". Compile and upload to Ameba, and press the reset button. Then you can hear the buzzer playing music.

Credits

Daphne
12 projects • 1 follower
Always ready to learn something new...
Contact

Comments

Please log in or sign up to comment.