Analog measurements

Assignment Help Assembly Language
Reference no: EM131523

Analog Measurements

Prepare an assembly program for the correctly measures the wind direction, to a precision of 45° (N, NW, W, SW, S, SE, E, NE), using the MSP430's ADC.

Your program will output the direction using four LEDs, one each for N, E, S, and W. If the wind direction is out of the N, only the N LED can light. If the wind direction is out of the NW, both the N and W LEDs with be ON.

Note that the actual circuit interfacing to the wind vane can use the 3.6V supply on the Launchpad board itself. This seems that voltage readings provided in the table on the subsequent page need to be appropriately scaled. As per the table, a 10 kohm resistor will be used in the voltage divider.

As only one wind vane is available for use, test your code using a pot connected between ground and 3.6 V (the supply voltage for your board). The wind vane can be available in 310 for final check-out. Pots, LEDs, and resistors will be provided in 310.

Reference no: EM131523

Questions Cloud

Prepare solutions to the construction contracts : Please prepare solutions to the following questions concerning topics covered in the first half of the course
Budgets in managerial accounting : Using the information, prepare a budget for May. Consider that production wil increase to 30,000 jars of salsa, reflecting an anticipated sales increase related to a new marketing campaign.
Prepare the correct journal entries : Prepare the correct journal entries to record the transactions.
What is the amount of your scheduled payments : What is the amount of your scheduled payments?
Analog measurements : Prepare an assembly program for the correctly measures the wind direction
Create a simple shell : Create a simple shell. Basically your shell should read the line from standard input, parse the line with command and arguments, and operate the command with arguments.
Evaluate wcr expense ratios : ABC Company sells widgets in three varieties (red, yellow and blue) but has lost money for the past three years.
Implement the relative addressing mode : Write an optimal sequence of control microinstruction
Difference between the cv and the ev : The change in consumer surplus (?CS) is not "theoretically" justifiable like the CV and EV but it continues to be the most widely used measure of consumer welfare change. Explain how this can be reconciled

Reviews

Write a Review

Assembly Language Questions & Answers

  Create a assembly language subroutine

Create a assembly language subroutine MULSUM that takes an array named A containing n bytes of positive numbers, and fills two arrays, array B containing n words and array C containing n long words

  Write a function in linux assembly

Write a function in Linux assembly

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd