Hand Shaking Robot With Pinoo

by pinoorobotics in Circuits > Arduino

197 Views, 2 Favorites, 0 Comments

Hand Shaking Robot With Pinoo

Pinoo ile El Sallayan Robot - Hand Waving Robot with Pinoo

Project Purpose: To make a robot project with Pinoo Control Card using servo motor, LED and button modules

Duration: 2 lessons

Age Group: 7 years and older

Benefits:

• Learns to code Pinoo control card.

• Learns to use a LED module.

• Learns to use button module.

• Learns to use servo motor.

• Improves the skill of setting up algorithms.

• Improves coding skill.

Supplies

Required Materials: Mblock 3 program, Pinoo control card, button module, 2 LED modules, servo motor

Materials Required for Design: 2 medium boxes, scissors and a utility knife, colored cardboard, 9 cardboard cups, silicone gun and silicone.

Desing (Part1)

7.JPG
9.JPG
10.JPG
11.JPG
12.JPG
13.JPG
14.JPG
16.JPG
17.JPG

  • For our project, let's start by designing a robot.
  • First we cut the back of the box. We cut the colored cardboards and cover the box with silicone.
  • Then we cut the colored cardboards and cover the second box by silicon.
  • We put 3 cardboard glasses inside each other and put them into silicone. Then we cover the outside with colored cardboard by silicon. We do the same process once more. We make the feet of robot design.
  • We silicone the feet we make from the boxes we cover, under the box that we do not cut.
  • We put 3 cardboard glasses inside each other and we silicone them. Then we silicon the outside so that there is no open area left. We make the neck of the robot.
  • We silicone the neck part on the top of the box.
  • We cut 2 small circles from colored cardboard.
  • We silicone the circles on the front of the box, the back of which we cut.
  • We drill holes with a utility knife so that the LED modules can enter.
  • We place 2 LED modules in the holes we drilled.
  • We silicone the face of the robot to the neck.

Desing (Part2)

18.JPG
19.JPG
20.JPG
23.JPG
21.JPG
22.JPG
25.JPG
24.JPG
26.JPG

  • We cut the rectangular pieces from the back of the box and silicon it with colored cardboard. We fold it evenly on 2 sides.
  • We bend well at the folded points. Thus, we get the arms of the robot.
  • We silicone one arm on the left side of the robot's eye.
  • Instead of the other arm, we first silicon the servo motor horizontally. We will silicon the tip later.
  • We silicon the button module on the body of the robot.
  • We install the connecting cables of the led modules. We silicone it to keep it smooth.
  • We install the connection cables of the servo motor and button module.
  • We attach the servo motor to the 1st door, the button module to the 2nd door and the led modules to the 3rd and 4th door.
  • We connect the USB connection cable to the Pinoo control card and to the computer. Now we can start coding.

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

11_754e136d-c518-4324-9ef6-23a3bd16f44e.png
15_2fd09f6a-e5b7-4243-9ebe-831dd48b2e4b.png
16_14196872-83ce-4a9e-bee7-f1caec1ef232.png
17_38a5715f-1a95-49ed-85a0-118cb8e590a3.png
18_fc21da88-f4b1-4cdf-9f6d-eab1c5c140b7.png

  • First, when the green flag is clicked, we make the angle of the servo motor 90 degrees.
  • We lay the tip of the servo motor horizontally.
  • In this arm parallel to the other arm, we silicon the end of the servo motor.
  • When all the pieces are placed, they will look like the figure.
  • We delete the other codes and place the code block under the Pinoo Program code block over and over again.
  • If not, we add the condition structure and create our condition. Our condition is that the value of the button module mounted on the second door is equal to 1. If it is equal to 1, it is printed.
  • If our condition is correct, we make the status of the LED modules attached to the 3rd and 4th door low.
  • After turning off the LEDs, we add the code block repeat 3 times. We change the angles of the servo motor in intervals. So he will be waving.
  • If the condition is not correct, we make the status of the led modules high and adjust the angle of the servo motor.
  • 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 control card. We click on the "Close" button after the "Download Finished" text appears.

Working Status of the Project

38.PNG
39.PNG

  • We are installing the 9V battery.
  • When not pressed, the leds will light, when the button is pressed, the leds will turn off and the servo motor will run and wave.