• 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: Raspberry Pi 2-Channel Isolated CAN Bus Expansion HAT Dual Chips Solution Built-In Multi Protections Industrial Grade Isolated USB TO RS232/485 (B) Serial UART Converter FT232RNL For Wall/Rail-Mount PoE-M.2-HAT+B User Guide ESP32 ST7789 tutorial Pi5 Heatsink Raspberry Pi OpenWrt Tutorial 2 WiFi Wireless ESP32 DDSM Motor Driver HAT For Direct Drive Servo Hub Motors For Raspberry Pi ESP32 ST7789 ESP-IDF download and installation Raspberry Pi 7 inch HMI industrial DSI Display LCD 7inch TouchScreen Computer 720×1280 Raspberry Pi Pico Raspberry Pi 5 DSI User Guide ESP32-S3 3.49-inch Development Board DeepSeek AI Chat Box 3.49inch LCD Capacitive TouchScreen Display 172×640 N16R8 1.28 inch Round Rotary LCD Smart Screen 1.28inch Knob Display 240x240 Option Touch/No-Touch Jetson RTL8822CE 5GHz WiFi Wireless Bluetooth5 Card NGFF-M.2 RTL8822CE-CG Core Raspberry Pi 5 PCIe FFC Connector to Standard PCIe x1 Slot (C) Expansion Board Raspberry Pi Pico 2 RP2350 Core A Development Board RP2350A Raspberry Pi 5 PCIe TO Gigabit RJ45 ETH Adapter Board (C) Driver-Free RTL8111H For Pi5 Raspberry Pi 18.5inch FHD LCD 1920x1080 Capacitive TouchScreen Display For Raspberry Pi/Jetson Nano/ Industrial UART USB TO 8CH RS485 Isolated Converter For 35mm standard rail and stacked installation