Project tutorial
Music With Arduino and Relay

Music With Arduino and Relay © CC BY

let's create some music with relay

  • 2 views
  • 0 comments
  • 0 respects

Components and supplies

Apps and online services

About this project

in this tutorial, I am going to show you how to create music with relay and Arduino interesting beginner-friendly project

Step 1: How It Works

if you are familiar with relays .you may notice the triggering sound of the relay. that sound is our key .we trigger relays in a particular sequence to generate music awesome let's start building. before that please watch the making video for detailed instructions

Step 2: Components Needed

Arduino UNO

you can use any Arduino I am using Arduino UNO

speaker

any speaker

relay module

led

breadboard

Step 3: Circuit Diagram

Step 4: Connections

connect the speaker to pin 8 of Arduino

connect relays input to pin 13

Step 5: Code and Library

code

I used pitches.h library to generate music

pitches.h library

Step 6: Happy Making

if you have any doubt please comment it below

Code

Gist
https://gist.github.com/EDISON-SCIENCE-CORNER/545953235b9c3b144646d53df7efb3ca
Gist
https://gist.github.com/mikeputnam/2820675

Schematics

circuit diagram
ckt_eAeTUKOP4V.fzz

Comments

Similar projects you might like

How to make music with an Arduino

Project tutorial by Code_and_Make

  • 12,439 views
  • 3 comments
  • 21 respects

Translightion Board (Controllable Music Visualizer)

Project tutorial by Miranda Hansen and Joshua

  • 3,580 views
  • 1 comment
  • 15 respects

Control Music Volume and Ledbar Using Slider of 1Sheeld

Project tutorial by ahmed ismail

  • 2,340 views
  • 2 comments
  • 14 respects

Newbie Music Player

Project in progress by Michael Marinis

  • 5,665 views
  • 2 comments
  • 16 respects

Arduino - Making Music Using Step Motors

Project tutorial by IoT_lover

  • 6,033 views
  • 2 comments
  • 22 respects

Knock Knock Music Box

Project tutorial by Johan van Vugt

  • 2,059 views
  • 1 comment
  • 11 respects
Add projectSign up / Login