top of page

Bluetooth Controlled  Car park

Project Purpose: To make a phone-controlled car park system using Pinoo Control Card, Bluetooth module and servo motor.

Duration:  2 lessons

Age group:  7 years and older

Pinoo Set:  Maker set and full set.

Achievements:

  • Learns to code Pinoo control board.

  • Learns to use the Bluetooth module.

  • Learns to use servo motor.

  • Develops algorithmic skills.

  • Coding skills develop.

  

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

  

 

Materials Required for Design:  Black cardboard, wooden planks, brown cardboard, scissors, popsicle stick, tongue stick, glue gun and glue.  

 

 

Project Construction:

For our project, we first start by making a parking lot out of wooden planks.

 

We fix the wooden plates with the help of a silicone gun as in the picture.

 

 

We fix our hut to our black cardboard as in the picture.

 

We cut the ends of the ice cream sticks with the help of scissors so that it is easy to fix them on the ground.

 

Then we fix our ice cream sticks, which will serve as walls, at intervals.

 


 

 

 

 

 

 

 

 

 

 

 

 

 

We cut our brown cardboard in the right sizes and stick it on the ice cream sticks.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

We make car parks with white tape.

 

 

We fix our servo motor on the side of our shed.

 

 

We fix our tongue bar parallel to the brush of our servo motor and we have completed the design part of our project.

 

 

In order to use our Bluetooth module, we download the 'Arduino Bluetooth Controller' application from the Google play store on our phone running the android operating system. Then, after opening the application, we select our HC-06 bluetooth module. Then we enter the password as '1234' and complete the matching.

 

 

 

 

 

 

 

 

 

 

 

 

Then a window appears before us, we choose the 'Switch Mode' option because we will do 2 operations, that is, opening and closing. On the next screen, click on the settings in the upper right corner. From here, we write the closing operation to be done in our codes as 0, the opening operation as 1 and confirm it.

 

 

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:

 

 

To start the servo motor, we run it under the command "when the key is pressed". Since the servo motor works between 0 and 180 degrees, we try both angles.

 

 

We add our code block that introduces the connection places of our Bluetooth module under the 'Pinoo Program' code. Since we want our barrier to stay in the closed position at the beginning, we add the code to bring it to 90 degrees. Then, if the bluetooth connection is established, we want it to read the numerical data from the bluetooth. If the incoming numerical data is equal to 1, that is, when we press the on button from the Arduino Bluetooth Controller application, bring our servo motor to 180 degrees. If it is equal to 0, that is, if we want to close the barrier, we tell our servo motor to bring it to 90 degrees.

 

Note: Servo motor angles may vary depending on how you attach the servo motor's brush. For this, it is important to try the angles in this project.

 

 

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:  

 

 

Now we can remotely control our parking barrier with the help of a bluetooth module.

IMG_4074.JPEG
IMG_4059.JPEG
IMG_4060.JPEG
IMG_4061.JPEG
IMG_4062.JPEG
IMG_4063.JPEG
IMG_4064.JPEG
IMG_4065.JPEG
IMG_4068.JPEG
IMG_4069.JPEG
Adsız.png
Adsız2.png
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
Adsız.png
1.JPG
2.jpg
3.jpg
IMG_4072.JPEG
bottom of page