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 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
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 MoreIn 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 MoreIn 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 MoreAn 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 MoreOften 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 MoreYou want to execute a block of code only if a particular condition is true. For example, you may want to light an LED if a switch is pressed or if an analog value is greater than some threshold. The conditional statement is one that is used often when using…
Read MoreThe 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 MoreIn the tutorial: Arduino Tutorial: 2.6 Understanding If / Else statement, we controlled two LEDs by asking the user in the Serial Monitor for a choice. If these choices are tremendous we have to make a lot of IF statements. There is a way to make this easier. We can use…
Read MoreAs 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