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 PINS Uno, Nano, Mini 0(RX), 1(TX) Mega 0(RX), 1(TX) 19(RX), 18(TX) 17(RX), 16(TX) 15(RX), 14(TX) Leonardo, Micro, Yún Serial 0(RX), 1(TX) Uno WiFi Rev.2 Connected to USB 0(RX), 1(TX) Connected to NINA MKR boards Serial 13(RX), 14(TX) Zero SerialUSB (Native USB Port only) Connected to Programming Port 0(RX), 1(TX) Due SerialUSB (Native USB Port only) 0(RX), 1(TX) 19(RX), 18(TX) 17(RX), 16(TX) 15(RX), 14(TX) 101 Serial 0(RX), 1(TX) On...

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 of. mode: INPUT, OUTPUT, or INPUT_PULLUP. See the Digital Pins page...

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...

Read more...