Arduino Programming Tutorial

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 »

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 …

Advance I/O (input/output) 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 »