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.
- 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.
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.
- 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.
- 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)
- 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.
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.
- 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.
- 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.
- 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: