Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Internet of Things with Raspberry Pi 3

You're reading from   Internet of Things with Raspberry Pi 3 Leverage the power of Raspberry Pi 3 and JavaScript to build exciting IoT projects

Arrow left icon
Product type Paperback
Published in Apr 2018
Publisher Packt
ISBN-13 9781788627405
Length 248 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Maneesh Rao Maneesh Rao
Author Profile Icon Maneesh Rao
Maneesh Rao
Arrow right icon
View More author details
Toc

Pulse-width modulation

Before we proceed further to wire up our bot and do the programming, we will understand an important concept of PWM. In our project, PWM is used to control the speed of the DC motor.

So, what is PWM? PWM is a technique of generating an output signal from a digital source that behaves like an analog signal. It means that we can control analog circuitry or analog devices using a digital input source. This technique is used in a wide variety of applications like measurements, communication, and power control.

Let's first understand the difference between analog and digital signals.

Analog signal

An analog signal has continuous and varying value over any time interval, with infinite resolution in time...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime