top of page

Automatic Disinfectant

Project Purpose: To create automatic disinfectant with distance sensor and servo motor using Pinoo Control Card.

Duration:  2 lessons

Age group:  7 years and older

Pinoo Set:  Basic set, invention set, maker set and full set.

Achievements:

  • Learn to code Pinoo control board

  • Learns distance sensor and servo motor coding.

  • Develops algorithmic skills.

  • Coding skills develop.

 

Materials to be used:  Mblock 3 program, Pinoo control card, distance sensor, servo motor, connection cable.

 

 

 

Materials Required for Design:  Wood, cardboard, glue gun, tongue stick, box

       

 

 

 

 

 

 

 

 

 

 

 

 

    

Project Construction:

 

 

For its floor, the wood is siliconized vertically on the cardboard.  

 

We stick the tongue stick on the wood we glued with silicone. 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 on which the disinfectant will be placed on the servo motor.

 

CONNECTION MAKING

 

 

Let's make our connections. We connect the Pinoo Servo motor to the purple input number 1.

 

 

Pinoo distance sensor  number 6 purple/green  we connect to the input.

 

  

We have completed our connections, 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 the connection cable and log in to the Mblock3 application. Then let's introduce our Pinoo Control Card to the computer. To do this, we first click on the serial port option from the Connect tab. Then COM6  (The number may differ depending on the computer and port.)

 

 

After making the serial port connection, let's choose the card we will use from the cards tab. We are working with the Nano model of Arduino.

 

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 write “Pinoo” in the search engine and it is enough to say download to the result. Installed on our computer.

 

 

We come to the extensions tab again and click on Pinoo. We will write our codes with the Pinoo extension.

 

 

We click on the panda puppet and get the code when the Green Flag is clicked from the Events menu so that the automatic disinfectant machine can work. Since all the code blocks we will write must work continuously until the project is finished, we get the code block from the control tab. We take the control block if/not so that we can check whether we are getting close to the Pinoo distance sensor.

 

 

 

 

 

 

 

 

If the value of the distance sensor is between 1 and 6 (if we put our hand close 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 put our hand close to the machine)  servo motor will tilt down and wait 4 seconds.

If not, the servo motor will rotate vertically again.

After completing our codes, we check the operation of our project by clicking on 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.

0.jpeg
3.jpeg
4.jpeg
6.jpeg
7.jpeg
1.jpeg
2.jpeg
seri_port_480x480.jpg
KART_480x480.jpg
pinoo_uzanti_480x480.jpg
1_a8314da2-edff-4525-979d-b2d3ff93364b_large.png
pinooo_480x480 (2).jpg
1.PNG
2.PNG
5_d204daa8-9eb8-4865-ac5e-97938ca8f554_480x480.png
bottom of page