41081 Chapter Notes - Chapter 7: Comparator, Pulse-Width Modulation, Duty Cycle

37 views2 pages
5 Jun 2018
School
Department
Course
Professor
Chapter 7 Peripherals
Pulse Width Modulation
A periodic signal is where the pattern repeats.
The duty cycle is the percentage of time the signal is high during the period. A signal
with a duty cycle of 50% is called a square wave.
A pulse width modulator (PWM) is a programmable component that generates
pulses to achieve a specified period and duty cycle.
A use of a PWM is to control a DC motor. The motor will spin when the input is 1 and
coast when the input is 0. A PWM can be used to achieve the desired spinning
speed.
O aveage, a PWMs output i tes of eegy, is euivalet to the output’s duty
cycle.
UARTs
To conserve limited output pins, microcontrollers typically include a hardware device
called a UART that automatically transmits 8 bits of data serially over a single pin.
UART stands for Universal Asynchronous Receiver/Transmitter
When dealing with UARTs, receive is written as rx and transmit is written as tx.
The UART ust e ativated y the uild i RIM“ futio UARTon().
Analog-Digital Conversion
An analog-to-digital converter (ADC) converts an analog signal to a digital signal,
which a microcontroller program can use.
An analog signal is a voltage whose value varies continuously over time.
A digital signal is a series of bits whose binary values represent the voltage level at a
given time.
A mixed-signal device has a mix of analog and digital inputs and outputs.
find more resources at oneclass.com
find more resources at oneclass.com
Unlock document

This preview shows half of the first page of the document.
Unlock all 2 pages and 3 million more documents.

Already have an account? Log in

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents