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

  How many more kilowatts can alternator supply

An alternator is supplying a load of 300 kW at a p.f. of 0.6 lagging. If the power factor is raised to unity, how many more kilowatts can alternator supply for the same kVA loading ?

  Determine the high-pressure turbine work per unit mass

The temperature of steam at the inlets of both turbines is 500°C, and the enthalpy of steam is 3185 kJ/kg at the exit of the high-pressure turbine, and 2247 kJ/kg at the exit of the low-pressure turbine. Disregarding the pump work, determine the w..

  For network of given figure find the currents i1 and is

For the network of given figure: - Find the currents I1 and Is. -  Find the voltages Vs and V3.

  How the power varies with lsb changes

Using a 10-V DAC followed by an amplifier with a high-current output, calculate the settings from minimum to maximum heat dissipation, and how the power varies with LSB changes.

  Report for levitation and induction heating project

A report for Levitation and induction heating project is required - Also I include some useful website links which give a clear understanding of the project.

  For network of given figure determine the phase relationship

For the network of given figure determine the phase relationship between the following using a dual-trace oscilloscope.

  What are the link length limits due to power and dispersion

For achieving a desired error probability, we are given that the receiver requires at least -30 dBm of power, and the maximum pulse spread must be no more than half of the bit period. The transmitted pulse has a spectral width of 0.5 nm, and the t..

  Plot the load displacement curve

Using the displacement controlled method, plot the load-displacement curve (F vs. u2 and u3). Increase the tip displacement u3 up to 1.0 m by ten equal increments.

  What current must be maintained in a square loop

What current must be maintained in a square loop ( 50 cm on a side ) to create a torque of 1.0 N . m about an axis through its center and parallel to one of its sides when a magnetic field of magnitude 70 mT is directed at 40o to the plane of the ..

  Define input variables and output variables

Describe a typical microwave oven in the framework of a discrete-state process. Define input variables, output variables, and the sequence of serial/parallel events given Figure.

  Policy of strict racial segregation imposed in south

Policy of strict racial segregation imposed in South Africa to permit the continued dominance of whites politically and economically

  Design simple bjt amplifier ckt for receiving hdtv signals

Design a simple BJT amplifier circuit for receiving the over-the-air HDTV signals. The circuit should have a voltage gain of 10-100, assuming your signal source (antenna) is connected to amp through a cable with an impedance of 75

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