Coder Social home page Coder Social logo

Mohamed Rashad's Projects

queen_validators icon queen_validators

validate variables and forms with pre built functions qValidator function

quickalert icon quickalert

An instantly ready, full-featured alerts for development on any platform with flutter. Enabling you to complete projects and deploy quickly. With QuickAlert, you can display animated alert dialogs such as success, error, warning, confirm, loading or even a custom dialog.

readable icon readable

collection of helpers and extensions for dart and flutter

receipts-meals icon receipts-meals

make meal its simple app to help anyone to make some receipt the app has filtering to add user for searching vegan or vegetarians or gluten and some else .

safe-bank icon safe-bank

The manager of the Safebank bank branch, located in a nearby mall, is proposing to install an embedded system to monitor the client queue in front of the tellers. The proposed system, called SBqM™, is to display various information about the status of the queue. Detailed specification of SBqM™ is as follows:  Both queue ends are equipped with a photocell. Each photocell generates a logic ‘1’ signal if nobody interrupts a light beam generated at the corresponding queue end. When the light beam is interrupted, the photocell output changes to logic ‘0’ and stays at that value until it is no longer interrupted.  Clients are supposed to enter the queue only from the back end and leaves only from the front end.  The number of people standing in the queue (waiting to be served by a teller), Pcount, and the expected waiting time in the queue before being served, Wtime, are to be displayed.  Pcount is to be incremented by only one when a client enters the queue and is to be decremented by only one when a client leaves even if a client stands in front of the light beam for a long time period.  Wtime, in seconds, could approximately be given by the formulas: Wtime (Pcount = 0) = 0, Wtime (Pcount  0,Tcount) = 3*(Pcount+Tcount-1)/Tcount where Tcount is the number of tellers currently in service (Tcount  {1,2,3}) and Wtime is rounded by ignoring the fraction part.  SBqM™ maintains binary empty and full flags that reflect the status of the queue.  A responsible person should have the capability of resetting the system. Resetting the system clears the full flag and Pcount, and the sets empty flag. The design team has met few times to decide on the following for the SBqM™ architecture:  Although the system could be modeled as a one big FSM, it was decided to decompose the system into smaller FSMs. Design reuse is also recommended. That is, one small FSM model can be repeated multiple times in the overall system model.  An n-bit up-down counter is to be used to generate Pcount. The maximum Pcount value will be (2 n - 1), with a default value of 7, where n is a generic value, with a default value of 3.  Although random logic can be used in calculating Wtime, it was decided to use a look-up table to achieve a better runtime performance. The lookup table is to be realized as a ROM. You are going to model the operation of SBqM™ and verify it via simulation.

smartlock icon smartlock

a smart door lock embedded system that uses ATmega16 to control the state of the door using a 5 number password

stop-watch icon stop-watch

Stop watch Controlled using AVR (Atmega 16), timers, 7-seg, nesting interrupts buttons.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.