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
in Arduino Basics
Arduino Basics
In case you never programmed before, there are some terms and concepts that are unfamiliar to you. Therefore it is wise to know your programming environment before you write your first line of code. Arduino programs are usually referred to as sketches; the first users were artists and designers, and…
Read More
Arduino Basics
One of the first projects made with Arduino is “how is to blink a LED”.  Many examples exist for blinking a Led with Arduino. Unfortunately, these tutorials do not have details about the coding and are very basic in their explanation. In this tutorial, I hope to help new users…
Read More
Arduino Basics
In the previous tutorial, we made our first sketch with an external LED. We declared one constant variable at the top of the program for the output pin. This tutorial will give you insight into how variables are used. We can distinguish two kinds of variables, the global variables, and the local variables.…
Read More
Arduino Basics
In the arrays tutorial, we mentioned that strings are used to store text or numbers. You can store/remember text or numbers in two ways. You can use the Arduino’s String Object, or you can use a character string. This tutorial will look at how Strings work and what their function…
Read More
Arduino Basics
An operator is a symbol that tells the compiler to perform specific mathematical or logical functions. The coding language that is used by Arduino is rich in built-in operators and provides the following types of operators Arithmetic OperatorsComparison OperatorsBitwise OperatorsBoolean OperatorsCompound Operators Arithmetic Operators Operator name Operator SymbolDescription assignment operator…
Read More
Arduino Basics
Often you would like to iterate over a series of pins and do something to each one. The for statement is used to repeat a block of statements enclosed in curly brackets. Most of the time an increment counter is used to increment and terminate the loop. You can use…
Read More
Arduino Basics
The key to programming is to make a few lines of code that do as much work as possible. With efficient coding, you will save not only time but also eliminate mistakes that occur while coding. In this tutorial, you will learn what arrays are and how to use them.…
Read More
Arduino Basics
In the if statement tutorial, we explained how you could control a program’s flow by testing conditions in your code. So, Like if statements, switch statements control the program’s flow by allowing the programmer to specify the code that should be executed in various conditions. When a case statement is…
Read More
Arduino Basics
As stated in the lesson about String (with capital S), you can use the String class, a special data type for Arduino ID, or make a string out of an array of characters. The characters in the array are formatted according to the ASCII characters.  Another important element is that…
Read More
Previous Post
Using Switch Statements in Arduino
Menu