# Arduino Programming Tutorial

## Comparison of Arduino boards

Nowadays there are many Arduino boards are available in the market. As of now, we have only discussed the Arduino UNO only. In this article, I have differentiated between some popular Arduino boards. Here you will find a detailed comparison between some Arduino boards. Now, the reason behind they launched different types of boards is …

Comparison of Arduino boards Read More »

## Arduino serial begin: Communication of Arduino to other devices

Arduino can communicate with other Arduino, computers, or other devices like Bluetooth, GPS, GSM, and many more. These devices communicate with Arduino using a special communication protocol called serial communication. In this post, you will learn how to start serial communication between Arduino and the computer and print Arduino messages on the computer screen. You …

Arduino serial begin: Communication of Arduino to other devices Read More »

## Trigonometry functions in Arduino

We have some trigonometry functions in the Arduino. These are sine (sin), cosecant (cos) and tangent (tan). This make our calculation even simpler. Using this we can implement some other trigonometry function also. We will see that later. Let’s  see that one by one. Sine (sin) function sin function calculates the sine of an angle …

Trigonometry functions in Arduino Read More »

## Advance I/O (input/output) in Arduino

We have some advance I/O function in Arduino which allows us to interface some external devices like shift registers, buzzer or some other sensors. Let’s see what those are. tone() noTone() pulseIn() pulseInLong() shiftin() shiftOut() So these are the function that we have in the advanced I/O category. tone() Tone function generates square wave of …

## goto and return statements in Arduino

goto and return are very important control structure in Arduino. These control structures helps us a lot in the program flow and management. Buy Arduino Amazon link (for India) Amazon link (for other countries) goto statement in Arduino goto statement transfers program flow to a labeled point in the code. It can be used to …

goto and return statements in Arduino Read More »

## Math and character functions in Arduino

There are many math functions that we can use in Arduino. These functions help us a lot in even in a complex calculation inside the Arduino. Arduino gives us some trigonometry functions also, but we will see that in any other tutorial. Let’s see the list of math functions that Arduino gives us. abs() constrain() …

Math and character functions in Arduino Read More »

## Loops in Arduino

Loops are very important control structure in any programming language. It helps to keep our code small, handy and pretty easy to write and understand. There are loops in Arduino programming language as well. How a loops works is shown below with the help of flowchart. It is the basic logic for loops. In any …

Loops in Arduino Read More »

## If, else and switch statements in Arduino

If, else and switch…case statements are very important control structure in programming languages. It provides any programming language an important property to perform a specific operation if a certain condition is met. Switch…case statement is almost same as if else statement. In this statement we check more than one condition and execute codes according to …

If, else and switch statements in Arduino Read More »

## Boolean (Logical) operators in Arduino

In previous three posts we have seen about arithmetic, relational and bitwise operators. We have one more operators left, which we will discuss in this tutorial. So, we have total four operators. Arithmetic operators Relational (comparison) operators Bitwise operators Boolean operator Arduino buying links Amazon link for India Amazon link for other countries In this …

Boolean (Logical) operators in Arduino Read More »

## Bitwise operators in Arduino

In previous two tutorials we have discussed about arithmetic and relational operator. There are following types of operator. Arithmetic operators Relational (comparison) operators Bitwise operators Boolean (logical) operator Arduino buying links Amazon link for India Amazon link for other countries In this tutorial we will see about bitwise operators. Bitwise operators Bitwise operators performs bitwise …

Bitwise operators in Arduino Read More »