Parking Place with Pinoo

 

Purpose of the Project: To make a parking lot project by using distance sensor and servo motor with Pinoo Control Card.

Duration: 2 lessons

Age Group: 9 years old and above

Pinoo Set: Basic Set, invention set, maker set and full set.

Benefits:

  • Learns to code Pinoo control card.
  • Learns to use the distance sensor.
  • Learns to use servo motor.
  • Algorithm building skill develops.
  • Coding skill improves.

 

Materials to be used: Mblock 3 program, Pinoo sensor card, distance sensor, servo motor module.

 

 

 

Materials Required for Design: Colored cardboard, tongue stick, scissors, box, silicone gun and silicone.

 

                                                                             

                                                    

 

Project Preparation:

  For our project, let's start by designing the road first. We will use the box when designing the road. Let's cover the box with the color you want.

  

We cover the box using silicone.

 

  

We cut the tongue sticks as above.

 

 

We place it on the box as above. (We will use the previous one to put the distance sensor and the rear one on the servo motor)

 

                      

We cut strips from the other cardboard and place them on top of the box with the other tongue stick.

 

We stick the tongue stick to the end of the servo motor.

            

We place the distance sensor and the servo motor on the top of the box.

 

 

We attach the sensors to the Pinoo board with connection cables.

 

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 sensor 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 opened window and select the "COM6" option from the page that opens.

NOTE: Since the port entries of each computer are different, the numbers can vary.

 

 

 

 

We click on the Cards tab.

 

 

We select the "Arduino Nano" card option used by the Pinoo sensor card from the window that opens.

 

  

We click on the Extensions tab.

 

 

 

 

 In the window that opens, we select the extension "Pinoo" of the sensor card we use.

 

 

We click on the Connect tab.

 

We click on "Firmware Update" from the window that opens.

 

Coding part:

  

  

We print the value of the distance sensor with the green flag on the screen.

 

  

If the distance value is less than 10, we write the above codes so that the angle of the servo motor is 180, if not 90.

 Values ​​may change according to the angle you attach the servo. Please try and settle.

 

  

In order to load our codes to the Pinoo card, we start the event with the "Pinoo Program" command and delete the codes we wrote to show the distance value on the screen.

  

 

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 sensor card.

We click on the "Close" button after the "Download Finished" text appears. After the installation is finished, the battery compartment is inserted and the project is run.

 

  

We put a battery in the Pinoo board and put it in the box and close it.

 

Working Status of the Project:

 

The barrier will remain closed until the distance sensor detects something.

 

 

When the distance sensor detects something, the barrier will open and the transition will be known.

 

Prepared by: Betül ARSLAN

 

With Pinoo sets, children can make hundreds of projects with materials they can easily find in their homes.