You are on page 1of 13

Program Name and Code: CO (CO5I) Academic Year :2020-2021

Course Name and Code: AJP(22517) Semester : 5th

A Project On Traffic signal


MICRO PROJECT REPORT
Submitted in MAR 2021 by the group of .5(five).students
S
r. Roll No Enrollment
Full name of Student
N No
o
1 3117 1814320025
Ritul Prashant Borse
2 3114 Rajshri Sainath Patel 1814320018
3
3120 Poonam Dilip Mali 1814320030

4 3127 Mohini Yogesh Sonawane 1914320006


5 3115 Shubhada pramod Bagale 1814320019

Under the Guidance of Miss.P.R.Sathe


in
3 Years Diploma Programme in Engineering & Technology of Maharashtra State Board of
Technical Education, Mumbai (Autonomous)
ISO 9001:2008 (ISO/IEC-27001:2013)

at
1432 GOVERNMENT POLYTECHNIC NANDURBAR.

1
MAHARASHTRA STATE BOARD OF TECHNICAL
EDUCATION, MUMBAI

Certificate
This is to certify that Miss.1)Ritul Prashant Borse : Roll NO:3117

2) Rajashri Sainath Patel : Roll No:3114

3) Poonam Dilip Mali : Roll No:3120

4) Mohini Yogesh Sonawane : Roll No:3127

5) Shubhada Pramod Bagale : Roll No:3115

FIVE Semester of Computer Engineering_ Diploma Program in Engineering &


Technology at 1432 GOVERNMENT POLYTECHNIC NANDURBAR, has completed the
(Micro Project) satisfactorily in Subject AJP(22517)in the academic year 2020- 2021 as
prescribed in the MSBTE curriculum of I Scheme.

1)ENROLLMENT NO: 1814320025


2)ENROLLMENT NO:18143200318
3) ENROLLMENT NO:18143200 30
4) ENROLLMENT NO:19143200 06
5) ENROLLMENT NO:18143200 19
Place: NANDURBAR

Date: 5 / 2 / 2021

Project Guide Head of Department Principal

Seal of
Institute

2
Index

Sr. No Title Page No

1 Introduction 4

2 Source code 5

Output of the program /Advantages


3 and Disadvantages 6

4 Conclusion 7

5 Literature Review and reference 8

6 Weekly Work /progress Report 9

7 Evaluation sheet 10

3
INTRODUCTION:
The program lets the user select one of three lights: red, yellow, or green. When a radio
button is selected, the light is turned on, and only one light can be on at a time No light
is on when the program starts
It has been stated that the first traffic signal to be installed in Great Britain was erected
in Westminster in 1868. It was illuminated by town gas and unfortunately for the future
development of signals of this type was demolished by an explosion. Not until 1918
were signals used again for the control of highway traffic when manually operated
three-colour light signals were introduced in New York. Some seven years later
manually controlled signals were used in Piccadilly, followed in 1926 by the first
automatic traffic signals in Great Britain, which were erected at Wolverhampton.
A road signal for directing vehicular traffic by means of colored lights, typically red for
stop, green for go, and yellow for proceed with caution. Also called stoplight, traffic
signal.
one of a set of coloured lights placed at crossroads, junctions, etc, to control the flow of
traffic. A red light indicates that traffic must stop and a green light that it may go:
usually an amber warning light is added between the red and the green

4
Source Code:
//public class TR {
//Program for implementing Traffic Signals
import java.applet.*;
import java.awt.*;
import java.awt.event.*;
/*<applet code="Signals" width=150 height=150></applet>*/
public class TR extends Applet implements ItemListener
{
String msg="";
Checkbox stop,ready,go;
CheckboxGroup cbg;
public void init()
{
cbg = new CheckboxGroup();
stop = new Checkbox("Stop", cbg, false);
ready = new Checkbox("Ready", cbg, false);
go= new Checkbox("Go", cbg, false);
add(stop);
add(ready);
add(go);
stop.addItemListener(this);
ready.addItemListener(this);
go.addItemListener(this);

public void itemStateChanged(ItemEvent ie)


{
repaint();
}

public void paint(Graphics g)


{

msg=cbg.getSelectedCheckbox().getLabel();
g.drawOval(90,40,50,50);
g.drawOval(90,100,50,50);
g.drawOval(90,160,50,50);

if(msg.equals("Stop"))
{
5
g.setColor(Color.red);
g.fillOval(90,40,50,50);
}
else if(msg.equals("Ready"))
{
g.setColor(Color.yellow);
g.fillOval(90,100,50,50);
}
else
{
g.setColor(Color.green);
g.fillOval(90,160,50,50);
}

}
}

Output:

6
Advantages:
1. Traffic control signals provide for an orderly movement of traffic.
2. They help in reducing the frequency of an accident of some special nature i.e. of right
angles accidents.
3. They intercept heavy traffic to allow other traffic to cross the road intersection
Safety.
4. They provide authority to the drivers to move with confidence.
5. They control the speed of vehicles on main as well as on secondary roads.
6. They direct traffic on different routes without excessive congestion.
7. The provide economy over manual control at the intersection.

Disadvantages:
1. Some drivers disobey these signals.
2. Increasing traffic congestion, air pollution, and fuel consumption.
3. Increase in use of less-adequate roads to avoid traffic signs.
4. Excessive delay due to time allocated by the traffic signals.

Conclusion:
As a conclusion, the controller can control the traffic movement and detect a
busy and non busy road. The overall of this project is ok but certain condition the traffic
signals is not function properly. The critical problem is about the timing.
The number one reason for traffic control systems is to ensure the safety of
those around or in traffic. A roadway system without traffic controls begets more accidents and
more injuries. Without direction, the roadway would become much more dangerous.

7
Literature review and references:
Books references:
1) Java programming Languge

Sites references:
1)www.google.com
2)www.javaTpoint
3)www.Geeksforgeeks
4)http://learnegene.blogspot.com

8
Weekly Work / Progress Report

Details of 16 Engagement Hours of the Student


Regarding Completion of the Project
Timing Sign
Wee
Durati of the
k Date Work or activity Performed
From To on in Guid
No.
hours e
Discussion and Finalization of the
1 2:00 3:00 1H
Project Title
Preparation and Submission of
2 2:00 3:00 1H
Abstracts

3 2:00 3:00 1H Literature Review

4 2:00 3:00 1H Collection of Data

5 2:00 3:00 1H Collection of Data

6 2:00 3:00 1H Discussion and Outline of Content

Rough Writing of the Projects


7 2:00 3:00 1H
Contents
Editing and Proof Reading of the
8 2:00 3:00 1H
Contents

9 2:00 3:00 1H Final Completion of the Project

Seminar Presentation, viva-vice,


10 2:00 3:00 1H
Assessment and Submission of Report

9
ANEXURANE-II

Evaluation Sheet for the Micro Project (Teachers Copy)


Academic Year: 2020-21 Name of Faculty: P.R.Sathe

Sem :-Five Program Name and Code: Computer Eng.

Course Name:AJP Course Code: 22516


Title of the Project Traffic Singnal

➢ COs addressed by the Micro Project:


(A) Major Learning Outcomes achieved by students by doing the Project:
(a) Practical Outcomes:
(b) Using
(c) Outcomes (in Cognitive domain)

(d) Outcomes in Affective Domain

➢ Comment/Suggestions about team work/leadership/inter-personal Communication (If Any):

Marks out of 6 Marks out of


for 4 for
Total
performance performance
Roll No Student Name Out
in group in Oral /
activity presentation
of 10
(D5- Col. 8) (D5- Col. 9)

3117 Ritul Prashant Borse

3114 Rajashri Sainath Patel

3120 Poonam Dilip Mali

3127 Mohini Yogesh Sonawane


3115 Shubhada pramod Bagale

( )
Signature with name and designation of the faculty member

10
11
12
13

You might also like