Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
35 views1 page

Basic Arduino Serial Communication

The document explains basic Arduino serial communication using pins 0 and 1 on boards like Uno, Nano, Mini, and Mega, which are crucial for communication with a computer. It highlights the importance of using TTL logic levels and warns against connecting these pins to RS232 serial ports due to potential damage. Additionally, it describes the Serial.begin() function for setting the baud rate for data transmission.

Uploaded by

Nahid
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
35 views1 page

Basic Arduino Serial Communication

The document explains basic Arduino serial communication using pins 0 and 1 on boards like Uno, Nano, Mini, and Mega, which are crucial for communication with a computer. It highlights the importance of using TTL logic levels and warns against connecting these pins to RS232 serial ports due to potential damage. Additionally, it describes the Serial.begin() function for setting the baud rate for data transmission.

Uploaded by

Nahid
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

Basic Arduino Serial Communication

On Uno, Nano, Mini, and Mega, pins 0 and 1 are used for communication with the computer. Connecting anything to
these pins can interfere with that communication, including causing failed uploads to the board.

Serial communication on pins TX/RX uses TTL logic levels (5V or 3.3V depending on the board). Don’t connect these
pins directly to an RS232 serial port; they operate at +/- 12V and can damage your Arduino board.

Functions: begin()

Syntax
Serial.begin(speed)
Serial.begin(speed, config)
Sets the data rate in bits per second (baud) for serial data transmission. For communicating with Serial Monitor, make sure to use one of the baud rates listed in the
menu at the bottom right corner of its screen. You can, however, specify other rates - for example, to communicate over pins 0 and 1 with a component that
requires a particular baud rate

You might also like