Arduino Pins Guide
Arduino Pins Guide
Pin
Type Description Common Connections
Name
Connect to TX (transmit) of
Digital UART Receive pin for
0 (RX) another serial device (e.g.,
Input/Output serial communication
Bluetooth module).
Connect to RX (receive) of
Digital UART Transmit pin for
1 (TX) another serial device (e.g., PC
Input/Output serial communication
via USB).
General-purpose digital LEDs, buttons, relays, etc.
2 - 13 Digital I/O pins (HIGH/LOW, PWM Pins 3, 5, 6, 9, 10, 11 support
on some pins) PWM.
Pulse-width modulation for Servo motors, DC motor
3, 5, 6, 9, PWM Digital dimming LEDs or motor drivers (L298N), LED
10, 11
speed control brightness control.
Measure analog voltages
Sensors (e.g., temperature,
A0 - A5 Analog Input (0V - 5V) with 10-bit
light, potentiometer).
resolution
Connect to SDA of I2C
A4 Analog/Digital
I2C Serial Data Line devices (e.g., LCD, RTC,
(SDA) I/O
EEPROM).
A5 Analog/Digital Connect to SCL of I2C
I2C Serial Clock Line
(SCL) I/O devices.
Ground reference for the Common ground for sensors,
GND Power
circuit modules, and power supplies.
Power for sensors, modules,
5V output (regulated from
5V Power and devices (ensure total
USB or external power)
draw is within limits).
Power for low-voltage
3.3V Power 3.3V output (regulated) modules like ESP8266 or
certain sensors.
Input voltage to the
Connect to an external battery
VIN Power Input Arduino when not using
or power adapter.
USB (7-12V recommended)
Push button or external reset
RESET Control Resets the microcontroller
mechanism.
Analog reference voltage
Reference External voltage reference for
AREF for analog readings (default
Voltage precision ADC readings.
is 5V)
SPI pins for uploading Connect SPI devices like SD
ICSP Programming firmware or interfacing with cards, RF modules, or in-
Header
SPI devices system programming tools.
Detailed Notes on Pins: