top of page

Eye Movement

Project Purpose: Making an eye movement project using Pinoo Control Card, servo motor and potentiometer module.

Duration: 2 lessons

Age Group: 7 years and above

Pinoo Set: Pinoo Invention Set, Full Set.

Achievements:

  • Learns to code Pinoo control board.

  • Learns to use potentiometer module.

  • Learns to use servo motor.

  • Develops algorithmic skills.

  • Coding skills develop.

 

 

Materials to be used: Mblock 3 program, pinoo control card, potentiometer module, servo motor.

 

 

Materials Needed for Design: Colored cardboard (small), scissors and utility knife, box lid, marble, acrylic paint and brush, craft paper, piece of aluminum wire, forex, glue gun and silicone.

 

 

Project Construction:

 

Let's start with the eye design for our project.

 

 

We paint the marble white with acrylic paint. Then we paint a big blue round shape with blue paint. Then we paint a smaller black round shape at the midpoint of this blue round shape. We get our first eye.

 

We cut off part of the lid of the shoebox. We cover the cut piece with craft paper and silicone it.

 

We open a hole big enough for the ball to enter with a utility knife. We draw and cut a hole-sized round shape that we created from A4 paper.

 

First we draw a big circle in the middle part and a little smaller circle inside. We paint the big circle with blue acrylic paint and the inner circle with black acrylic paint. Thus, we get our 2nd Eye.

 

 

We cut a piece of colored cardboard 2x6 cm long. We silicone the cardboard piece from the back of the box to the bottom of the hole.

 

 

We silicone the servo motor in front of the cardboard.

 

 

 

 

We bend the aluminum wire piece as shown in the figure and shape it.

 

 

We silicon the aluminum wire piece we shaped to both the servo motor and the ball.

 

We cut a 20x20 cm piece of forex with a utility knife.

 

We silicone the box on the forex we cut.

 

 

 

We silicon the potentiometer module next to the box.

 

We connect the potentiometer module and the servo motor to the pinoo control card using the connection cables. We attach the potentiometer module to the 7th gate and the servo motor to the 1st gate.

 

 

We plug the usb cable into both the Pinoo card and the computer. Now we can start coding.

 

Adding Pinoo extension:

 

 

From the Extensions tab, click "Manage Extensions".

In the window that opens, we write “Pinoo” in the search engine and it is enough to say download to the result. Installed on our computer.

 

Connecting the Pinoo control board to the computer:

 

 

In Mblock 3, we click on the "Connect" tab in the upper left. In the window that opens, we click on the "Serial Port" section and select the "COM4" option from the page that opens.

NOTE: As each computer has different port entries, the numbers next to COM may change.

 

 

 

Click on the Cards tab. From the window that opens, we select the "Arduino Nano" card option used by the Pinoo control card.

 

 

Click on the Extensions tab. In the window that opens, we select "Pinoo", the extension of the control card we use.

 

 

Click on the Connect tab. Click "Firmware Update" from the window that opens.

Coding Part:

 

 

First, we write the necessary codes to see the value of the potentiometer module attached to the 7th gate on the screen. As we move the potentiometer module, we will see that the value changes on the screen.

 

 

We need to create a variable to hold this value. So we click on the Data/Block field and click on Create a Variable. Type x in the field that opens and click the OK button. We have created a variable named X.

 

 

We delete the codes we created first. We start with the Pinoo Program code block. Then we set the value of the variable x to 0.

 

 

We are adding the code block by repeating continuously.

 

 

We determine the value of the x variable as the value of the potentiometer attached to the 7th gate divided by 5.6. Because the potentiometer module reads the highest value of 1023 and the servo motor is 180. If we divide 1023 by 180, it will be approximately 5.6. So we convert it to the same value.

 

We specify the angle of the servo motor attached to the 1st door as x. So here we are coding the servo motor to rotate as it rotates with the potentiometer module.

 

 

Right-click on the “Pinoo Program” command and in the window that opens, “Install to Arduino”  We select the option.

 

 

On the page that opens, we click on the "Upload to Arduino" button, which is selected in red. Our codes are uploaded to our pinoo control card.

After the “Installation Finished” message comes, click the “Close” button.

 

Working Status of the Project:

 

 

 

 

We insert the 9V battery. We make sure that the Pinoo card is ON.

 

 

 

As you move the potentiometer module, the eye will also move.

1.JPG
Screenshot_3_480x480.jpg
11.JPG
12.JPG
13.JPG
14.JPG
15.JPG
16.JPG
16.JPG
17.JPG
18.JPG
19.JPG
20.JPG
21.JPG
22.JPG
23.JPG
24.JPG
25.JPG
26.JPG
27.JPG
pinoo_uzanti_480x480.jpg
1_a8314da2-edff-4525-979d-b2d3ff93364b_large.png
seri_port_480x480.jpg
KART_480x480.jpg
aygit_yazilim_480x480.jpg
pinooo_480x480 (2).jpg
37.png
39.png
40.png
41.png
42.png
43.png
44.png
45.png
48.JPG
49.PNG
bottom of page