Aimthis assignment is designed to apply your knowledge on

Assignment Help C/C++ Programming
Reference no: EM13371666

Aim

This assignment is designed to apply your knowledge on microcontroller to build a traffic light system. You are asked to solve problems related to software programming, hardware connection scheme, timing diagrams, system testing and evaluation of the whole design.

Mini-Traffic Lights for T-Junction

Your task is to build traffic lights for a T-junction (Fig. 1(a)). The traffic lights you will design are going to be evaluated against the task of controlling the normal flow of cars as well as giving due permission to pedestrians who are waiting to cross the road.

324_Build a traffic light system.png

For this proof-of-concept design, use LEDs (red, amber, green) to represent the red, amber and green traffic lights.

Main functions of the system are described as follows:

When there is no pedestrian:

1) Cars coming from any direction have the same priority levels;

2) When a green light is given to a car, the car can go to any other directions of the T-junction except making a U-turn;

3) The maximum waiting time for any front car is 1 minute;

4) Once lighted, the duration time for the green light is 10 seconds;

5) Change the lighting from red to amber smoothly and vice versa;

6) Change the lighting from amber to green smoothly and vice versa;

7) Green and red lights shall not be on at the same time;

8) Avoid crashes;

9) The red lights for pedestrians shall be on;

When there are pedestrians:

1) Pedestrians might press the button on the puffin crossing (Fig. 1(c)) to indicate that they wish to cross the road;

2) When button pressed, turn on one amber LED on the puffin crossing immediately to indicate the acceptance of the pedestrian's request;

3) If possible, switch on the green light on the puffin crossing to give pedestrians permission to cross the road;

4) Once lighted, the duration time for the green light is 5 seconds;

5) When a green light is on, switch on the buzzer; when the green light is off, switch off the buzzer;

6) For safety reasons, when pedestrians are crossing the road, there shall be no car-traffic.

To start the design, one route is to decompose the project into several steps:

1) Design one RAG (red/amber/green) unit (cars only);

2) Design one puffin crossing unit (pedestrians only) ;

3) Combine one RAG unit and one puffin crossing unit;

4) Build the whole system with 3 RAG units and three puffin crossing units.

To work on this project, one needs a STM32 development board, bread-boards, LEDs, resistors and many jump wires. All materials can be obtained from the store of the school, including video cameras to film your brief demonstration.

You can work on this project by yourself, or you can team up with another student of this module. But you can only have one team and every team can only have 2 members, i.e., you can't have a team with 3 members or more. For every team, there is one team-leader and one member.

If you decide to build a team to work on this mini-project, be careful in selecting your team member. Because you both have to sign an agreement contract (attached) and you two will get the same marks for this assignment, including the main report and the lab demonstration/test.

Reference no: EM13371666

Questions Cloud

Bull explain and critique a range of relevant theories and : bull explain and critique a range of relevant theories and concepts of the strategic change management and leadership
This is a client server monitoring system project : this is a client server monitoring system project design.first in the server side the 1a program is my own and i have
Question 1identify a problem or challenge in your workplace : question 1identify a problem or challenge in your workplace which requires an organization wide intervention. what
Its a rule-based application which must be written in clips : its a rule-based application which must be written in clips do you have programmers experienced with it? need them to
Aimthis assignment is designed to apply your knowledge on : aimthis assignment is designed to apply your knowledge on microcontroller to build a traffic light system. you are
In this final unit you will synthesize what you have : in this final unit you will synthesize what you have learned about financial and performance management throughout the
Name and briefly describe one type of policy in which : name and briefly describe one type of policy in which intertemporal preferences over consumption or production is
Massive cigarette advertising on television was commonplace : massive cigarette advertising on television was commonplace until laws prohibiting such advertising were introduced in
2 the first equation to be estimated is fxi b0 b1 uri : 2. the first equation to be estimated is fxi b0 b1 uri uiwhere u is a disturbance term and the i subscript

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Accepts a pointer to a c-string as an argument

Write a function that accepts a pointer to a C-string as an argument and capitalizes the fist character of each sentence in the string. For instance, if the string argument is "hello

  Write a single statement that prints a number

Write a single statement (in C++ language) that prints a number at random from each of the following set.

  Machine that i would like to know

Let's say I have a machine that I would like to know, on average, how much it runs throughout a given day through a percentage value. Every 30 seconds, I will have a device to record the current temperature of the machine. If the machine increases..

  The rpn calculator program

The RPN calculator program should read the RPN expression as an entire line from stdin.Input will consist of a single line. After completing the evaluation of the expression, the program should print the contents of the entire stack, starting with th..

  Users to input two forces by their components

write a programm to ask users to input two forces by their components of (Fx1,Fy1) and (Fx2,Fy2) from the keyboard.call twice the function to display both magnitude and direction angle of two forces on the screen.add two forces and display both magni..

  Function alter with two parms passed by reference

Write a function alter with two parms passed by reference: x and y. alter changes the value of x to x+y and changes the value of y to x*y. Write a main function to read in two integers, print the two integers, call the function alter using the two..

  Produce a top-level design for your program

You are required to code the program using the C++ Programming Language. Your program should be properly laid out and should be modular, making sure that software engineering aspects of modularity and reusability as fully considered.

  Write a program to find out all 3-digit

Write a program to find out all 3-digit Narcissistic number. A number n is a 3-digit Narcissistic number if: (a) 100   n   999, (b) The sum of its own digits each raised to the power of 3 equals to itself. For example: 153 is a Narcissistic number ..

  Write a program that uses 3 input files and 3 output files

write a program that uses 3 input files and 3 output files.

  Objective1 to give students practice in calling and writing

objective1. to give students practice in calling and writing their own functions.2. to give students practice in

  Create a text adventure game that uses pointers

To get full credit for this program, you will need to use a pointer to a pointer to a string object, and utilize at least one constant pointer. You must use the pointers in if statements to decide if you win or lose the gold, and you must use func..

  Implemented a regular binary search tree

In Computer Science I, you implemented a regular binary search tree. Due to your busy schedule, you've decided that it would be best if you could simply reuse this code without any changes. You realize that your code would ONLY work for Arup's ass..

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd