Skip to content

4. Virtual Implementation

Akash-Kumbar edited this page May 9, 2020 · 1 revision

Subsystems in the project :

  1. Strum System
  2. Fret-board unit
  3. User control and interface unit

1. Strum System

3D model :

mouth

Circuit Diagram :

strum

Flow chart / Algorithm :

Step 1:[START]

Step 2:[INPUT]ON/OFF

Step 3:[PROCESSING]According to the required tune, particular servo motors start and the shaft of the respective motor plucks the string.

Step 4:The delay command helps the shaft to pluck the string for a particular time.

Step 5:Hence parallelly holding of string at the fret region and plucking of the string near mouth part creates the tune.

Step 6:When the motor stops, there is no plucking of string by shaft.

Step 7:[END]

Bill of material (BOM) :

S.NO PART NAME MATERIAL WITH WHICH THE PART IS MADE UP OF SPECIFICATIONS OF THE PART QUANTITY REQUIRED FABRICATION PROCESS NEEDED
1. Servo motor Operating voltage -5V 6
2. Stand to hold servo motor Acrylic sheet Tough, Thickness-3mm, Length-10cm, Breadth-20cm 2 Laser-cutting
3. Base Foam sheet Length-10mm, Breadth-4mm, Height-5mm 2 Cutting and drilling
4. Clamps Metal 2 inch 8
5. Nuts and bolts Metal M-4 10
6. Arduino Mega 2560 1


2. Fret-board unit

3D model :

press

Circuit Diagram :

fret

Flow chart / Algorithm :

Step 1 : [START]

Step 2 : [INPUT] ON / OFF

Step 3: [PROCESSING] According to the required tune, particular servo motors start and the shaft of respective motor move by the assigned angle.

Step 4 :The delay command helps the shaft to hold the string.

Step 5 :Hence parallel plucking of the string near the mouth part and holding of the strings at the fret region creates tune.

Step 6 : When the motor stops, shaft moves away from the string.

Step 7 : [END]

Bill of materials (BOM) :

S.no Part name Material with which the part is made up of Specifications of the part Quantity required Fabrication process needed
1. Servo motor Operating voltage – 5 V 5
2. Stand to hold servo motor Acrylic sheet Tough, thickness – 3mm, Length – 14.5 cm, Breadth – 4 cm 5 Cutting and bending
3. Base Foam sheet Length- 45cm, Breadth – 30cm, Thickness – 12 mm 1 Cutting and drilling
4. Nuts/screws and bolts Metal M-4 25
5. Screws with screw holder Metal 18
6. Arduino Mega 2560 1


3. User control and interface unit

Circuit Diagram :

bluetooth module

Flow chart / Algorithm :

Step 1 : [START]

Step 2 : [INPUT] Command(On/Off) is given to a Bluetooth module connected to the arduino microcontroller via an android app.

Step 3: [PROCESSING] Depending upon the input, the servo motors attached to the guitar do the required action* to generate music.

Step 4: [OUTPUT] The music programmed is generated through the orchestra of servo motors.

Step 5: [END]

*The servo motors around the mouth of the guitar strum the strings and the motors at the fret press the string.

Bill of materials (BOM) :

S.no Part name Materials with which the part is made up of Specifications of the part Quantity required Fabrication processes if needed
1. Bluetooth module 1
2. Arduino mega 2560 1


The whole model :

3D model :

complete

Circuit diagram :

circuit_finale_2

Flowchart / Algorithm :

The music will be generated by the bot through rhythmic movement of the servo motors.

For example if we have to play happy birthday song.

And the servo motors are placed like on the strings of the guitar in the following manner :

motor-placement

According to the motors placed the motors will either press the frets or strum depending upon the positions.

Then the algorithm for happy birthday song is :

C -> 5 – Press 10 - Strum x 2

D -> 9 - Strum

C -> 5 – Press 10 – Strum

F -> 4 – Press 9 – Strum

E -> 2 - Press 9 – Strum

C -> 5 – Press 10 – Strum x 2

D -> 9 – Strum

C -> 5 – Press 10 – Strum

G -> 8 – Strum

F -> 4 – Press 9 – Strum

C -> 5 – Press 9 – Strum x 3

A -> 1 – Press 8 – Strum

F -> 4 – Press 9 – Strum

E -> 2 – Press 9 – Strum

D -> 9 – Strum

A# -> 3 – Press 8 – Strum x 2

A -> 1 – Press 8 – Strum

F -> 4 – Press 9 – Strum

G -> 8 – Strum

F -> 4 – Press 9 – Strum

(The input to the arduino is given by a smart phone app via a Bluetooth connection.)

Bill of materials :

S.no Part name Material with which the part is made up of Specifications of the part Quantity required Fabrication process of needed
1. Arduino Mega 2560 1
2. 16 channel servo controller 1
3. Servo motor Operating voltage -5V 11
4. Stand to hold servo motor Acrylic sheet Tough, Thickness-3mm, Length-10cm, Breadth-20cm 2 Laser-cutting
5. Base Foam sheet Length-10mm, Breadth-4mm, Height-5mm 2 Cutting and drilling
6. Clamps Metal 2 inch 8
7. Nuts and bolts Metal M-4 10
8. Stand to hold servo motor Acrylic sheet Tough, thickness – 3mm, Length – 14.5 cm, Breadth – 4 cm 5 Cutting and bending
9. Base Foam sheet Length- 45cm, Breadth – 30cm, Thickness – 12 mm 1 Cutting and drilling
10. Nuts/screws and bolts Metal M-4 25
11. Screws with screw holder Metal 4 mm 18
12. Bluetooth module 1

Motor sizing :

The data required and the calculations have been borrowed from this research paper : PDF

And drawing the conclusions we are going to use the following motors :

S.no Motor used Quantity Torque Purpose of use
1. Tower-pro SG-90 servo 6 1.8 kg-cm Strumming strings near the mouth part
2. Tower-pro MG-90 servo 5 2.2 kg-cm pressing strings at frets

Battery sizing :

Current consumption = Current drawn by each servo X No. of servos X time

For SG-90 : 360 mA X 3 X 3 = 3240 mA

For MG-90 : 700 mA X 5 X 3 = 10500 mA

Total current consumed = 13,740 mA

S.no Motor used Quantity Total current drawn (mA) Voltage
1. Servo motor (SG-90) 6 3240 mA 5 V
2. Servo motor (MG-90) 5 10500 mA 5 V