Advanced Arduino Programming

You might also like

Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 12

Advanced Arduino Programming

01 02
WRITING BASIC ANALOG
PROGRAM, USE OF WRITE ,ANALOG READ,
FUNCTIONS, PWM, ADC
IMPORTING LIBRARIES
Pulse Width Modulation

Controller
Different Terminologies

01 02 03
PULSE WIDTH DUTY CYCLE PWM
Pulse width
 Pulse Width (PW) is the elapsed time between the rising and falling
edges of a single pulse. 
Duty Cycle
 Duty cycle is the ratio of time a load or circuit is ON compared to the
time the load or circuit is OFF. It is expressed as a percentage of ON
time.
PWM
 PWM works by pulsating DC current, and varying the amount of time that
each pulse stays 'on' to control the amount of current that flows to a device
Analog Read
ADC
Analog To Digital Converter

You might also like