Reference.Serial History

Hide minor edits - Show changes to markup

May 31, 2010, at 06:06 PM by Equipo Traduccion -
Changed lines 3-10 from:

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.

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

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

Functions

to:

Se utiliza para la comunicación entre la placa Arduino y un ordenador u otros dispositivos. Todas las placas Arduino tienen al menos un puerto serie (también conocido como UART o USART): Serial. Se comunica a través de los pines digitales 0 (RX) y 1 (TX), así como con el ordenador mediante USB. Por lo tanto, si utilizas estas funciones, no puedes usar los pines 0 y 1 como entrada o salida digital.

Puedes utilizar el monitor del puerto serie incorporado en el entorno Arduino para comunicarte con la placa Arduino. Haz clic en el botón del monitor de puerto serie en la barra de herramientas y selecciona la misma velocidad en baudios utilizada en la llamada a begin().

La placa Arduino Mega tiene tres puertos adicionales de serie: Serial1 en los pines 19 (RX) y 18 (TX), Serial2 en los pines 17 (RX) y 16 (TX), Serial3 en los pines 15 (RX) y 14 (TX). Para utilizar estos pines para comunicarse con el ordenador personal, necesitarás un adaptador USB adicional a serie, ya que no están conectados al adaptador USB-Serie de la placa Arduino Mega. Para usarlos para comunicarse con un dispositivo serie externo TTL, conecta el pin TX al pin RX del dispositivo, el RX al pin TX del dispositivo, y el GND de tu Arduino Mega a masa del dispositivo. (No conectes estos pines directamente a un puerto serie RS232, que operan a +/- 12V y esto puede dañar la placa Arduino.)

Funciones

Changed line 21 from:

Examples

to:

Ejemplos

Added line 30:
February 01, 2010, at 05:02 PM by David A. Mellis -
Added line 12:
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:
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:
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:
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

Share