Study for the Internet of Things (IOT102) Test. Access comprehensive flashcards and multiple choice questions, each with hints and explanations. Get prepared for your exam!

Multiple Choice

Which pins can the Arduino UNO board communicate with the computer?

Communicating with a computer over USB uses a serial link, which is handled by the UART hardware on the Arduino. The digital pins labeled TX and RX (the transmit and receive lines) are the UART channels that carry asynchronous serial data between the board and the computer, via the USB-to-serial converter inside the board. That’s why this is the correct channel for PC communication—the computer expects a serial port, and the Arduino provides it through UART. The other options serve different roles: PWM pins are for generating timed pulses to control devices like motors or LEDs, not for talking to a PC; ADC pins read analog sensor values, not send data to a computer; I2C pins form a two-wire bus for talking to other microcontrollers and sensors, not to a PC directly.

Communicating with a computer over USB uses a serial link, which is handled by the UART hardware on the Arduino. The digital pins labeled TX and RX (the transmit and receive lines) are the UART channels that carry asynchronous serial data between the board and the computer, via the USB-to-serial converter inside the board. That’s why this is the correct channel for PC communication—the computer expects a serial port, and the Arduino provides it through UART.

The other options serve different roles: PWM pins are for generating timed pulses to control devices like motors or LEDs, not for talking to a PC; ADC pins read analog sensor values, not send data to a computer; I2C pins form a two-wire bus for talking to other microcontrollers and sensors, not to a PC directly.