Water Gun Shooting Range With Pinoo
Project Purpose: To make a water gun shooting range project using the Pinoo Control Card, water level sensor and Buzzer module.
Duration: 2 lessons
Age Group: 9 years and older
Pinoo Set: Maker set, invention set, full set.
• Learns to code Pinoo control card.
• Learns to use water level 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 control card, water level sensor, buzzer module
Materials Required for Design: Wood pieces, acrylic paint and brush, jar lid, water gun, silicone gun and silicone.
1. For our project, let's start with making the platform of the shooting range first.
We create the platform above with wooden parts.
(We used 2 big and 2 small pieces. We created the base with one small. We combined 1 big and one small piece and glued it to the front. We made support for the back with one big piece.)
We paint the platform we created with acrylic paint.
We paint the jar lids with acrylic paints like a target board.
We silicon the water level sensor at the top of the platform.
We silicon the jar lid on the back of the water level sensor.
We silicon the buzzer module on the back of the platform.
We install the connecting cables of the sensors.
We silicon the Pinoo control card on the back of the platform.
We also attach the connection cables of the sensors to the Pinoo card.
We silicon a piece of wood as shown in the picture to protect the sensors.
All electronic parts in place.
2.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.
3.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 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.
When you click the green flag, we run it to see the water level value on the screen.
Here we can see the value it reads by soaking it with a water gun.
If the water level value is greater than 150, that is, when it gets wet with a water gun, we make the buzzer module sound. Here you can choose the one you want by trying the note values.
We make the buzzer module work for 1 second and then shut it down. Also, if not, we silence the buzzer.
In order to upload our codes to the Pinoo sensor card, we make the "Pinoo Program" command at the beginning of the event and delete the codes we use to read values on the screen.
* The aim here is to make the buzzer module work and perform a game design when the water level sensor gets wet.
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 loading is finished, the Pinoo card and sensors are placed in the hard hat.
5. Working Status of the Project:
After the installation is finished, we connect the 9V battery to the Pinoo control board.
When you hit the water level sensor with the water gun, the buzzer will start and give a warning.