Branda System with Pinoo

Purpose of the Project: To make a tarpaulin system by using a water level sensor and servo motor module with the Pinoo Control Card.

Duration: 2 lessons

Age Group: 9 years and older

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

Advantages:

  • Learns coding Pinoo control card
  • Learns to use water level sensor.
  • Learns to use servo motor module.
  • Improves the skill of setting up algorithms.
  • Improves coding skill.
  • Design skill develops.

Materials to be used: Mblock 3 program, Pinoo sensor card, servo motor module, water level sensor, Connection cable and USB cable.

 

 

Materials Required for Design: Cardboard, green craft paper, ruler, skewer, scissors, pencil, facet, silicone gun and silicone.

 

     

 

Project Preparation:

1. For our project, let's start by designing a house first. When designing a house, let's cut the cardboard in 22cm length and 16cm width. Then, let's keep the cardboard vertical and draw a 10 cm long triangle in the middle.

 

  • Let's do the same for a second cardboard. These will be the side walls of our house.

 

 
 
 
 
 
 
 
 
  •  Let's cut the cardboard from the parts we have drawn.

 

 
 
 
 
 
 
 
 
 
  • Let's cut another 12cm long and 16cm wide cardboard and connect it with the walls of our house. (It will be the back wall of the house.)

 

 
 
 
 
 
 
 
 
 
  • Let's make doors and windows on another 12 cm long and 16 cm wide cardboard. Then, let's stick it to the front of the house.

 

 
 
 
 
 
 
 
 
  • Let's make a suitable roof for the upper part of the house with the help of cardboard.

 

 
 
 
 
 
 
 
 
  • Let's take a 30 cm long and 16 cm wide cardboard. Let's glue the house with the back of the house at the far end of the cardboard.

 

 
 
 
 
 
 
 
 
  • Then, let's give the garden look by covering the front of the house with green handcrafted paper.

 

 
 
 
 
 
 
 
 
 
  • Let's break the garbage skewers and stick them to the two sides of the garden.

 

 
 
 
 
 
 
 
 
 
  • Let's stick one long skewer on the side skewers. Let's do the same for the other edge.

 

 
 
 
 
 
 
 
 
 
  •  We attach the water level sensor to the roof through its two small holes.

 

 
 
 
 
 
 
 
 
  • We stick the servo motor on the sidewall of the house.
 
IMPORTANT: Since we will attach the white propeller to the servo motor, we have to stick it in a way that it does not touch the roof. For this reason, I recommend that you check the rotation angles of the servo motor in the coding section and paste it like that.
 
 
 
 
 
 
 
 
 
 
 
 
  • Let's cut 20 cm long and 10 cm wide cardboard. Let's stick the propeller of the servo motor to the corner of the cardboard.
 
 
 
 
 
 
 
 
 
 
 
  • Let's attach the propeller to the end of the servo motor. The design is finished, you can decorate it as you wish.
IMPORTANT: Since the angles are important, let's make the angle of the servo motor 0 degrees first, then place the propeller.
 
 
 
 
 
 
 
 
 
 
 
  • Let's make our connections with connection cables. Let's connect the water sensor to the 7th door and the servo motor module to the 3rd door. (Let's combine servo motor and module. GND-brown, 5V-red, D0 orange)
 
 
 
 

 

  1. Adding Pinoo extension:

 

 
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.

 

 

  1. Connecting Pinoo control board to 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 sensor card from the window that opens.
 
 
 
 
 
 
 
 
  • We click on the ‘’Extensions’’ tab.
 
 
 
 
 
 
 
  • In the window that opens, we select the extension "Pinoo" of the sensor card we use.

 

 
 
 
 
 
 
 
  • We click on the Connect tab.
 
 
 
 
 
 
 
 
  • We click on "Firmware Update" from the window that opens.
 
 
 

 

4.Coding part:

 

 
 
 
 
  • We run the servo motor under the "key is pressed" command to start it. Since we will run the servo motor between 0 and 90 degrees, we are trying both.
 
 
 
 
 
 
 
 
 
  • We check the values ​​measured by the water level sensor. After measuring dry, let's wet the sensor and try again how much measured.
 
 
 
 
 
 
 
 
 
 
  • When the value seen by the water level sensor is greater than 300, that is, when it rains, the tarpaulin will go down, if it is not raining, it will go up.
 
 
IMPORTANT: Be sure to try your angles, each example may have different angles. The reason for this is the servo motor fit.
 
 
 
 
 
 
 
 
 
 
 
  • In order to upload our codes to the Pinoo sensor card, we make the "Pinoo Program" command at the beginning of the event.
 
 
 
 
 
 
 
 
 
 
 
  •  Since the "say hello" code runs on the computer, we do not forget to delete that code. We can right click on the purple code and say delete.
 
 
 
 
 
 
 
 
 
 
 
  • 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.

 

 

5. Working Status of the Project:

 

 
 
 
 
Since it does not rain, the tarpaulin is in the upward position, that is, it is closed.
 
 
 
 
 
 
 
 
 
 
 
  It is raining, so the tarpaulin comes down and is opened.
 

With Pinoo sets, children can make hundreds of projects with materials they can easily find in their homes.