top of page

Firefighter PinooBot

Project Purpose: To create a firefighter robot with pinoobot, led and servo motor using Pinoo Control Card.

Duration:  2 lessons

Age group:  7 years and older

Pinoo Set:  full set.

Achievements:

  • Learns to code Pinoo control board.

  • LED module learns to code.

  • Learns to code servo motor module.

  • Pinoobot meets the robot.

  • Develops algorithmic skills.

  • Coding skills develop.

 

Materials to be used:  Mblock 3 program, pinoobot, servo motor module, led module, connection cable

 

 

 

Materials Required for Design:  cardboard,double sided tape,silicone gun,scissors

 

         

Project Construction:

We cut two rectangular pieces of 16.5 cm X 10.5 and two square pieces of 10.5 X 10.5 from the cardboard.  

 

 

 

 

 

 

 

 

 

 

 

 

                                 

    We glue the parts to form a box with an empty base and floor.

      We cut two separate square pieces at the top of one of the square pieces of the box.

       

      We fix the led modules right under the square pieces with a silicone gun. (with their entrances facing the windows)

       

      In the other square part of the box, we cut a square piece from the bottom.

       

      We cut another rectangle measuring 16.5 cm X 10.5 from the cardboard. This will be our ceiling section.

        We cut a narrow rectangular piece of the desired length and width from the cardboard. We draw small squares on it and cut out that part. The design we made will be the ladder of our fire truck.

          We fix the ladder to the propeller of the servo motor. We fix the servo motor on our rectangular part (ceiling).

            The box we created is double-sided so that the led modules come to the back of PinooBot.  We fix it with tape.

               

              Let's make our connections. Connect one of the led modules to the purple input number 1, and the other led module to the purple input number 2.  connection cable  we connect with. We connect the servo motor module to the purple input number 4. We insert the connection cable that we will use for the connection to the computer by passing it through the window that we opened before, which coincides with the front part of the pinooBot.

                We fix the pan part on the box with double-sided tape.

                   

                  We decorate the surface of the box as we wish, in accordance with its role.

                     

                    We have completed our connections and design, now let's move on to the coding part. We will use the mblock-3 application for this. Let's connect our Pinoo Control Card to the computer with the help of the connection cable and log in to the Mblock3 application. Then let's introduce our Pinoo Control Card to the computer. To do this, we first click on the serial port option from the Connect tab. Then we choose COM3. (The number may differ depending on the computer and the port.)

                      After making the serial port connection, let's choose the card we will use from the cards tab. We are working with the Nano model of Arduino.

                        In order to add the Pinoo extension to our computer, we click on the Manage extensions option from the extensions tab. 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.

                        We come to the extensions tab again and click on Pinoo. We will write our codes with the Pinoo extension.

                          In the coding part; We get the code when we click on the Green Flag from the Events menu to start the application.

                             

                            Since all the code blocks we will write must work continuously, we get the code block from the control tab.  To stop the robot from moving at startup, we get the PinooBot Direction: Forward Speed: 0 code block from the robots tab.  While PinooBot is not moving, the red leds should blink alternately. Let's create the blinking algorithm of the leds.

                              • Light up red led on pinoo1 door(high)

                              • Red led on pinoo2 door turn off (low)

                              • wait 1 sec

                              • Red led on pinoo1 door turn off(low)

                              • Light up red led on pinoo2 door(high)

                              • wait 1 sec

                              • Red led on pinoo2 door turn off (high)

                               

                              In order to turn on the red LED connected to Pinoo1 pin, we get the code block from the robots tab to Change Pinoo LED Status: Pin Pinoo1, LED HIGH.

                                To turn off the red LED connected to the Pinoo2 pin, we change the Pinoo LED State again: Pin Pinoo1, LED HIGH command and update the Pin section as Pinoo2 and LED HIGH as LOW.

                                 

                                In order to enable the flashing of the leds in the previous stage to continue for 1 second, we get the 1 second wait code block from the control tab.  We repeat the same operations by reversing the LED states. To turn off the red LED connected to Pinoo1 pin, change Pinoo LED Status from robots tab: Take Pin Pinoo1, LED HIGH command and update LED HIGH to LOW.  pinoo2  In order to light the red LED connected to the pin, click the robots tab.  Change Pinoo LED State: Pin Pinoo1, we get the LED HIGH code block. Pin part Pinoo2  we are updating.

                                In order to enable the flashing of the leds in the previous stage to continue for 1 second, we get the 1 second wait code block from the control tab.  To turn off the red LED connected to the Pinoo2 pin, we change the Pinoo LED State again: Pin Pinoo1, LED HIGH command and update the Pin section as Pinoo2 and LED HIGH as LOW.  After the flashing of the led modules is completed, we take the PinooBot Direction:Forward Speed:0 code block from the robots tab and update the Speed section to 255 so that PinooBot can move forward.

                                 

                                 

                                While the fireman PinooBot moves, we want the ladder connected to the servo motor to move up and down.

                                  From the Robots tab, we get the Servo Motor Run: Pin (Pinoo1), Pain(0) command. We change the Pin part to Pinoo4 and the Pain part to 90. We get the "wait 1 second" command from the control tab so that the ladder stays up (at a 90 degree angle) for 1 second.

                                  In order to bring the ladder down, we get the Servo Motor Run: Pin (Pinoo1), Pain (0) command from the Robots tab. We change the Pin part to Pinoo4 and the Pain part to 0. We get the wait 1 second command from the control tab so that the ladder stays down (0 degrees angle) for 2 seconds. We update one digit to 2. In order for PinooBot to move in the right direction, we get the PinooBot Direction:Forward Speed:0 code block from the robots tab. We update the Direction section to Right and the Speed section to 255. For 1 second, we get the wait 1 second command from the control tab so that PinooBot can move in the right direction.

                                  In order for PinooBot to move backwards, we get the PinooBot Direction:Forward Speed:0 code block from the robots tab. We update the Direction section to Back and the Speed section to 255. In order for PinooBot to move backwards for 2 seconds, we get a 1 second wait command from the control tab. We update one digit to 2.

                                     

                                    After completing our codes, we place them on the ground and click the green flag to check the operation (movements) of PinooBot.  If there is no problem in the operation of our project, we need to load the codes we have written into our card in order to run our project with a power supply independent of the computer. For this, we get the Pinoo Program code from the Robots menu by throwing the code to click on the green flag that we used at the beginning.

                                    Right click on the code and click Upload to Arduino. After the installation is complete, we close the window.

                                     

                                     

                                     

                                     

                                     

                                     

                                     


                                    If there is no problem, we unplug our power cable from the computer. We power our Pinoo Control board with the help of 9v battery and battery cap. We also bring the on-off button, which is right next to the battery input, to the on position.

                                    1.jpeg
                                    Ekran_Alintisi_ae200bbb-32f6-4c56-acb9-7acf935a1484_480x480.jpg
                                    5.jpeg
                                    6.jpeg
                                    7.jpeg
                                    9.jpeg
                                    8.jpeg
                                    10.jpeg
                                    22_36f9edbf-9d44-4c15-b4c0-8bbe7f0b5393_480x480.jpg
                                    14.jpeg
                                    15.jpeg
                                    16.JPG
                                    17.jpeg
                                    22222_480x480.jpg
                                    seri_port_480x480.jpg
                                    KART_480x480.jpg
                                    1_a8314da2-edff-4525-979d-b2d3ff93364b_large.png
                                    pinoo_uzanti_480x480.jpg
                                    pinooo_480x480 (2).jpg
                                    26.PNG
                                    29.JPG
                                    31.JPG
                                    34.JPG
                                    36.JPG
                                    40.JPG
                                    42.JPG
                                    43.JPG
                                    Arduinoya_yukle_480x480.jpg
                                    bottom of page