Learn to code

Arduino Home

Lessons 1
Arduino - Getting Started
Lessons 2
Arduino - Basics
Lessons 3
Arduino - Serial Communication
Lessons 4
Arduino - Digital / Analog
Lessons 5
Arduino - Visual Output
Lessons 6
Arduino - Motor Control
Lessons 7
Arduino -LCD Displays
Lessons 8
Arduino -LCD Displays

Arduino Digital / Analog

Arduino Tutorials Digital / AnalogTeaching you by example how digital and analog input works. The Digital / Analog input tutorials will combine lessons learned from the first three chapters. We will use a button and potentiometer to explain everything. By the end of this chapter, you will be able to make use of the digitalread() 

What You’ll Learn:

In these digital() tutorials you will learn about:

  • How to use a pushbutton to control a LED
  • make a toggle switch to turn a LED on / off
  • to make use of the debounce method
  • add a counter to your pushbutton
  • having multiple states with one push
  • Read an analog input pin, map the result, and then use that data to dim or brighten an LED by PWM (Pulse Width Modulation).
  • How to control a LED with a Potentiometer