Skip to content

Design a parking system that can verify the password and control the gate when the entrance and exit sensors detect an approaching vehicle

License

Notifications You must be signed in to change notification settings

trista-csee/Parking_System_Moore_Machine

Repository files navigation

Contributors MIT License LinkedIn

Design a parking system that can verify the password and control the gate when the entrance and exit sensors detect an approaching vehicle

State Diagram

  • In Moore machine, the output depends only on the current state.
  • A general model of a Moore machine is shown below. Its output is generated from the state register block.
  • The next state is determined using the current input and the current state.
  • The state register is also modeled using D flip-flops.
  • Normally Moore machines are described using three blocks, one of which must be a sequential and the other two can be modeled using always blocks or a combination of always and dataflow modeling constructs.

image

Schmatic

image

  • Enlarge the left half image

  • Enlarge the right half image

Simulation

  • The entrance sensor which is activated to detect a vehicle coming, a password is requested to open the gate. image

  • If the entered password is not correct, the gate is still locked. image

  • If the entered password is correct, the gate would open to let the vehicle get in. image

  • If the current car is getting in the car park being detected by the exit sensor and another the car comes, the door will be locked and requires the coming car to enter passwords. image

  • If the entered password is correct, the gate would open to let the vehicle get in. Otherwise, the gate is still locked. image

License

Distributed under the MIT License. See LICENSE for more information.

Let's Get Social

Contact

吳華楨 Trista Wu - [email protected]

Project Link: https://github.com/trista-csee/Parking_System_Moore_Machine

(back to top)

About

Design a parking system that can verify the password and control the gate when the entrance and exit sensors detect an approaching vehicle

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published