top of page

Passionflower

Purpose of the Project: To make a wheel of fortune system, using the Pinoo Control Card, a button module and a DC motor, which rotates randomly when the button is pressed, and whose task is required to be completed.

 

Duration:  2 lessons

Pinoo Set: Full Set

Age group:  7 years and older

Achievements:

  • Learns to code Pinoo control board.

  • Learns to use the button module.

  • Learns to use DC motor.

  • Develops algorithmic skills.

  • Coding skills develop.

 

 

Materials to be used:  Mblock 3 program, pinoo control card, button module, DC motor, connection cables.

 

 

 


Materials Required for Design:  Yellow green, purple, brown and orange cardboard, utility knife, scissors, wooden skewer stick, dakota for floor and passionflower, cardboard cup, popsicle stick(2 pcs), glue gun and silicone.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Project Construction:

 

For our project, we first take our dakota in our hands.

 

 

 

 

 

 

 

 

 

 

 

 

 


With the help of a utility knife, we make a round hole for our DC motor in the middle of our dakota.

We cut both of our ice cream sticks with scissors as in the picture.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

In order to balance it, we make the piece of ice cream sticks that we cut into our DC motor as a foot.

Then we fix the colored cardboards we prepared for the dakota with the help of a silicone gun.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

We place our DC motor in the hole we drilled in the dakota.

 

 

 

We will use the arrow we made with our wooden skewer stick and any color cardboard instead of the indicator.

 

 


We write the rules we want on our colored cardboards.

 

Then we fix our round wheel on the dakota.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 


We fix our cardboard glass on the dakota.

 

We fix the prepared indicator to the glass as in the picture.

 

 

We fix our button module on our cardboard cup and we have finished our design part.

 

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 Pinoo Control Board to 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 "COM6" 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 check the working status of our panda puppet with our 'Say Hello' code and our button read code under the 'On Click' code to check whether our button module is working.

 

 

 

To start the DC motor, we run it under the command "when the key is pressed". We checked the DC motor by running it at 150 speed in the forward direction.

 

 

 

 

 

 

 

 

 

 

 

 

 

 


Under the code when the green flag is clicked, if our button value is equal to 1, that is, if the button is pressed, we add the codes that enable our Dc motor to rotate at 255 rpm for 5 seconds. If our button value is 0, we add the code that our DC motor will not move, by making its speed zero.

 

 

 

In order to upload our codes to the pinoo control card, we make our event start with the "Pinoo Program" command.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

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

 

 

 

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. After the installation is finished, the battery holder is inserted and the project is run.

 

Working Status of the Project:

 

 

 

Every time we press the button, our wheel will spin for 5 seconds and show us a task that needs to be completed.

IMG_4475.jpeg
IMG_4425.JPEG
IMG_4426.JPEG
IMG_4427.JPEG
IMG_4428.JPEG
IMG_4429.JPEG
IMG_4430.JPEG
IMG_4431.JPEG
IMG_4433.JPEG
IMG_4434.JPEG
IMG_4435.JPEG
IMG_4436.JPEG
IMG_4438.JPEG
1_a8314da2-edff-4525-979d-b2d3ff93364b_large.png
pinoo_uzanti_480x480.jpg
seri_port_480x480.jpg
KART_480x480.jpg
pinooo_480x480 (2).jpg
aygit_yazilim_480x480.jpg
2.JPG
1.jpg
3.JPG
6.JPG
4.jpg
5.jpg
calisma.jpg
bottom of page