



In CPR E 281, the final project that I chose to implement was the vending machine that accepts nickels, dimes, and quarters and outputs two products, A and B. The machine accepts only one coin at a time, controlled by switches SW1 and SW0. A nickel, dime, or quarter is added if SW1, SW0 = 01, 10, or 11 respectively. The vending machine cannot hold more than 35 cents. Thus, if inputting a coin would cause the total to go over this value, the total should not be updated and the coin should be rejected. Products A and B cost 10 and 25 cents respectively. A user indicates they wish to purchase these products by setting SW2 to 1 (for product A) or SW3 to 1 (for product B). If both SW2 and SW3 are set to 1, the machine dispenses the change.
​
I chose this project as it was, in my opinion, simulating a real life scenario. When I choose projects, I prefer to cater them to what I enjoy and what I could potentially work with. By doing this, I feel that it adds a level of personal value to the project.
​
​