Introduction: Web Piano(D-duino-B&Grove Speaker)

Please have a look at my YouTube video first.

https://youtu.be/w8mN2982zjg

You see, I can type musical note and play it by web.

D-duino is such things. You can check your input content on its OLED display.

And you can do a lot of interesting things by WiFi.

Step 1: Prepare

Step 2: Something You Need to Know

I put all code on github

https://github.com/lspoplove/D-duino/blob/master/Groves_tutorial/WebPinao.ino

You should look at grove speaker wiki first

Here I connected speaker to D3. But Arduino code D3's pin number is 0.

You can type 12 musical notes by changing code.

I hope the code example can help you a lot!