MicroP lab 7 2021
.docx
keyboard_arrow_up
School
University of Arkansas *
*We aren’t endorsed by this school
Course
L004
Subject
Electrical Engineering
Date
Jan 9, 2024
Type
docx
Pages
2
Uploaded by harrisonmd16
Micro-processor Systems Design
Lab 7 Fall 2021
Purpose:
The purpose of this lab is to familiarize you with writing code using the
A/D functions.
Equipment:
1)
Computer with CCS installed.
2) Multi-meter
3) Oscilloscope.
4)
MSP-EXP430F5529LP LaunchPad
5)
UofA Daughter Board
Data Sheets:
1)
User guide for MSP-EXP430F5529LP LaunchPad
2)
Data sheet for EXP430F5529
3)
MSP 430 Assembly Language Reference Guide
4)
Schematics for UofA Daughter board
Instructions:
As you perform this lab save all your data for the report you will be
writing in the next few weeks.
You will need to have a printout of all scope
wave forms.
Start CCS and load the project created from the lab last week.
Save the project to “
yourinitials_
Lab6.asm” and store it somewhere you can
get to it.
Write the necessary subroutine to set up the Analog to Digital converter such
that a conversion is performed on AN0, AN1, AN2 and the Temperature
sensor.
Save the results of the ADC to RAM in variables named AccX, AccY,
AccZ, and Temperature.
Make sure the values of the analog input from the
accelerometer correspond to the approached RAM variables.
1)
Record the raw data from the A/D converter for the X sensor and place
it on line 1 of the display.
Display the Z sensor in “g” on the fourth
line.
Use the number format “x.x g”.
Make sure use positive and
negative numbers.
2)
Record the raw data from the A/D converter for the Y sensor and place
it on line 2 of the display.
Display the Z sensor in “g” on the fourth
line.
Use the number format “x.x g”.
Make sure use positive and
negative numbers.
3)
Record the raw data from the A/D converter for the Z sensor and place
it on line 3 of the display.
Display the Z sensor in “g” on the fourth
line.
Use the number format “x.x g”.
Make sure use positive and
negative numbers.
4)
Display the Z sensor in “g” on the fourth line.
Use the number format
“x.x g”.
Make sure use positive and negative numbers.
Put all of your screen shots, scope wave forms, data and code into the
appendix of your next report.
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Related Questions
What is 4 IR and IoT and how both technologies related to microprocessors and
microcontrollers? List FIVE (5) of them in bullet points.
arrow_forward
Show all terminals (leg connections,feeding,and output etc...) of the 741 integrated on a simple integrated image. Can you draw and show it?
arrow_forward
Q3. Briefly explain CISC and RISC processing unit architectures?
arrow_forward
Why are optoisolators normally used between the microcontrollers and the ULN2803?
a) to reduce the back emf
b) to increase the current
c) to increase the voltage
d) to optimize the current
arrow_forward
What is an MCU and what is its function?
arrow_forward
Please review the image provided.
arrow_forward
4) a) Draw a diagram showing the following circuits 1: Ring, Radial and
Spur circuits, label appropriately.
b) Sketch a TN-C earthing system. Label appropriately.
c) What is ATS?
d) List 2 transition types and explain one with a sketch, the stages of
operation.
e) List 2 modes of operation of an ATS.
arrow_forward
Explain the application of Diac, Triac, SCR and IGBT in industrial and power electronics based on its operating principle
arrow_forward
Which of the following are part of the Arduino microcomputer.
The answer could be more than one
arrow_forward
Problem #4: Consider the Programmable Array Logic PAL module below
'1' A B C D
F₁ F2 F3
1. Determine the corresponding product term per row
PRODUCT
TERMS
000000
arrow_forward
q5
arrow_forward
Create an Arduino program with the following condition.
Print the states of the potentiometer and LED in the Serial
monitor.
A. Turns LED 1 on and LED 2 off when the pot is rotated
between 25% and 50%
B.
Turns LED 1 off and LED 2 on when the pot is rotated
between 50% and 75%
C. Flashes LED 1 at 5Hz and turns, LED 2 off when the pot
is rotated less than 25%
D. Turns LED 1 off and flashes LED 2 at 5Hz when the pot
is rotated more than 75%
arrow_forward
Q. 3 Look online resources for Intel 8255A Programmable Peripheral Interface.
i. Draw neat pin diagram of 8255A.
ii. Briefly explain its usage. (not more than 2 statements)
arrow_forward
Define FACTS and write its necessity and benefits. With neat diagrams, briefly describe different type of FACTS controllers. Describe SVC and STATCOM and compare their performance.
arrow_forward
Discuss the evolution of microchips and their significance in modern electronics.
arrow_forward
VI. FILL-IN QUESTIONS:
1. Before the TRIAC is triggered on, the voltage across its main terminals is equal to the voltage.
2. When the TRIAC is triggered on, the voltage across its main terminal is about V.
3. Once the TRIAC is conducting, the gate_control the current to flow through the TRIAC.
4. The TRIAC can be turned off by reducing the current through it below its
The TRIAC can have_or__terminal voltage and be triggered on by_applied on the gate.
arrow_forward
Describe the role of microchips in embedded systems. Provide examples of industries and applications where microchips are crucial.
arrow_forward
Explain the significance of VRMs (Voltage Regulator Modules) on a motherboard and how they impact CPU performance and stability.
arrow_forward
What are fuses in the context of microcontrollers, and how do they impact device operation?
arrow_forward
Explain the concept of a motherboard's VRM (Voltage Regulator Module) and its significance in CPU power delivery.
arrow_forward
Q. 3 Look online resources for Intel 8255A Programmable Peripheral Interface.
i. Draw neat pin diagram of 8255A.
ii. Briefly explain its usage. (not more than 2 statements)
Answer you given me what book you used
arrow_forward
Q4
Table Q4 shows the mode and task that need to be implemented using
PIC18F452.
(a)
Mode Switch (SW1)
1
Press 1 time
2
Press 2 times
Table Q4
Task
Move the LED right to left and continue
back from left to right.
Control the duty cycle of PWM for the
period of 2 ms.
You are given 1 switch, 1 potentiometer and 8 LEDs, sketch the interface
between the components and PIC microcontroller.
(b)
Construct a C18 program to control the tasks in Table Q4.
(4 marks)
arrow_forward
250
200
SCC
150
7.5
100
5.0
50
2.5
25
s0
75
100
125
150
Field excitation, A
VOLTAGE REGULATION
Open-circuit voltage,
Armature short-circuit current,
arrow_forward
8:37 4 A M
Vo)
Gt LTE1
You
Just now
i) Analyse and execute the following 8051 Instructions and specify the output
and explain the contents of the registers with comments
MOV A, #92H
SWAP A
In the absence of a SWAP instruction, how would you exchange the
nibbles? Write an 8051 ALP to show the process
ii) Analyse and execute the following 8051 Instructions and specify the output
and explain the contents of the registers with comments.
CLRC
MOV A, #4FH
SUBB A#6DH
JNC NXT
CPL
A
INC
A
NXT: MOV RI,A
ADD A,RI
arrow_forward
Explain the importance of VRM (Voltage Regulator Module) on a motherboard and how it affects CPU stability and power delivery.
arrow_forward
i need the answer quickly
arrow_forward
Which of the following is a programmable peripheral interface?
Select the correct response:
82A59C
82C59A
82C37A
82C55A
arrow_forward
a) Show all the terminals (leg connections, feeding, and output etc..) of the 741 integrated on a simple integrated image.
b) Draw the summing circuit using the 741 integrated. Calculate the circuit elements required for gain to be 1.
c) Draw the difference circuit using the 741 integrated. Calculate the circuit elements required for gain to be 1.
arrow_forward
SEE MORE QUESTIONS
Recommended textbooks for you
Electricity for Refrigeration, Heating, and Air C...
Mechanical Engineering
ISBN:9781337399128
Author:Russell E. Smith
Publisher:Cengage Learning
Related Questions
- What is 4 IR and IoT and how both technologies related to microprocessors and microcontrollers? List FIVE (5) of them in bullet points.arrow_forwardShow all terminals (leg connections,feeding,and output etc...) of the 741 integrated on a simple integrated image. Can you draw and show it?arrow_forwardQ3. Briefly explain CISC and RISC processing unit architectures?arrow_forward
- Why are optoisolators normally used between the microcontrollers and the ULN2803? a) to reduce the back emf b) to increase the current c) to increase the voltage d) to optimize the currentarrow_forwardWhat is an MCU and what is its function?arrow_forwardPlease review the image provided.arrow_forward
- 4) a) Draw a diagram showing the following circuits 1: Ring, Radial and Spur circuits, label appropriately. b) Sketch a TN-C earthing system. Label appropriately. c) What is ATS? d) List 2 transition types and explain one with a sketch, the stages of operation. e) List 2 modes of operation of an ATS.arrow_forwardExplain the application of Diac, Triac, SCR and IGBT in industrial and power electronics based on its operating principlearrow_forwardWhich of the following are part of the Arduino microcomputer. The answer could be more than onearrow_forward
- Problem #4: Consider the Programmable Array Logic PAL module below '1' A B C D F₁ F2 F3 1. Determine the corresponding product term per row PRODUCT TERMS 000000arrow_forwardq5arrow_forwardCreate an Arduino program with the following condition. Print the states of the potentiometer and LED in the Serial monitor. A. Turns LED 1 on and LED 2 off when the pot is rotated between 25% and 50% B. Turns LED 1 off and LED 2 on when the pot is rotated between 50% and 75% C. Flashes LED 1 at 5Hz and turns, LED 2 off when the pot is rotated less than 25% D. Turns LED 1 off and flashes LED 2 at 5Hz when the pot is rotated more than 75%arrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- Electricity for Refrigeration, Heating, and Air C...Mechanical EngineeringISBN:9781337399128Author:Russell E. SmithPublisher:Cengage Learning
Electricity for Refrigeration, Heating, and Air C...
Mechanical Engineering
ISBN:9781337399128
Author:Russell E. Smith
Publisher:Cengage Learning