Radio Project With Pinoo
Purpose of the Project: To make a radio project by making different sounds from different buzzer modules when the potentiometer setting is changed using the Pinoo Control Card, potentiometer and buzzer module.
Duration: 2 lessons
Age Group: 7 years and above
• Learns to code Pinoo control card.
• Learns to use potentiometer module.
• Learns to use buzzer.
• Improves the skill of setting up algorithms.
• Improves coding skill.
Materials to be Used: Mblock 3 program, Pinoo control card, potentiometer module, buzzer module, connection cables.
Materials Required for Design: Cardboard box, scissors, black eva, utility knife, silicone gun and silicone.
1.For our project, we first buy our black house.
Then we prepare 2 buttons.
We create our radio's antenna by cutting from black eva with scissors.
We cut a round circle from our black eva and cut the middle of our circle and try to give a loudspeaker appearance by lifting our round circle on the edge.
We cut our radio box for the potentiometer and insert our potentiometer module.
We fix our buttons with the help of a silicone gun.
We fix our radio antenna and buzzer module.
We connect our buzzer module to the 1st door on our Pinoo control card and our potentiometer module to the 7th door and complete our design part.
2.Adding Pinoo extension:
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.
3.Connecting the Pinoo sensor board to the computer:
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 "Firmware Update" from the window that opens.
4. Coding part:
First, to check whether our potentiometer module is working or not, we place our code, say hello, in our code, read the potentiometer code under the "Green Flag Click" code. The values we get in this way are between 0 and 1023.
When the green flag is clicked, we control our buzzer module by running it with a sound code under its code.
Our coding logic here is that we make a different buzzer sound between every 200 values. At first, our condition block starts with between 0 and 200. Then, we continue between 200 and 400, have it checked up to 800 and 1000 values, and add the sounds of our different buzzer modules.
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 on the "Upload to Arduino" button selected in red.
Our codes are uploaded to our Pinoo sensor card.
We click on the "Close" button after the "Download Finished" text appears. After the installation is finished, the battery compartment is inserted and the project is run.
5. Working Status of the Project:
Every time we change the setting of our potentiometer module, our buzzer module gives a different sound.