Reference.Serial History

Hide minor edits - Show changes to output

November 13, 2012, at 04:18 PM by Cristian -Vacuum- Maglie -
Changed lines 13-14 from:
The [[/Main/ArduinoBoardDue | Arduino Due]] has three additional 3.3V TTL serial ports : '''Serial1''' on pins 19 (RX) and 18 (TX); '''Serial2''' on pins 17 (RX) and 16 (TX), '''Serial3''' on pins 15 (RX) and 14 (TX). Pins 0 and 1 are also connected to the corresponding pins of the ATmega16U2 USB-to-TTL Serial chip, which is connected to the USB debug port. Additionally, there is a native USB-serial port on the SAM3X chip, ''SerialUSB'''.
to:
The [[/Main/ArduinoBoardDue | Arduino Due]] has three additional 3.3V TTL serial ports: '''Serial1''' on pins 19 (RX) and 18 (TX); '''Serial2''' on pins 17 (RX) and 16 (TX), '''Serial3''' on pins 15 (RX) and 14 (TX). Pins 0 and 1 are also connected to the corresponding pins of the ATmega16U2 USB-to-TTL Serial chip, which is connected to the USB debug port. Additionally, there is a native USB-serial port on the SAM3X chip, ''SerialUSB'''.
November 13, 2012, at 04:18 PM by Cristian -Vacuum- Maglie -
Changed lines 13-14 from:
The [[/Main/ArduinoBoardDue | Arduino Due]] has three additional 3.3V TTL serial ports : '''Serial1''' on pins 19 (RX) and 18 (TX); '''Serial2''' on pins 17 (RX) and 16 (TX), '''Serial3''' on pins 15 (RX) and 14 (TX). Pins 19 and 18 are also connected to the corresponding pins of the ATmega16U2 USB-to-TTL Serial chip, which is connected to the USB debug port. Additionally, there is a native USB-serial port on the SAM3X chip, ''SerialUSB'''.
to:
The [[/Main/ArduinoBoardDue | Arduino Due]] has three additional 3.3V TTL serial ports : '''Serial1''' on pins 19 (RX) and 18 (TX); '''Serial2''' on pins 17 (RX) and 16 (TX), '''Serial3''' on pins 15 (RX) and 14 (TX). Pins 0 and 1 are also connected to the corresponding pins of the ATmega16U2 USB-to-TTL Serial chip, which is connected to the USB debug port. Additionally, there is a native USB-serial port on the SAM3X chip, ''SerialUSB'''.
October 22, 2012, at 02:57 AM by Scott Fitzgerald -
Changed lines 13-14 from:
The [[/Main/ArduinoBoardDue | Arduino Due]] has three additional 3.3V TTL serial ports : '''Serial1''' on pins 19 (RX) and 18 (TX); '''Serial2''' on pins 17 (RX) and 16 (TX), '''Serial3''' on pins 15 (RX) and 14 (TX). Pins 19 and 18 are also connected to the corresponding pins of the ATmega16U2 USB-to-TTL Serial chip, which is connected to the USB debug port.
to:
The [[/Main/ArduinoBoardDue | Arduino Due]] has three additional 3.3V TTL serial ports : '''Serial1''' on pins 19 (RX) and 18 (TX); '''Serial2''' on pins 17 (RX) and 16 (TX), '''Serial3''' on pins 15 (RX) and 14 (TX). Pins 19 and 18 are also connected to the corresponding pins of the ATmega16U2 USB-to-TTL Serial chip, which is connected to the USB debug port. Additionally, there is a native USB-serial port on the SAM3X chip, ''SerialUSB'''.
September 24, 2012, at 07:47 PM by Scott Fitzgerald -
Added lines 13-14:
The [[/Main/ArduinoBoardDue | Arduino Due]] has three additional 3.3V TTL serial ports : '''Serial1''' on pins 19 (RX) and 18 (TX); '''Serial2''' on pins 17 (RX) and 16 (TX), '''Serial3''' on pins 15 (RX) and 14 (TX). Pins 19 and 18 are also connected to the corresponding pins of the ATmega16U2 USB-to-TTL Serial chip, which is connected to the USB debug port.
Changed line 54 from:
(:tableend:)
to:
(:tableend:)
September 19, 2012, at 02:14 PM by David A. Mellis - Leonardo: RS232 -> TTL (5V) serial
Changed lines 13-14 from:
The Arduino Leonardo board uses '''Serial1''' to communicate via RS232 on pins 0 (RX) and 1 (TX). '''Serial''' is reserved for USB CDC communication. For more information, refer to the Leonardo [[/Guide/ArduinoLeonardo | getting started]] page and [[/Main/ArduinoBoardLeonardo | hardware page]].
to:
The Arduino Leonardo board uses '''Serial1''' to communicate via TTL (5V) serial on pins 0 (RX) and 1 (TX). '''Serial''' is reserved for USB CDC communication. For more information, refer to the Leonardo [[/Guide/ArduinoLeonardo | getting started]] page and [[/Main/ArduinoBoardLeonardo | hardware page]].
June 02, 2012, at 08:56 PM by David A. Mellis -
Added line 22:
Added line 39:
June 02, 2012, at 08:55 PM by David A. Mellis -
Changed lines 38-39 from:
* [[Reference/SerialEvent | SerialEvent]]()
to:
* [[Reference/SerialEvent | serialEvent]]()
June 02, 2012, at 08:54 PM by David A. Mellis -
Changed lines 13-14 from:
The Arduino Leonardo board uses '''Serial1''' to communicate via RS232 on pins 0 (RX) and 1 (TX). '''Serial''' is reserved for USB CDC communication through the [[Reference/MouseKeyboard | Mouse and Keyboard libraries]]. For more information, refer to the Leonardo [[/Guide/ArduinoLeonardo | getting started]] page and [[/Main/ArduinoBoardLeonardo | hardware page]].
to:
The Arduino Leonardo board uses '''Serial1''' to communicate via RS232 on pins 0 (RX) and 1 (TX). '''Serial''' is reserved for USB CDC communication. For more information, refer to the Leonardo [[/Guide/ArduinoLeonardo | getting started]] page and [[/Main/ArduinoBoardLeonardo | hardware page]].
April 17, 2012, at 11:34 PM by Scott Fitzgerald -
Added line 22:
* [[Serial/Available | available]]()
Changed lines 25-27 from:
* [[Serial/Available | available]]()
* [[Serial/Read | read]]()
* [[Serial/Peek | peek]]()
to:
* [[Serial/Find | find]]()
* [[Serial/FindUntil | findUntil]]()
Added line 28:
* [[Serial/ParseFloat | parseFloat]]()
Added line 30:
* [[Serial/Peek | peek]]()
Added lines 33-36:
* [[Serial/Read | read]]()
* [[Serial/ReadBytes | readBytes]]()
* [[Serial/ReadBytesUntil | readBytesUntil]]()
* [[Serial/SetTimeout | setTimeout]]()
April 16, 2012, at 08:23 PM by Scott Fitzgerald - added parseInt()
Added line 28:
* [[Serial/ParseInt | parseInt]]()
Added line 35:
* [[Tutorial/ReadASCIIString]]
April 10, 2012, at 06:28 PM by Scott Fitzgerald - added if(Serial)
Changed line 21 from:
* [[Serial/Serial | Serial]]
to:
* [[Serial/IfSerial | if (Serial)]]
April 04, 2012, at 12:35 AM by Scott Fitzgerald -
Added line 21:
* [[Serial/Serial | Serial]]
April 03, 2012, at 03:57 PM by Scott Fitzgerald -
Changed lines 13-14 from:
The Arduino Leonardo board uses '''Serial1''' to communicate via RS232 on pins 0 (RX) and 1 (TX). '''Serial''' is reserved for communication with the [[Reference/MouseKeyboard | Mouse and Keyboard libraries]]. For more information, refer to the Leonardo [[/Guide/ArduinoLeonardo | getting started]] page and [[/Main/ArduinoBoardLeonardo | hardware page]].
to:
The Arduino Leonardo board uses '''Serial1''' to communicate via RS232 on pins 0 (RX) and 1 (TX). '''Serial''' is reserved for USB CDC communication through the [[Reference/MouseKeyboard | Mouse and Keyboard libraries]]. For more information, refer to the Leonardo [[/Guide/ArduinoLeonardo | getting started]] page and [[/Main/ArduinoBoardLeonardo | hardware page]].
April 03, 2012, at 03:48 PM by Scott Fitzgerald -
Changed lines 11-12 from:
The Arduino Mega has three additional serial ports: '''Serial1''' on pins 19 (RX) and 18 (TX), '''Serial2''' on pins 17 (RX) and 16 (TX), '''Serial3''' on pins 15 (RX) and 14 (TX). To use these pins to communicate with your personal computer, you will need an additional USB-to-serial adaptor, as they are not connected to the Mega's USB-to-serial adaptor. To use them to communicate with an external TTL serial device, connect the TX pin to your device's RX pin, the RX to your device's TX pin, and the ground of your Mega to your device's ground. (Don't connect these pins directly to an RS232 serial port; they operate at +/- 12V and can damage your Arduino board.)
to:
The [[/Main/ArduinoBoardMega2560 | Arduino Mega]] has three additional serial ports: '''Serial1''' on pins 19 (RX) and 18 (TX), '''Serial2''' on pins 17 (RX) and 16 (TX), '''Serial3''' on pins 15 (RX) and 14 (TX). To use these pins to communicate with your personal computer, you will need an additional USB-to-serial adaptor, as they are not connected to the Mega's USB-to-serial adaptor. To use them to communicate with an external TTL serial device, connect the TX pin to your device's RX pin, the RX to your device's TX pin, and the ground of your Mega to your device's ground. (Don't connect these pins directly to an RS232 serial port; they operate at +/- 12V and can damage your Arduino board.)

The Arduino Leonardo board uses '''Serial1''' to communicate via RS232 on pins 0 (RX) and 1 (TX). '''Serial''' is reserved for communication with the [[Reference/MouseKeyboard | Mouse and Keyboard libraries]]. For more information, refer to the Leonardo [[/Guide/ArduinoLeonardo | getting started]] page and [[/Main/ArduinoBoardLeonardo | hardware page]].
Deleted line 41:
December 01, 2011, at 04:18 PM by Scott Fitzgerald -
Changed lines 28-29 from:
to:
* [[Reference/SerialEvent | SerialEvent]]()
December 05, 2010, at 12:47 AM by David A. Mellis - Adding Serial.peek().
Added line 23:
* [[Serial/Peek | peek]]()
November 21, 2010, at 07:23 PM by David A. Mellis -
Changed lines 5-6 from:
(:cell width=60%:)
to:
(:cell width=55%:)
Changed lines 15-16 from:
(:cell width=30%:)
to:
(:cell width=35%:)
November 21, 2010, at 07:22 PM by David A. Mellis -
Added lines 3-6:
(:table:)

(:cell width=60%:)
Added lines 13-16:
(:cell width=10%:)

(:cell width=30%:)
Added lines 37-38:
(:tableend:)
August 17, 2010, at 11:42 PM by Christian Cerrito -
February 01, 2010, at 05:02 PM by David A. Mellis -
Added line 12:
* [[Serial/End | end]]()
December 28, 2009, at 04:26 PM by David A. Mellis -
Changed lines 7-8 from:
The Arduino Mega has three additional serial ports: '''Serial1''' on pins 19 (RX) and 18 (TX), '''Serial2''' on pins 17 (RX) and 16 (TX), '''Serial3''' on pins 15 (RX) and 14 (TX). To use these pins to communicate with your personal computer, you will need an additional USB-to-serial adaptor, as they are not connected to the Mega's USB-to-serial adaptor. To use them to communicate with an external serial device, connect the TX pin to your device's RX pin, the RX to your device's TX pin, and the ground of your Mega to your device's ground.
to:
The Arduino Mega has three additional serial ports: '''Serial1''' on pins 19 (RX) and 18 (TX), '''Serial2''' on pins 17 (RX) and 16 (TX), '''Serial3''' on pins 15 (RX) and 14 (TX). To use these pins to communicate with your personal computer, you will need an additional USB-to-serial adaptor, as they are not connected to the Mega's USB-to-serial adaptor. To use them to communicate with an external TTL serial device, connect the TX pin to your device's RX pin, the RX to your device's TX pin, and the ground of your Mega to your device's ground. (Don't connect these pins directly to an RS232 serial port; they operate at +/- 12V and can damage your Arduino board.)
September 21, 2009, at 03:35 AM by Tom Igoe -
Changed lines 7-8 from:
The Arduino Mega has three additional serial ports: '''Serial1''' on pins 19 (RX) and 18 (TX), '''Serial2''' on pins 17 (RX) and 16 (TX), '''Serial3''' on pins 15 (RX) and 14 (TX).
to:
The Arduino Mega has three additional serial ports: '''Serial1''' on pins 19 (RX) and 18 (TX), '''Serial2''' on pins 17 (RX) and 16 (TX), '''Serial3''' on pins 15 (RX) and 14 (TX). To use these pins to communicate with your personal computer, you will need an additional USB-to-serial adaptor, as they are not connected to the Mega's USB-to-serial adaptor. To use them to communicate with an external serial device, connect the TX pin to your device's RX pin, the RX to your device's TX pin, and the ground of your Mega to your device's ground.
June 05, 2009, at 05:33 PM by David A. Mellis -
Changed lines 3-4 from:
Used for communication between the Arduino board and a computer or other devices. This communication happens via the Arduino board's serial or USB connection and on digital pins 0 (RX) and 1 (TX). Thus, if you use these functions, you cannot also use pins 0 and 1 for digital input or output.
to:
Used for 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): '''Serial'''. It communicates on digital pins 0 (RX) and 1 (TX) as well as with the computer via USB. Thus, if you use these functions, you cannot also use pins 0 and 1 for digital input or output.
Changed lines 7-14 from:
!!!Arduino Mega Serial ports

Most Arduino boards have one serial port (also known as a UART or USART): '''Serial'''. The Arduino Mega has four: '''Serial''', '''Serial1''', '''Serial2''', '''Serial3''', in addition to the original Serial port that connects to the computer via USB. These Serial ports contain the exact same functions available to the original Serial port, but are referenced by the names Serial1, Serial2, and Serial3.

* Serial1, digital pins 19 (RX) and 18 (TX)
* Serial2, digital pins 17 (RX) and 16 (TX)
* Serial3, digital pins 15 (RX) and 14 (TX)
to:
The Arduino Mega has three additional serial ports: '''Serial1''' on pins 19 (RX) and 18 (TX), '''Serial2''' on pins 17 (RX) and 16 (TX), '''Serial3''' on pins 15 (RX) and 14 (TX).
June 05, 2009, at 05:27 PM by David A. Mellis -
Changed lines 23-24 from:
to:
* [[Serial/Write | write]]()
May 21, 2009, at 11:25 PM by Tom Igoe -
Changed lines 7-8 from:
Most Arduino boards have one serial port (also known as a UART or USART): '''Serial'''. The Arduino Mega has four: '''Serial''', '''Serial1''', '''Serial2''', '''Serial3'''.
to:
!!!Arduino Mega Serial ports

Most Arduino boards have one serial port (also known as a UART or USART): '''Serial'''. The Arduino Mega has four: '''Serial''', '''Serial1''', '''Serial2''', '''Serial3''', in addition to the original Serial port that connects to the computer via USB. These Serial ports contain the exact same functions available to the original Serial port, but are referenced by the names Serial1, Serial2, and Serial3.

* Serial1, digital pins 19 (RX) and 18 (TX)
* Serial2, digital pins 17 (RX) and 16 (TX)
* Serial3, digital pins 15 (RX) and 14 (TX)
May 08, 2009, at 02:37 PM by David A. Mellis -
Changed line 24 from:
* [[Tutorial/Serial Call Response]
to:
* [[Tutorial/Serial Call Response]]
May 08, 2009, at 02:37 PM by David A. Mellis -
Added lines 5-6:
You can use the Arduino environment's built-in serial monitor to communicate with an Arduino board. Click the serial monitor button in the toolbar and select the same baud rate used in the call to begin().
Added lines 18-26:
!!!! Examples
* [[Tutorial/ASCII Table]]
* [[Tutorial/Dimmer]]
* [[Tutorial/Graph]]
* [[Tutorial/Physical Pixel]]
* [[Tutorial/Virtual Color Mixer]]
* [[Tutorial/Serial Call Response]
* [[Tutorial/Serial Call Response ASCII]]
May 08, 2009, at 02:27 PM by David A. Mellis -
Added lines 1-15:
!!Serial

Used for communication between the Arduino board and a computer or other devices. This communication happens via the Arduino board's serial or USB connection and on digital pins 0 (RX) and 1 (TX). Thus, if you use these functions, you cannot also use pins 0 and 1 for digital input or output.

Most Arduino boards have one serial port (also known as a UART or USART): '''Serial'''. The Arduino Mega has four: '''Serial''', '''Serial1''', '''Serial2''', '''Serial3'''.

!!!!Functions

* [[Serial/Begin | begin]]()
* [[Serial/Available | available]]()
* [[Serial/Read | read]]()
* [[Serial/Flush | flush]]()
* [[Serial/Print | print]]()
* [[Serial/Println | println]]()

Share