Guitar With Button and Pinoo

Purpose of the Project: To make a guitar project using the Pinoo  control card and buzzer-button modules. 

 

Duration: 2 lessons 

Age Group: 9 years and older 

Pinoo Set: Basic Set, Invention Set, Maker Set, Full Set.

Benefits: 

• Learns to code Pinoo control card. 

• Learns to use a LED module. 

• Learns to use buzzer module. 

• Improves the skill of setting up algorithms. 

• Improves coding skill. 

 

Required Materials: Mblock 3 program, Pinoo control card, 5 button modules, 1 buzzer module 

 

 

Materials Required for the Design: 2 large pink cardboard, scissors and a utility knife, silicone gun and silicone. 

 

 

Project Preparation: 

For our project, let's start by designing the guitar first. 

 

 

 

We design the front part of the guitar and cut it with scissors. 

 

 

We design the back of the guitar and cut it with scissors. 

 

 

We draw a circle on its front part. 

 

 

We cut the round part we have drawn with a utility knife. 

 

 

We cut 2 strips 4 cm thick and 26 cm long. Again, we cut 4cm thick pieces that do not notice the length. (we will use it to cover the sides) 

 

 

We silicon the pieces of equal length perpendicular to the back of the guitar's stem. 

 

 

We silicon the remaining parts perpendicularly around the lower part of the guitar. 

 

 

We silicon the 5 button modules on the guitar. 

 

 

We also silicon the buzzer module on the guitar. 

 

 

We attach the connection cable of the first buzzer module and silicon it. 

 

 

We attach the connection cables of the other 2 buzzer modules and silicon. 

 

 

We attach and silicon the connection cables of all buzzer modules. 

 

 

We attach the connection cables of the modules to the Pinoo control board. We install the buzzer module on the 1st door. Other buttons 2,3,4,5,6. we attach to the doors. 

 

 

 

We connect the USB connection cable to the Pinoo control card and to the computer. Now we can start coding. (We will close the back part when coding is finished.) 

 

Adding Pinoo extension:

 

Uzantılar sekmesinden “Uzantıları Yönet” seçeneğine tıklıyoruz.
 
 
 
 
 
From the Extensions tab, we click on the "Manage Extensions" option. 

In the window that opens, we type "Pinoo" into the search engine and simply say download to the result. 

It was installed on our computer. 

 
Connecting the Pinoo control board to the computer:
 
 
 
In Mblock 3, we click on the "Connect" tab on the upper left. 
 
 
 
We click on the "Serial Port" section from the window that opens and select the "COM6" option from the page that opens. NOTE: Since the port entries of each computer are different, the numbers next to the COM text may change. 
 
 
 
 
We click on the Cards tab. 
 
 
We select the "Arduino Nano" card option used by the Pinoo control card from the window that opens. 
 
 
 
 
We click on the Extensions tab. 
 
 
 
In the window that opens, we select the extension "Pinoo" of the control card we are using. 
 
 
 
We click on the Connect tab. 
 
 
We click on "Firmware Update" from the window that opens. 

 

 

Coding part:

 

 

We start with the Pinoo Program code block. We will check the button statuses continuously. 

 

 

Then, we take the condition structure ‘if it is’ and specify our condition. Our condition is that the value of the button attached to the door is equal to 1. (That is, if the button module is pressed) 

 If our condition is correct, we make the sound from the buzzer module attached to the door. 

(you can choose the note you want) 

We specify our other requirement. Our condition is that ‘’the value of the button attached to the door is equal to 1’ 

If our condition is correct, we make the sound from the buzzer module attached to the door. 

(you can choose the note you want) 

 

 

 

We specify our other requirement. Our condition is ‘the value of the button attached to the 4.door is equal to 1.’ 

If our condition is correct, we make the sound from the buzzer module attached to the door. 

(you can choose the note you want) 

 

 

We specify our other requirement. Our condition is ‘the button value attached to the 5.door is equal to 1.’ 

 

If our condition is correct, we make the sound from the buzzer module attached to the door. 

(you can choose the note you want) 

 

 

 

We specify our other requirement. Our condition is 6. The button attached to the door is equal to 1. 

 

If our condition is correct, we make the sound from the buzzer module attached to the door. 

(you can choose the note you want) 

 

 We right click on the "Pinoo Program" command and select the "Upload to Arduino" option in the window that opens. 

 

 

On the page that opens, we click the "Upload to Arduino" button selected in red. 

Our codes are uploaded to our Pinoo control card. 

We click on the "Close" button after the "Download Finished" text appears. 

  

We silicon the Pinoo control card inside the lower part of the guitar. 

 

 

We silicone the back of the guitar on top of the other guitar piece. 

 

 

We create a hole at the level of the Pinoo board with a utility knife to insert the battery. 

 

 

If there is no double-sided tape, we attach the battery to the design and then to the Pinoo control card with normal tape. 

 

Working Status of the Project:

 

When we click the buttons, notes will appear from the buzzer module. 

 

 

WITH PINOO SETS, CHILDREN CAN MAKE HUNDREDS OF PROJECTS WITH MATERIALS THEY CAN EASILY FIND IN THEIR HOMES.