Automatic Disinfectant with Pinoo
Purpose of the Project: Creating automatic disinfectant with distance sensor and servo motor using Pinoo control card.
Duration: 2 lessons
Age Group: 7 years old and above
Pinoo Set: Basic set, invention set, maker set and complete set.
Learns to code Pinoo control board
Learns distance sensor and servo motor coding.
Algorithm building skill develops.
Coding skill improves.
Materials to be used: Mblock 3 program, Pinoo control card, distance sensor, servo motor, connection cable.
Materials Required for Design: Wood, cardboard, silicone gun, tongue stick, box
For the floor, the wood is sealed vertically on the cardboard.
We glue the tongue stick with silicone on the wood we have glued. We fix the distance sensor as in the image.
We fix the servo motor on the tongue bar as in the image.
We fix the container to which disinfectant will be placed on the servo motor.
Let's make our connections. We connect the Pinoo Servo motor to the purple input number 1.
We connect the Pinoo distance sensor to the purple / green input number 6.
We have completed our connections and now let's move on to the coding part. We will use the Mblock-3 application for this.
Let's connect our Pinoo control card to the computer with the help of a connection cable and enter the Mblock3 application. Later, let's introduce our Pinoo control card to the computer. For this, we first click on the serial port option from the Connect tab. Then we choose COM6. (The number may differ depending on the computer and the port.)
After making the serial port connection, let's select the card we will use from the cards tab. We are working with Arduino Nano model.
In order to add the Pinoo extension to our computer, we click on the manage extensions option from the extensions tab. 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 come to the extensions tab again and click on the Pinoo option. We will write our codes with the Pinoo extension.
We click on the panda puppet and get its code when the Green Flag is clicked from the Events menu in order for the automatic disinfectant machine to work.
Since all the code blocks we will write have to work continuously until the project is finished, we are getting the code block from the control tab continuously.
In order to check whether we are approaching the Pinoo distance sensor or not, we take the control block if / not.
If the value of the distance sensor is between 1 and 6 (if we bring our hand closer to the machine), we add the code block that will work.
If the value of the distance sensor is between 1 and 6 (if we bring our hand closer to the machine) the servo motor will bend down and wait for 4 seconds.
If not, the servo motor will turn vertically again.
After completing our codes, we check the operation of our project by clicking the green flag.
- When the distance sensor is not detected, the box on the servo motor should stand upright.
- When the distance sensor detects our hand, the box on the servo motor should be tilted.
WITH PINOO SETS, CHILDREN CAN DO HUNDREDS OF PROJECTS WITH MATERIALS WHICH THEY CAN COMFORTABLY FIND AT HOME.