arduino-training-serial-console-day5

What is Serial Communication in Arduino

What is Serial Communication in Arduino?

Serial communication between the Arduino board and a computer or other devices. All Arduino boards have at least one serial port (also known as a UART or USART), and some have several.BOARD USB CDC NAME SERIAL PINS SERIAL1 PINS SERIAL2 PINS SERIAL3 PINSUno, Nano, Mini0(RX), 1(TX)Mega0(RX), 1(TX)19(RX), 18(TX)17(RX), 16(TX)15(RX), 14(TX)Leonardo, Micro, YúnSerial0(RX), 1(TX)Uno WiFi Rev.2Connected to USB0(RX), 1(TX)Connected to NINAMKR boardsSerial13(RX), 14(TX)ZeroSerialUSB (Native USB Port only)Connected to Programming Port0(RX), 1(TX)DueSerialUSB (Native USB Port only)0(RX), 1(TX)19(RX), 18(TX)17(RX), 16(TX)15(RX), 14(TX)101Serial0(RX), 1(TX)On Uno,...

Read more...
arduino-training-day4

Basic Functions of Arduino

Basic Functions of Arduino

Configures the specified pin to behave either as an input or an output and other basic operation.

pinMode()

Description

Configures the specified pin to behave either as an input or an output. See the Digital Pins page for details on the functionality of the pins.As of Arduino 1.0.1, it is possible to enable the internal pullup resistors with the mode INPUT_PULLUP. Additionally, the INPUT mode explicitly disables the internal pullups.

Syntax

pinMode(pin, mode)

Parameters

pin: the Arduino pin number to set the mode...

Read more...
arduino variable

What is Variable in Arduino

In short What is Variable in Arduino

A variable is a named unit of data that may be assigned a value. variable is a named location in a memory where a program can manipulate the data. This location is used to hold the value of the variable. The value of the C variable may get change in the program. variable might be belonging to any of the data type like int, float, char etc.

RULES FOR NAMING VARIABLE

Variable name must...

Read more...
arduino-lcd-connection

Arduino Display Data using IIC LCD Module

How to setup 16x2 lcd on Arduino? Its not big issue ,read full blog and watch video at the end of content. It is hard to display data using serial monitor. So if you want to display data of Arduino or given text to 16x2 Char LCD .This tutorial will help you.

Required component  :

Arduino Uno Board x 1 IIC LCD /I2C LCD .   or   I2C Display Module + 16x2 Char LCD    x 1 M to F Jumper Wire  x...

Read more...
motion sensor tutorial

Arduino PIR Motion Sensor Tutorial

PIR modules have a 3-pin connection at the side or bottom. The pinout may vary between modules so triple-check the pinout! It's often silkscreened on right next to the connection (at least, ours is!) One pin will be ground, another will be signal and the final one will be power. Power is usually 3-5VDC input. When object comes in detecting area it will return 1 from output pin otherwise it return 0. The IR sensor itself is housed in a hermetically sealed metal can to improve...

Read more...