Open

Coding MSP430

This project is ending in 3 days and has an average bid price of $124 USD.

Get free quotes for a project like this
Employer working
Project Budget
$15 - $30 USD
Total Bids
3
Project Description

*********

Designing and building the electronics of a vending machine. At minimum you will be responsible for 9 different inputs and 10 different LED outputs. Each input can be implemented with a switch or simple jumper wire and each output must be implemented with an LED. You will design a state machine for this system and then implement that state machine in software using the MSP430. You must use two 74LS377’s in a shift register configuration to display the output. The requirements for the project are below:

1. Accept and differentiate between money denominations (you will use switches to indicate what denomination was inserted). Signals must be properly de-bounced in software to prevent multiple entries. – 4 inputs

2. At least 4 selections should be available with the following price points: $[url removed, login to view], $[url removed, login to view], $[url removed, login to view], $[url removed, login to view] – 4 inputs

3. At any time (provided there is money credited to the user) a return change button should be able to reset the money counter while triggering an led to indicate change has been returned – 1 input and 1 output

4. Track how much money has been credited to the user using an 8 bit LED array (8 bits can display between 0 and 255, for this project we will assume that the total money credited is the decimal number divided by 100 ex: 135=$[url removed, login to view]) – 8 outputs

5. An indicator that not enough money is credited for a pushed selection – 1 output

6. System must keep track of inventory in the machine. It can be assumed that in the

initial state, the machine is full and there are five items for each of the four selector

buttons.

7. Show that an item is out of stock – 1 output

8. You may only use two pins as outputs from the MSP 430 (Hint: think shift register)

9. You will make two versions of the final software. One will perform simple polling of the

input signals. The second will use interrupts to monitor the input signals.

10. Input signals must be pull high or low with internal resistors of the MSP430.

********

*****Inputs

Nickel-----P1.1

Fifteen cent coin-----P2.0

Sixty cent coin-----P2.1

Dollar-----P2.2

Item1 ($[url removed, login to view])-----P1.2

Item2 ($[url removed, login to view])-----P1.4

Item3 ($[url removed, login to view])-----P1.5

Item4 ($[url removed, login to view])-----P1.7

Change Return-----P1.3*

****Outputs

Data Out-----P1.6

Clk Out-----P1.0

******

Develop a state diagram, a state table, circuit diagram (to build on breadboard), and write a code to program the MSP430.

Looking to make some money?

  • Set your budget and the timeframe
  • Outline your proposal
  • Get paid for your work

Hire Freelancers who also bid on this project

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online