Smart Greenhouse with Pinoo
Purpose of the Project: To make a smart greenhouse project using the Pinoo Control Card, LED module and Soil Moisture Sensor.
Duration: 2 lessons
Age Group: 9 years and older
Pinoo Seti: Invention set, maker set and full set.
Benefits:
- Learns to code Pinoo control card.
- Learns to use the LED module.
- Learns to use the soil moisture sensor.
- Improves the skill of setting up algorithms.
- Improves coding skill.
Materials to be used: Mblock 3 program, Pinoo sensor card, 2 led modules, 2 soil moisture modules.
Materials Required for Design: Wood chips, soil, water, silicone gun and silicone.
Project Preparation:
For our project, let's start with designing a greenhouse or flowerpot.
We design a 2-compartment pot of wood pieces.
Since there will be soil in it, let's do the siliconization process carefully.
We fill the partitions with soil. We wet the soil in a compartment.
Dry soil will give us warning, moist soil will not.
We install the RJ-11 cables of the soil moisture sensors and place them in the soil.
We attach the RJ-11 cables of the LEDs and place them with silicon as shown in the figure.
The electronic parts are in place.
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.
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 opened page.
NOTE: Since the port entries of each computer are different, the numbers can vary.
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.
Coding part:
First of all, let's start by testing the values of soil moisture sensors. We will see it different here by experimenting with a dry and moist soil.
If the value of the soil moisture sensor is greater than 500, that is, it is a dry soil, the LED will flash and give us a warning. If not, it will be dim.
We are coding for other soil moisture and the same situation.
In order to upload our codes to the Pinoo sensor card, we make the "Pinoo Program" command at the beginning of the event.
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. 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.
Working Status of the Project:
After loading the Pinoo card, we try by installing the battery.
We made it warn us with a red light on dry soil.