Sweet Robot With Pinoo
Purpose of the Project: To make a nice robot project by using Pinoo control card, servo motor, LED module and distance sensor.
Duration: 2 lessons
Age Group: 7 years and older
Set Used: Pinoo Basic Set, Invention Set, Maker Set, Full Set
• Learns to code Pinoo control card.
• Learns to use a LED module.
• Learns to use distance sensor.
• Learns to use servo motor.
• Ability to develop Algorithm.
• Improves coding skill.
Materials to be used: Mblock 3 program, Pinoo control card, distance sensor, yellow led module, red led module, servo motor
Materials Required for Design: 1 medium box, scissors and utility knife, colored cardboard, 4 cardboard cups, silicone gun and silicone.
For our project, let's start by designing a robot.
We cut out of colored cardboard and cover the box with silicon so that the lid can be opened.
We cover it all over as shown in the figure.
Thus, we complete the body of the robot design.
We siliconise 2 pieces of cardboard cups putting them intertwined. We do the same process once more.
We cover the outside of the 2 cups with colored cardboard by siliconising.
And also we completed the design of the robot foot.
We drill holes in the upper part of the robot's body where the distance sensor can enter.
We place the distance sensor in these holes and siliconise it.
We silicone under the feet of the body that we have created.
We silicon 2 LED modules at the level of the distance sensor.
We cut cardboard to be 7x12 cm. Then we cut siliconised superior color cardboard.
We bend 2cm inside from the right and left edges.
Thus, we are completing the design of the robot arm portion.
We silicone one of the arms on the left side of the robot body.
We remove the tip of the servo motor and silicon it perpendicular to the right side of the robot body.
We attach the connection cables of the modules to the Pinoo control board.
We attach the distance sensor to the 5th door, the red led module to the 4th door, the green led module to the 1st door, the servo motor to the 2nd door.
We plug in the USB connection cable to the Pinoo card and to the computer.
Now we can start coding.
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.
Uzantılar sekmesine tıklıyoruz.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.
First, when the green flag is clicked, we make the angle of the servo motor 135 degrees.
We attach the end of the servo motor vertically.
In this arm parallel to the other arm, we silicon the end of the servo motor.
When the green flag is clicked, we continuously write the codes on the screen to see the distance value to the 5th door. We see the value on the screen by clicking the green flag and bringing our hand in front of the distance sensor. We use the red button to stop.
If not, we add the condition structure and create our condition. We will have to have the value read by the distance sensor attached to the 5. door to be less than 10. So if we get our hand close, it will work.
If our condition is correct, we make sure that the red LED attached to the 4th door lights up by making its status high. We make the yellow LED attached to the 1. door turn off by making its status low.
Then we add the code block by repeating 10 times from the Control menu and change the value 10 to 4.
In this section, we will change the angle of the servo motor to make it wave.
Repeat 4 times inside the code block, first we make the angle of the servo motor to 0. We hold for 0.5 seconds and make the angle of the servo motor 90. Then we wait 0.5 seconds again.
We will get the image of waving hands by moving at these angles.
If the condition is not correct, we make the angle of the servo motor 135 degrees, which is the initial value. Then we make the yellow LED attached to the 1st door turn high by making it high. 4. We ensure that the status of the red LED attached to the door is low.
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 are installing the 9V battery.
When the robot does not detect any movement in front of it, it will stand still and the yellow LED will light.
When the robot detects a motion (you can put your hand in front of the distance sensor)
The red LED blinks, the servo motor will run. This way, the robot will appear to be waving.
WITH PINOO SETS, CHILDREN CAN DO HUNDREDS OF PROJECTS WITH MATERIALS THAT CAN COMFORTABLY AT HOME.