I NEED TO CODE FOR MSP430
- or -
Post a project like this2685
$20
- Posted:
- Proposals: 1
- Remote
- #1376820
- Awarded
Description
Experience Level: Entry
General information for the business: I need to write a program for MSP430
Description of requirements/functionality: ***** Design a state machine for this system and
then implement that state machine in software using the MSP430*****
*****REQUIREMENTS
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: $0.50, $0.80,
$1.10, $1.50 – 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=$1.35) – 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 ($0.50)----- P1.2
Item2 ($0.80)----- P1.4
Item3 ($1.10) -----P1.5
Item4 ($1.50) -----P1.7
Change Return----- P1.3*
*****Outputs
Data Out -----P1.6
Clk Out -----P1.0
OS requirements: Mac OS
Extra notes:
Description of requirements/functionality: ***** Design a state machine for this system and
then implement that state machine in software using the MSP430*****
*****REQUIREMENTS
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: $0.50, $0.80,
$1.10, $1.50 – 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=$1.35) – 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 ($0.50)----- P1.2
Item2 ($0.80)----- P1.4
Item3 ($1.10) -----P1.5
Item4 ($1.50) -----P1.7
Change Return----- P1.3*
*****Outputs
Data Out -----P1.6
Clk Out -----P1.0
OS requirements: Mac OS
Extra notes:
Leslie L.
100% (2)Projects Completed
4
Freelancers worked with
4
Projects awarded
67%
Last project
5 Dec 2016
United States
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
Is your budget negotiable?
Leslie L.01 Dec 2016yes
Tahir R.01 Dec 2016I charge $30 per hour and it's work of 3-4 work for me, is it ok?
247451
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies