Traffic Light with Pinoo

Purpose of the Project: To make the traffic light system by using green, yellow and red led modules with the Pinoo control card.

 Duration: 2 lessons

 Age Group: 7 years old and above

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


Learns to code the Pinoo control board.

Learns to use a LED module.

Algorithm building skill develops.

Coding skill improves.



Materials to be used: Mblock 3 program, Pinoo control card, red, yellow and green led module, connection cables.


Materials Required for the Design: Black cardboard, white electrical tape, tongue stick, black cardboard, scissors, silicone gun and silicone.



Project Preparation:


 For our project, we first start our black cardboard with a road view.


 We make the road and pedestrian path with the help of white band.


We cut and straighten the bottom of our tongue stick. Then we make the small piece we cut into a rectangular shape. After fixing our tongue stick, we fix the small part to support it as in the picture.


We fix our LEDs in the form of red, yellow and green with the help of a silicon gun and we finish our design part. Let's pay attention to which doors we install our leds on the Pinoo control card. (1.Door: Red Led, 2.Door: Yellow Led, 3.Door: Green Led)


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.
From the window that opens, we select the "Arduino Nano" card option used by the Pinoo control card.
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:



In order to control our LED module, we flash it with the code "Change LED status" under the "button is pressed" code.



Under the "Green Flag" code, we will repeat our code continuously, first turning on our red LED for 5 seconds and at the same time turning off our yellow and green LEDs. In the same way, we have turned on our yellow led for 1 second and turned on our green led for 5 seconds, and then turned on our yellow led for 1 second to repeat it continuously.



We right click on the "Pinoo Program" command. In the window that opens, we select the "Upload to Arduino" option.


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


Working Status of the Project:


The running state of our traffic light project.