• sales

    +86-0755-88291180

Arduino uno r3 pin diagram function

The pinout diagram of the Arduino Uno R3 development board contains 14 digital pins, 6 analog inputs, power jack, USB connection and ICSP header. The multiplexing function of the pins provides more different options, such as driving motors, LEDs, reading sensors, etc. The figure below shows the function of Arduino Uno pins.


Power Pin Description

VIN — When the external DC power supply is connected to the power socket, it can supply power to the outside through VIN; it can also directly supply power to UNO through this pin; when VIN has power, it will ignore the power connected from USB or other pins

5V — Power the 5V chip on the UNO via a voltage regulator or 5V from USB

3.3V — 3.3V voltage generated by the voltage regulator, the maximum drive current is 50mA

GND — ground pin

input Output

The Arduino Uno has 14 digital input and output pins that can be controlled using pinMode(), digitalWrite() and digitalRead().

Some of them have special functions, these pins are as follows:

Serial

0 (RX), 1 (TX), used to receive and send serial port data. These two pins are connected to the ATmega16u2 for serial communication with the computer.

External interrupt 2, 3, can input external interrupt signal. There are four trigger modes for interrupts: low level trigger, level change trigger, rising edge trigger, and falling edge trigger.

PWM output: 3, 5, 6, 9, 10, 11, can be used to output 8-bit PWM wave. Corresponding function analogWrite() .

SPI: 10 (SS), 11 (MOSI), 12 (MISO), 13 (SCK), can be used for SPI communication. It can be manipulated using the official SPI library.

L-LED: 13. An LED is connected to pin 13. When the pin outputs a high level, the LED is turned on, and when the pin outputs a low level, the LED is turned off.

TWI: A4 (SDA), A5 (SCL) and TWI interface, can be used for TWI communication, compatible with I²C communication. It can be manipulated using the officially provided Wire library.

Arduino Uno 6 analog input pins, analog values can be read using analogRead(). Each analog input has 10-bit resolution (ie 1024 different values). By default, the analog input voltage range is 0 to 5V, and other reference voltages can be set using the AREF pin and the analogReference() function.

The relevant pins are as follows:

AREF: Analog input reference voltage input pin.

Reset: Reset the port. Connecting to a low level will reset the Arduino, and when the reset button is pressed, the port will be connected to a low level to reset the Arduino.

Indicator lights (LED) Arduino UNO has 4 LED indicators, the functions are as follows:

ON: Power indicator light. The ON light will light up when the Arduino is powered.

TX: Serial port transmit indicator. The TX light will be on when the USB is connected to the computer and the Arduino is transmitting data to the computer.

RX: serial port receiving indicator light. When the USB is connected to the computer and the Arduino receives data from the computer, the RX light will light up

L: Programmable control indicator light. The LED is connected to pin 13 of the Arduino through a special circuit. When the pin 13 is high or high-impedance, the LED will light up; when it is low, it will not light up. The LED can be controlled to turn on or off by program or external input signal.

Communication

Arduino UNO has a variety of communication interfaces, which can communicate with computers, other Arduinos or other controllers.

ATmega328 provides UART TTL (5V) serial communication, which is located on two pins 0 (RX) and 1 (TX). ATmega16U2 on Uno will simulate a USB serial port on the computer, so that ATmega328 can communicate with the computer. The Arduino IDE provides a serial monitor, which can be used to send and receive simple text data. The RX\TX LEDs on the Uno can indicate the current communication status of the Uno.

The SoftwareSerial library can simulate any digital pin of the Uno as a serial port for serial communication.

The ATmega328 also supports I2C (TWI) and SPI communication. The Wire library that comes with Arduino IDE can be used to drive the I2C bus, and the built-in SPI library can be used for SPI communication.

TAG: WIFI Configuration ESP32 S3 Development Board 2.8 inch Round LCD Display 480x480 QMI8658 Sensor / MIC / SD /MP3 Audio /Battery Port LVGL/HMI For Arduino ESP32-S3 GC9A01A Lazy Keyboard Computer AI Deepseek Mechanical Voice Keyboard Linux 10x0.85inch LCD Screen Customize keys + 2.01 inch Secondary Display ESP32 S3 Development Board 1.46 inch Round LCD 1.46inch Display 412x412 QMI8658 Sensor / MIC / SD /MP3 Audio /Battery Port LVGL/HMI For Arduino Tutorial NVIDIA Raspberry Pi 5 PCIe MK20 Computer AI Deepseek Mechanical Voice Keyboard Linux 20x0.85inch LCD Screen Customize keys + 2.8 inch Secondary Display LuckFox Pico DeepSeek AI Voice Chat ESP32-S3 Box N16R8 AUDIO Board Support External LCD/Camera AI deepseek Raspberry Pi 5 PCIe to M.2 5G/4G/3G HAT With RM520N-GL ESP32 S3 R8 MP3 Board 2.8inch LCD TouchScreen Display Speaker/SD-Card/Battery/QMI8658-6-Axis-Sensor Raspberry Pi Camera V2 Raspberry Pi 5 Gen3 Development Board Raspberry Pi Compute Module 5 CM5 Cortex A76 BCM2712 With/Without Wi-Fi RAM 2/4/8/16GB eMMC Lite/8/16/32/64GB USB To CAN FD Industrial Modbus RTU Dual Ethernet RJ45 To 8ch POE ETH Relay (C) PoE Power over Ethernet