Windmill System with Pinoo

Purpose of the Project: To make a well system that lowers the bucket when the well is overfilled by using the Pinoo Control Card temperature-humidity sensor and DC motor.

Duration: 2 lessons

Age Group: 9 years and above

Pinoo Set: Full set.


• Learns to code Pinoo control card.

• Learns to use temperature sensor.

• Learns to use DC motor.

• Improves the skill of setting up algorithms.

• Improves coding skill.

Materials to be used: Mblock 3 program, Pinoo control card, temperature-humidity sensor, DC motor, connection cables.
Materials Required for Design: Black cardboard, utility knife, scissors, tongue stick, ice cream stick, brown felt, toothpick, white electrical tape, silicone gun, and silicone.

Project Preparation:


For our project, we first take black cardboard and brown felt.

We give the brown felt a mountain appearance.
We fix it on our black cardboard with the help of a silicone gun.
We cut a certain part of the ice cream sticks with scissors so that we make a propeller.
Then we cut part of the toothpick and make holes in the ice cream sticks so that the toothpick passes.

Then we stick the DC motor to the tongue stick with the silicone gun as in the picture. Then we make a cut on one side of our mountain with the help of a utility knife and place it.

We place our propeller on the white part of the DC motor.

We fix our temperature-humidity sensor at the bottom of our windmill. Then we connect the temperature-humidity sensor with RJ-11 connection cable and place our DC motor in the socket part of our Pinoo control card. In this way, we complete our design part.
  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 the Pinoo sensor board to the computer:
In Mblock 3, we click on the "Connect" tab on the upper left.

We click on the "Serial Port" section from the opened window 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.
  1. Coding part:

First, we place our temperature-humidity sensor identification code under the "Pinoo Program" code to check whether our temperature-humidity sensor is working. Then we print our temperature-humidity sensor values ​​to the serial port and upload it to Arduino.

Then we change the "recv encode mode" option to "capital state" at the bottom right of our mblock program. In this way, we see our temperature-humidity sensor values ​​on the serial port. After uploading our codes to Arduino, let's not forget to reconnect from the program link connect section.


When the green flag is clicked, we cannot operate our temperature-humidity sensor under its code. Therefore, we are introducing our temperature-humidity sensor to our program with our code under the Pinoo Program code. Then, if the value of our temperature-humidity sensor, that is, the temperature in the environment, is greater than 29 degrees, the DC motor (windmill) will stop. If the temperature is lower than 29 degrees, we will start our windmill, that is, our DC motor.

In this way, we complete our code.


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 on the "Upload to Arduino" button selected.
Our codes are uploaded to our Pinoo sensor card.
 We click on the "Close" button after the "Download Finished" text appears. After the installation is finished, the battery compartment is inserted and the project is run.
5. Working Status of the Project:
If the value of our temperature-humidity sensor is more than 29, our windmill will stop, otherwise our windmill will run. See you in another projec.

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