Write a program to operate the barriers

Assignment Help Electrical Engineering
Reference no: EM132203568

EXERCISE - CAR PARK

1419_figure.jpg

Consider the above diagram, FIGURE 2, of the car park. The object of this assignment is to write a program to operate the barriers to allow the cars in and out.

As you can see there is a box in which there are two condition lights for when the car park is Full, and when there are Spaces.

The entrance to the car park is on the left hand side. When a car drives into the car park there is a sensor that detects the car and this should cause the barrier to be opened to allow the car in.

On the right hand side is the exit. When a car leaves the car park it will activate a sensor inside the park to open the exit barrier.

Both the entry and exit barriers will need to be in the Up position long enough to allow the cars to enter or leave the car park. The inputs and outputs are listed as follows:

IPO = Entry Sensor                                       OPO = Entry Barrier

IP I = Exit Sensor                                         OPI = Exit Barrier

                                                                OP2 = Full Light

                                                                OP3 = Spaces Light

When writing the program it is necessary to observe the following conditions. When the car park is not full the Spaces light should be 'ON'. When the car park is full the Full light should be 'ON'. As a car enters or leaves the car park the entry and exit barriers have to be held in the Up position long enough to allow the cars to pass under the barriers.

When the program is complete and the car park graphic is displayed in Simulation mode the program is operated by pointing at the car and clicking the mouse button. You will see directional pointers left and right so point at and click the direction you wish the car to travel. When you wish a car to leave the car park point at the one you wish to leave the park and click. You should explain the operation of the program, using the documentation facility.

Reference no: EM132203568

Questions Cloud

External request for proposal to internal project : Compare and contrast the evaluation and selection of an external Request for Proposal (RFP) to an internal project.
Battle between our present self and future self : Daniel Goldstein--The Battle Between Your Present and Future Self Daniel Goldstein talks about the battle between our "Present Self" and "Future Self,"
What the researchers report about limitations of the study : For this Discussion, select one of the articles from the reading list. By indicating what the researchers report about limitations of the study
Comparing various ETL tools in market and their features : Create a table comparing various ETL tools in the market and their features.
Write a program to operate the barriers : Write a program to operate the barriers to allow the cars in and out - When a car drives into the car park there is a sensor that detects the car
Identify three risks that organization might be confronted : Identify three risks that the organization might be confronted with AND how can these risks be minimized?
What set of conditions should company lay off employees : Under what set of conditions should a company lay off employees without giving them advance notice.
Analyze challenges of using cognitive behavioral therapy : Analyze challenges of using cognitive behavioral therapy for families. Recommend effective cognitive behavioral therapy strategies for families
Compare and contrast on-the-job and off-the-job training : Compare and contrast on-the-job and off-the-job training. Use your own experiences with each to highlight the pros and cons of each.

Reviews

Write a Review

Electrical Engineering Questions & Answers

  What is the optimal decision rule at the reciever

Assume that h is a random variable with PDF. Pn(h)=0.1*d(h-1)+0.9d(h-3). n is a zero mean white gaussian noise with variance 0.5. Assume that the channel state info is available at the reciever for each of the three branches.

  What is the time rate of change of voltage across capacitor

A constant current source of 2 mA is placed across a fully discharged capacitor of 100 F. In the time period before the capacitor reaches breakdown voltage, what is the time rate of change of voltage across the capacitor in V/s

  At what values of the dangle angle q does have components

A perfect electric dipole is directed along the z-axis. Inconventional spherical polar coordinates, at what values of the"dangle angle" q does the electric field have no z-component

  Determine the nodal temperatures

Using a grid spacing of 30 mm and the Gauss-Seidel iteration method, determine the nodal temperatures and the heat rate per unit length normal to the page into the bar from the air.

  What is the magnitude of the magnetic flux density

An infinitely long wire is placed in a space with relative permeability of 9000 carrying current of 1.9 A in the +y direction. What is the magnitude of the magnetic flux density at (0.03,0,0) [meters] in units of Tesla

  Prepare the network for a hardy cross analysis

Prepare the network for a Hardy Cross analysis by making a sketch, identifying necessary loops and paths, and writing the appropriate equations.

  How much potential energy is contained in the arrangement

How much potential energy is contained in the arrangement of 1 µC charges at spherical coordinates (1m,π/2, 0), (1m,π/2,π/2), (1m,π/2, π) , and (1m,π/2,3π/2 )?

  Summarize the raw data from calibrating your salinity sensor

Complete the electrical power system for the fish tank. At the start of class, the instructor will evaluate your electrical power system according to Checklist 2, which is available on the Homework page of the class web site.

  Select appropriate values of r and c to accomplish objective

An RC electric circuit is to have a rise time of one microsecond (1 μs). Select appropriate values of R and C to accomplish this objective.

  Compute the convolution for the discrete signals

For the discrete signals defined as the following: x[0]=4, x[1]=1, x[3]=-1, x[n]=0 for all other integers n. v[0]=1, v[1]=-2, v[2]=3, v[3]=-4, v[n]=0 for all other integers n. Compute the convolution x[n]*v[n] for n

  Determine the voltage v2

Determine the voltage V2. - Determine the reading of a DMM having an internal resistance of 11 MΩ when used to measure V2.

  Find what is the size of the mass memory system

A mass memory system has 24 address lines and 16 data lines. (a) What is the size of this memory system. (b) How many 64K x 8 memory chips are needed to build this memory system.

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