Cute Cat with Pinoo
Project Purpose: To make a cute cat project by using Pinoo Control Card and Led and Ldr modules.
Time: 2 lessons
Age group: 7 years and older
Pinoo Set: Basic Set, invention set, maker set and full set.
Benefits:
- Learns to code the Pinoo control board.
- Learns to use the LED module.
- Learns to use the Ldr module.
- Algorithm building skill develops.
- Coding skill improves.
Materials to be Used: Mblock 3 program, pinoo control card, 2 led modules, ldr module.
Materials Required for Design: Cola bottle, craft paper, cardboard, scissors and utility knife, colored cardboard, ice cream stick, piece of aluminum wire, scissors, small basketball ball, silicone gun and silicone.
Project Preparation:
Let's start with making a cat figure for the project design.
We cut the cola bottle to make the cat's body.
Let's cover the pet bottle with handcrafted paper.
We give the cardboard a cat shape and cut it.
We cut a round piece of cardboard.
We place it on the cardboard piece and drill holes for the LEDs.
We draw a cat face.
We place the LEDs in the eye area and stick them with a silicone machine.
We install the connecting cables of the LEDs.
Face to the front of the body where we created the cat figure We stick it with a silicone machine.
The cat on the cardboard We stick it with a silicone machine.
From the remaining craft paper we cut 4 pieces and make one side an oval.
The pieces we cut into feet We stick it with a silicone machine.
We drill the Ldr module sized hole in the upper part.
Ldr module We stick it with a silicone machine.
We cut a tail shape out of cardboard and a piece of cardboard that will also be a support.
Tail to cardboard We stick it with a silicone machine.
Servo motor as in the figure We stick it with a silicone machine. We also attach the connection cable to the pinoo board.
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:
We make the angle of the servo motor 90 degrees.
We fix the tail to the end of the servo motor with a silicone machine.
When the green flag is clicked, we run it to see the light value.
We delete old codes. We start with the Pinoo program code block. If the light value is less than 150, we create our condition.
If the light value is less than 150, we turn on the LEDs and adjust the angle of the servo motor. After 1 second, we turn off the LEDs and adjust the angle of the servo motor.
(Her eyes will light up when she is loved, her tail will swing)
If the light value is not less than 150, we turn off the LEDs 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 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 she is loved, her eyes will light up and her tail will move.
When we take our hand, his eyes will go out and his tail will stop.