Emergency Button With Pinoo

by pinoorobotics in Circuits > Arduino

170 Views, 0 Favorites, 0 Comments

Emergency Button With Pinoo

Pinoo ile Acil Yardım Butonu-Emergency Aid Button with Pinoo

Purpose of the Project: To make an emergency button that makes a sound when the button is pressed using the Pinoo Control Card, button module and buzzer module.

Duration: 2 lessons

Age Group: 9 years old and

Pinoo Set: Invention,Maker,Full Set Over

Gains:

• Learns to code Pinoo control card.

• Learns to use button module.

• Learns to use buzzer.

• Improves the skill of setting up algorithms.

• Improves coding skill.

Supplies

Materials to be used: Mblock 3 program, pinoo control card, button module, buzzer module, connection cables.

Materials Required for Design: Yellow and red eva, scissors, tongue stick, silicone gun and silicone.

Project Preparation

IMG_4049.JPEG
IMG_4050.JPEG
IMG_4048.JPEG
IMG_4051.JPEG
IMG_4052.JPEG
IMG_4053.JPEG
IMG_4054.JPEG
IMG_4055.JPEG

  • For our project, we first take our wooden sticks.
  • We cut the "emergency button" letters from the yellow evam with the help of scissors.
  • We cut our red eva in a round shape.
  • We stick the tongue stick to our house to make the handle of our emergency button.
  • We stick our letters one by one with the help of a silicone gun.
  • This is how we make the Pinoo module connections. But first we put the modules into our design.
  • We paste our button module as in the picture.
  • We fix our buzzer module on the top of our button module and we finish our design.

Adding Pinoo Extension

a2.jpg
a3.jpg

  • 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

a4.jpg
a5.jpg
a6.jpg
a7.jpg

  • 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 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

Adsız.png
Adsız2.png
Adsız3.png

  • First, to check whether our button module is working or not, we place our code read the button code under the "Green Flag Click" code and put our code into our code. The values we get in this way are 0 and 1. (0 =. The button is not pressed. 1 = The button is pressed.)
  • When the green flag is clicked, we control our buzzer module by running it with a sound code under its code. Hello, we have read the button value with our code. Then, if the value we get is equal to 1, that is, if the button is pressed, our buzzer module will run for half a second and give us a warning. If not, we turn off our buzzer module.
  • 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 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, the battery compartment is inserted and the project is run.

Working Status of the Project

IMG_4055.JPEG

  • When we press our button, our buzzer module will beep and warn us.