The following tutorials cover the Arduino’s ability to sense digital and analog inputs and to respond to these inputs. The upcoming tutorials introduces techniques that you can use for these inputs. We explore the use of a digital input by using the example of a button. Furthermore, we will look…
Read MoreLessons 1
Arduino - Getting Started
Lessons 2
Arduino - Basics
Lessons 3
Arduino - Serial Communication
Lessons 4
Arduino - Digital / Analog
Arduino - 4.5 Published Soon
Lessons 5
Arduino - Visual Output
Lessons 6
Arduino - Motor Control
Lessons 7
Arduino -LCD Displays
Lessons 8
Arduino -LCD Displays
In this tutorial, you will learn how to control a LED by pushing a button. We have learned in earlier tutorials. how to automatically blink an LED with Arduino. That program will run as long as there is a power for the Arduino. Let’s go a bit further and try…
Read MoreIn the previous tutorial, we already learned how to turn a LED on with a button. The problem arises that if the button is unpressed the LED turns off. If you would like to keep the LED on after the button is pressed we need to remember the state of…
Read MoreIn this tutorial, we will control 3 LEDs with a single button switch. I have added 2 new LEDs to pins 9 and 8. Every time the button is pressed the switch is closed and sends a HIGH signal. If this happens, the LED will light up in a row.…
Read MoreIn this Arduino tutorial, you will learn how to reliable detect if a pushbutton is open or closed. Pushbuttons can generate spurious open/close transitions when they are pressed due to mechanical or physical issues. These transistion may be read by the Arduino as multiple presses. To overcome this problem we…
Read MoreIn this tutorial, we will read the values of a keypad without using libraries. This tutorial is for those who want to understand how the keypad works. Firstly, we will learn how the keypad works. In other words, how a keypad detects key presses. An easy example is given by…
Read MoreIn this tutorial, we will use the analogRead() function to read the voltage on a potentiometer. All Arduino Boards have a 10-bit analog to the digital converter. This means that it will map input voltages between 0 and the operating voltage (5V or 3.3V) into integers between 0 and 1023.…
Read MoreRecall that analogRead() returns a value between 0 and 1023. If you don’t then please read Reading analog values. We will use the input value we are going to read from a potentiometer as the output value for the analogWrite() function. In the last tutorial, we divided the value received…
Read MoreLogic Level Shifting (from 3.3V to 5V) Arduino boards and other components operate on a range of different voltages. Many microcontrollers work with 5V. However, recently, new controllers have come into the market that operates at 3.3V while many components run on 3.3V. Sometimes you will need to convert the…
Read More