Connect with us

Alternative to state machines question

Discussion in 'Electronics Homework Help' started by malsch, Apr 29, 2011.

Scroll to continue with content
  1. malsch


    Apr 29, 2011
    I have designed a simple vending machine using Moore state machines which outputs sweets or the money if you insert more than the cost of the sweets.

    Now i have to criticize the use of a state machine when used in such a vending machine and have to suggest and alternative implementation which would give more versatility to the system.

    I really don't know how to continue from here. Any help would be greatly appreciated

  2. Laplace


    Apr 4, 2010
    Suppose the price of some of the selections were to change. How would you handle that with a state machine? Was your implementation of the state machine done in hard-wired logic? Could your logic be used with different configurations of vending machine with the specific behavior modified by stored parameters to save money? Can your state machine also be used to drive an LED display showing the money currently inserted? What alternate implementation could do all of these things?
  3. malsch


    Apr 29, 2011
    yes i was thinking a microproccessor based system. 10x for your help
  4. poor mystic

    poor mystic

    Apr 8, 2011
    ...of course a microprocessor is nothing but a giant (tiny?) Mealy state machine anyway, which has so many proliferations of state available to it that we forget it is a state machine and start to think of it as actually being able to "do" things.
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Electronics Point Logo
Continue to site
Quote of the day