[go: up one dir, main page]

0% found this document useful (0 votes)
26 views4 pages

TRAFFIC SIGNAL Using Microbit - 4 Steps

The document describes a project to create a traffic signal using a microbit in Tinkercad. It outlines the necessary components, including LEDs and resistors, and provides a step-by-step guide for connecting the components and coding the microbit to display traffic signal messages. The project cycles through green, yellow, and red lights with corresponding messages of 'GO!', 'WAIT', and 'STOP'.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
26 views4 pages

TRAFFIC SIGNAL Using Microbit - 4 Steps

The document describes a project to create a traffic signal using a microbit in Tinkercad. It outlines the necessary components, including LEDs and resistors, and provides a step-by-step guide for connecting the components and coding the microbit to display traffic signal messages. The project cycles through green, yellow, and red lights with corresponding messages of 'GO!', 'WAIT', and 'STOP'.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

TRAFFIC SIGNAL Using Microbit

By krishika m in CircuitsComputers

Introduction: TRAFFIC SIGNAL Using Microbit

HI FRIENDS ,

I made a traffic signal using microbit in tinker cad

Supplies
Components used :

* microbit

* led nos : 3

* resistor nos:3
Step 1: We Have to Place the Components

1 microbit

3 resistors

1 red colour led, 1 yellow colour led , 1 green colour led

Step 2: Connecting Led 's Cathode

We have to connect all the led 's cathode to the ground of microbit
Step 3: Connecting Led ’s Anode

connect all the led 's anode to the resistor and each resistor is connected to each pins as follows

resistor no 1 to pin no 0

resistor no 2 to pin no 1

resistor no 3 to pin no 2
Step 4: Coding for the Circuit

On start block the coding is: show string TRAFFIC SIGNAL– it displays traffic signal in the microbit
with the use of the leds.

In the forever block the coding is:

to on the digital write pin2 ( green colour led) and show GO! On the microbit

then wait for 5 sec after 5 sec off the digital write pin2 (green colour led)

then to on the digital write pin 1 (yellow colour led) and display WAIT on the microbit

and wait for 2 sec and after 2 sec to off the digital write pin 1 (yellow colour led)

then to on the digital write pin 0 ( red colour led) and to show STOP on the microbit

and to wait for 4 sec after 4 sec to off the digital write pin 0

this coding will continues in forever block

I hope you like my traffic signal project

You might also like