Tissue Box Guitar – Light Strings using Arduino

the idea of anything can be an instrumental music has been always in my mind so i made a wooden tissue box that i installed inside it a guitar of light strings

Light Strings using Arduino

Step 1: Building Box

i made this wooden tissue box

Step 2: Wiring

we make the LDR wiring on a the top shelf of the box … while the Led’s are on the buttom shelf we place them under the LDR’s directly to make the light effective on the LDR.

Ultrasonic Sensor we place it on the front side of the tissue box so it could be able to see when people comes close to it and give the servo the order to open the shelf here the servo pushes the shelf of the Led’s up and they will be visible to the user !

P.S: ALL THE WIRING SHOULD BE MADE ON THE WAVE SHIELD NOT ON THE ARDUINO DIRECTLY.
i couldn’t find a figure for the wave shield here

Light Strings using Arduino circuit

for the sound all you have to do is to get a .Wav files of guitar strings ! or anything else you like … and install them on the Waveshield Memory card.

Step 3: Coding

 

#include < NewPing.h >
#include < SoftwareServo.h >
#include < FatReader.h >
#include < SdReader.h >
#include < avr/pgmspace.h >
#include "WaveUtil.h"
#include "WaveHC.h"

#define TRIGGER_PIN  7
#define ECHO_PIN     6
#define MAX_DISTANCE 500

SdReader card;
FatVolume vol;
FatReader root;
FatReader f;

WaveHC wave;
NewPing sonar(TRIGGER_PIN, ECHO_PIN, MAX_DISTANCE);
SoftwareServo servo1;

unsigned int pingSpeed = 50;
unsigned long pingTimer;

byte buttons [] = { A0, A1, A2, A3, A4, A5};

#define NUMBUTTONS sizeof(buttons)
Major Components in Project

equipments:

1 x Arduino Uno
1 x Adafruit Wave Shield
1 x Servo
6 x LDR
12 x 1k Resistors
6 x LED
WIRES

For more detail: Tissue Box Guitar – Light Strings using Arduino


About The Author

Ibrar Ayyub

I am an experienced technical writer holding a Master's degree in computer science from BZU Multan, Pakistan University. With a background spanning various industries, particularly in home automation and engineering, I have honed my skills in crafting clear and concise content. Proficient in leveraging infographics and diagrams, I strive to simplify complex concepts for readers. My strength lies in thorough research and presenting information in a structured and logical format.

Follow Us:
LinkedinTwitter

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top