Thief Alarm with Pinoo

Project Purpose: To make a burglar alarm project by using motion detection and buzzer modules with Pinoo electronic card.

Duration: 2 lessons

Age Group: 9 years old and above

Pinoo Set: Invention set, Maker set ve Full set.
  • Learns to code Pinoo electronic card.
  • Learns to use motion detection sensor.
  • Learns to use the buzzer module.
  • Improves the skill of setting up algorithms.
  • Improves coding skill.
Materials to be Used: Mblock 3 program, Pinoo electronic card, motion detection sensor, buzzer module.
Materials Required for Design: Pieces of wood, colored cardboard, chenille, silicone gun and silicone.

Project Preparation:

1. For our project, let's start by designing a house first. We will use wooden pieces when designing the house.

We place our first piece for the floor.
The side part is glued with a silicone gun.
It is pasted on the other part.
In order to give the house shape, the roof is glued with wooden pieces.
It is bonded with silicone so that the top part does not separate.

The front of the house is covered with wood.

NOTE: The back must remain open to put the electronics.

Colored cardboards are cut to the size of wooden coins.
The parts are glued onto the wood.
Decorations are made with colored chenille.
  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 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 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:
We place the motion detection sensor arrow code into the "de" command in order to see the values ​​given by the motion detection sensor with and without motion on the puppet. We use the "continuous repeat" command to see the values ​​as long as the program is running.
To start the buzzer module, we run it under the "button is pressed" command.
NOTE: If motion detection sensor detects motion, it shows “1” value, if motion is not detected it shows “0” value.
We equate one of the conditions to zero, one to one.
We equate the values ​​to the motion detection sensor command.

If there is no movement, that is, it is equal to zero, the buzzer module will "silence", if there is movement, that is, it is equal to one, the buzzer module will sound.

 5. Let's combine electronic parts with design.


In coding, if the port number of the motion detection sensor and buzzer module is coded, it should be installed in the same place on the Pinoo card.

We place our Pinoo board inside the house.
We place the motion detection sensor and buzzer module at the front of the house. We run it with the help of batteries or power cords.

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