Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Arduino Essentials
  • Toc
  • feedback
Arduino Essentials

Arduino Essentials

By : Perea
5 (5)
close
Arduino Essentials

Arduino Essentials

5 (5)
By: Perea

Overview of this book

If you are a hobbyist who wants to develop projects based on Arduino as the main microcontroller platform or an engineer interested in finding out what the Arduino platform offers, then this book is ideal for you. Some prior knowledge of the C programming language is required.
Table of Contents (12 chapters)
close
11
Index

The analog output circuit

Once we know what is going to happen when we deal with analog outputs, I'll show you the circuit we are going to work with.

The analog output circuit

The circuit to connect an LED to a PWM pin

As you can see in the previous schematic, it's very similar to the circuit we used in Chapter 3, Interacting with the Environment the Digital Way, to deal digitally with an LED. However, in this case, we have to connect it to a PWM pin of the Arduino, pin 11 for this example, so that later in the program we can use the corresponding code to deal with it analogically.

The rest of the circuit is just the same as the blinking LED one, and we will use the same 220 Ohms resistance to limit the current that will flow through the LED to no more than 20 mA.

bookmark search playlist font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete