Basket Crucible with Pinoo
Purpose of the Project: To make a basketball hoop project using the Pinoo Control Card, servo motor and button module.
Duration: 2 lessons
Age group: 7 years and older
Pinoo Set: Basic set, icat set, maker set and full set.
Benefits:
- Learns to code the Pinoo control board.
- Learns to use servo motor.
- Learns to use the button module.
- Algorithm building skill develops.
- Coding skill improves.
Materials to be Used: Mblock 3 program, pinoo control card, servo motor, button module.
Materials Required for Design: Pieces of wood, acrylic paint and brush, small piece of cardboard, colored cardboard, ice cream stick, piece of aluminum wire, scissors, small basketball ball, silicone gun and silicone.
Project Preparation:
We start the project construction by making the crucible platform where we will shoot baskets.
First we paint the wood pieces.
Let's glue the two large pieces that dry.
We glue 2 ice cream sticks with a silicone machine to secure the joints.
We glue a small piece of wood upright with a silicone machine.
We fix the large piece of wood on the back with a silicone machine.
We create a circle by rotating the piece of aluminum wire.
We fix the crucible we created on the platform with the help of a silicone machine.
We cover the silicon part with the help of a piece of cardboard.
We fix a large piece of wood under the platform using a silicone machine.
We cut a round piece with cardboard (the size of a ladle).
We cut half the ice cream stick with scissors.
We stick the cardboard to the ice cream stick we cut with a silicone machine.
Servo motor We stick it with a silicone machine.(The white part at the end is upright)
Put the cardboard onto the end of the servo motor. We stick it with a silicone machine. Then we write the article "Basket".
Button module We stick it with a silicone machine.
We install the connecting cables of the sensors.
We attach the connection cables of the sensors to the Pinoo board.
We plug the USB connection cable into both the pinoo card and the computer.
All electronic parts installed
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 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.
Coding part:
When the green flag is clicked, we run it to see the value of the button.
(When 1 is pressed, it reads 0 when it is released.)
We are creating our condition to check the button status. If it is 1, we specify it as when the button is pressed.
We add the repeat code 10 times.
(Here, we will move the cardboard under the basket by changing the angles of the servo motor. In other words, while trying to shoot a basket, the ladle will be open and sometimes closed.)
First, we bring the servo motor to the angle of 150. (The far right part is 180, but the cardboard makes it difficult to rotate so we enter a value as 150.)
Later, we specify not to wait at a random interval. (You can change the second here.)
This time, we bring the servo motor to the angle of 30. (The leftmost part is 0, but cardboard makes it difficult to rotate so we enter a value of 30.)
Later, we specify not to wait at a random interval. (You can change the second here.)
Finally, we bring the servo motor to a 90 degree angle. Then we specify not to wait at a random interval.
Now, if the button value is 0, we bring the angle of the servo motor to 90 degrees.
In order to upload our codes to the pinoo control 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.
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 "Download Finished" text appears.
Working Status of the Project:
We take out the USB connection cable and insert a 9V battery.
When you click the button, the servo cardboard will move. You can take a basket too.
With Pinoo sets, children can make hundreds of projects with materials they can easily find in their homes.