12 Parking Space Problem

Status
Not open for further replies.
Here's our project for logic circuits class:

A building has 12 parking spaces. The owner of the car wants to know if there's an open space by looking at the "LED parking lot lights" displayed outside the building.

In addition, the car owner wants to know when two adjacent spaces are open as he/she does not want anyone to park next to their car. Normally, this person parks at the end of a large parking lot to avoid any scrapes or scratches.

The system must have one logic indicator to activate if two adjacent spaces become open, another logic indicator to activate if three adjacent spaces are open. The "LED parking lot lights" must also display the number of available parking spaces using seven segment displays.

Use IR transmitter/receiver to determine the presence of the car.

Any ideas on how to make the project?
 
Any ideas on how to make the project?
No the question is do you have any ideas?
Give us your thoughts and we will talk about them.
 
I'm still new to logic circuits and this is my first project involving logic circuits so I really have no idea how to do this project but here's what I think:

There are 3 outputs:
LED A - Indication that three adjacent parking spaces are emtpy
LED B - Indication that two adjacent parking spaces are empty
Seven Segment LED - Indication of how many parking spaces are empty

I should represent the 12 parking spaces as inputs that is either logic high for occupied parking, and logic low for unoccupied parking.
If there are three adjacent logic-0 the circuit will have an output to LED A and if there are two adjacent the circuit will have an output to LED B. I'm thinking of prioritizing the LED A first, if LED A is turned on LED B will not turn on. LED B will only turn on if LED A is off.

As for the seven segment LED, I'm still thinking about what to do about it.
 
Can you use sequential logic in your design (counters, shift-registers, flip-flops, etc.)? If so that could simplify the logic.

Otherwise you can use a series a 2-input NOR gates to indicate when adjacent spaces are empty.
 
I am extremely new to this and i had a play around with few logic gates, i think this would probably want some resistors to reduce the current in the circuit and instead of switches you would have a type of sensor but hey i enjoyed this
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…