Smart Hat With Pinoo
Project Purpose: To make a smart hat project by using distance sensor and led module with Pinoo control card.
Duration: 2 lessons
Pinoo Set: Basic, Invention, Maker, Full Set.
Age Group: 9 years and older
• Learns to code Pinoo control card.
• Learns to use a LED module.
• Learns to use distance sensor.
• Improves the skill of setting up algorithms.
• Improves coding skill.
Required Materials: Mblock 3 program, Pinoo control card, distance sensor, 2 led modules
Materials Required for Design: Cardboard, scissors and a utility knife, orange felt, silicone gun and silicone.
For our project, let's start with designing a hat.
We cut 2 strips of 30 cm length and 5 cm thickness, and 1 strip of 50 cm length and 5 cm thickness. We cut 1 piece for the front part of the hat.
We silicon cardboard of 2 equal lengths in the form of "+".
We join the 2 ends of the longer strip cardboard and silicone it to be round.
We bend the cross- shaped cardboard and silicon the inner part of the round cardboard.
We cover the shape we created with cardboard and the front part of the hat with felt and silicone.
We silicone the distance sensor on the front of the hat.
We silicone the other part on the front of the hat.
We silicone 2 LED modules on the hat.
We install the connecting cables of the sensors. We attach the LED modules to the 1st and 2nd door and the distance sensor to the 5th door.
We connect the USB connection cable to the Pinoo control card and to the computer. Now we can start coding.
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.
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.
First, we put the value of the distance sensor attached to the door into the code block at ‘’hello’’ in the View menu.
Thus, we will see the distance value on the screen continuously.
Then, if not, we take the condition structure and specify our condition. Our condition is that the distance value is less than 10.
If our condition is correct, we make the status of 2 LED modules high and make them burn.
If our condition is not correct, we make the status of 2 LED modules low and turn them off.
In order to upload our codes to the Pinoo sensor card, we make the
"Pinoo Program" command at the beginning of the event
and delete the code block we use to display the distance value on the screen.
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.
Working Status of the Project:
We are installing the 9V battery.
We silicone the connection cables of the LED modules on the top of the hat.
When we put our hands on the front of the hat, the LEDs will turn on.
WITH PINOO SETS, CHILDREN CAN DO HUNDREDS OF PROJECTS WITH MATERIALS THAT CAN COMFORTABLY AT HOME.