Fire Alarm with Pinoo

 

 

Purpose of the Project: To make a fire alarm system that gives an audible warning in the event of a fire by using the Pinoo control card temperature-humidity sensor and buzzer module.

Duration: 2 lessons

Age Group: 7 years old and above

Pinoo Set: Full set, Maker set.

Achievements:

-Learns to code the Pinoo control board.

-Learns to use temperature sensor.

-Learns to use the buzzer module.

-Algorithm building skill develops.

-Coding skill improves.

 

Materials to be used: Mblock 3 program, Pinoo control card, temperature-humidity sensor, buzzer module, connection cables.

 

 

 

 

Materials Required for Design: Wooden planks, eva, scissors, silicone gun and silicone.

 

 

 

 

 

Project Preparation:

 

 

  1. For our project, we first start designing houses with wooden planks.

 

We combine our wooden planks to give a house look.

 

We cover the house with evas to color our house.

 

 

 

With our buzzer module, we fix our temperature-humidity sensor on the roof of the house with the help of a silicone gun.

 

 

 

 

We attach our temperature-humidity sensor to the 1st door and our buzzer module to the 2nd door, and we have completed the design part of our project.

 

  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 control 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 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 control card from the window that opens.

 

 

We click on the Extensions tab.

 

 

In the window that opens, we select the extension "Pinoo" of the control card we are using.

 

 

 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 control our buzzer module by running it with a sound code under the code.

 

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 40 degrees, our buzzer module will give a warning. If the temperature value is lower than 40 degrees, we make our buzzer module passive. 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 the "Upload to Arduino" button selected in red.

 

Our codes are uploaded to our Pinoo control card. We click on the "Close" button after the "Installation Finished" text appears. After the installation is finished, the battery compartment is inserted and the project is run.

 

  1. Working Status of the Project:

 

 

 

 

If the value of our temperature-humidity sensor is more than 40, we will receive an audible warning, otherwise our buzzer module will become passive.

 

WITH PINOO SETS, CHILDREN CAN DO HUNDREDS OF PROJECTS WITH MATERIALS WHICH THEY CAN COMFORTABLY FIND AT HOME.