মূল বিষয়বস্তুতে যান
ATmega328P

Arduino Uno R3

The classic beginner board: a 5 V, 16 MHz ATmega328P with 14 digital pins (6 with PWM), 6 analog inputs, USB programming and a huge community. Ideal for learning digital and analog electronics.

UNOATmega328P: The 8-bit AVR microcontroller that runs your sketch (16 MHz, 32 KB flash, 2 KB RAM).ATmega328PUSB-B: USB connection for uploading sketches and for the Serial Monitor. Also powers the board (5 V).DC jack: Barrel jack for 7–12 V from a battery pack or adapter (centre positive).ATmega16U2: Converts USB to serial for uploads and Serial.print().RESET: Restarts your sketch from the beginning (setup() runs again).L (D13): Built-in LED connected to pin 13 (LED_BUILTIN).ON: Power indicator.5 V regulator: Turns 7–12 V from VIN/jack into a steady 5 V.16 MHz: Clock source: the microcontroller runs 16 million cycles per second.ICSP: In-circuit programming header (SPI). Used to burn a bootloader; not needed for normal uploads.SCLSCL — I2C clock (same signal as A5)SDASDA — I2C data (same signal as A4)AREFAREF — Analog reference inputGNDGND — Ground (0 V)1313 — SPI SCK, Built-in LED (LED_BUILTIN)1212 — SPI MISO1111 — PWM (Timer2, ≈490 Hz), SPI MOSI1010 — PWM (Timer1, ≈490 Hz), SPI SS99 — PWM (Timer1, ≈490 Hz)887766 — PWM (Timer0, ≈980 Hz)55 — PWM (Timer0, ≈980 Hz)4433 — PWM (Timer2, ≈490 Hz), External interrupt INT122 — External interrupt INT011 — UART TX (Serial)00 — UART RX (Serial)—— — Not connectedIOREFIOREF — Tells shields the board's logic voltage (5 V)RESETRESET — Pull LOW to restart the microcontroller3.3V3.3V — 3.3 V output5V5V — 5 V outputGNDGND — Ground (0 V)GNDGND — Ground (0 V)VINVIN — Input 7–12 V (or the jack voltage when powered by the jack)A0A0 — ADC channel 0 (10-bit, 0–1023), Digital pin 14A1A1 — ADC channel 1 (10-bit, 0–1023), Digital pin 15A2A2 — ADC channel 2 (10-bit, 0–1023), Digital pin 16A3A3 — ADC channel 3 (10-bit, 0–1023), Digital pin 17A4A4 — ADC channel 4, I2C SDA, Digital pin 18A5A5 — ADC channel 5, I2C SCL, Digital pin 19
GPIO ADC PWM I2C Power GND
ID: SCLi2c

SCL

Code: SCL

Functions

I2C clock (same signal as A5)

Notes

  • Duplicate of A5 for shields.
Operating voltage: 5 V logic

Hardware Specifications

Microcontroller

ATmega328P, 8-bit AVR

Clock speed

16 MHz

Flash memory

32 KB (0.5 KB used by the bootloader)

SRAM

2 KB

EEPROM

1 KB

Operating voltage

5 V

Input voltage (recommended)

7–12 V on VIN or the barrel jack

Digital I/O pins

14 (D0–D13), 6 with PWM

PWM pins

3, 5, 6, 9, 10, 11 (≈490 Hz; 5 and 6 ≈980 Hz)

Analog inputs

6 (A0–A5), 10-bit

DC current per I/O pin

20 mA recommended, 40 mA absolute maximum

3.3 V pin current

50 mA

USB

USB-B, serial via ATmega16U2

Complete Pinout Table

32
PinLabelTypeFunctionsWarnings & Notes
SCLSCLi2cI2C clock (same signal as A5)Duplicate of A5 for shields.
SDASDAi2cI2C data (same signal as A4)Duplicate of A4 for shields.
AREFAREFpowerAnalog reference inputNever apply a voltage here while using the default reference.
GND3GNDgroundGround (0 V)All GND pins are connected together.
D1313spiSPI SCK, Built-in LED (LED_BUILTIN)The on-board L LED is connected here.
D1212spiSPI MISO—
D1111pwmPWM (Timer2, ≈490 Hz), SPI MOSI—
D1010pwmPWM (Timer1, ≈490 Hz), SPI SSPWM is unavailable here while the Servo library is in use.
D99pwmPWM (Timer1, ≈490 Hz)PWM is unavailable here while the Servo library is in use.
D88digital——
D77digital——
D66pwmPWM (Timer0, ≈980 Hz)—
D55pwmPWM (Timer0, ≈980 Hz)—
D44digital——
D33pwmPWM (Timer2, ≈490 Hz), External interrupt INT1—
D22digitalExternal interrupt INT0—
D11uartUART TX (Serial)Shared with USB serial: avoid for other uses while uploading or using Serial.
D00uartUART RX (Serial)Shared with USB serial: anything connected here can block uploads.
NC—ncNot connected—
IOREFIOREFpowerTells shields the board's logic voltage (5 V)—
RESETRESETresetPull LOW to restart the microcontrollerSame as pressing the reset button.
V3_33.3Vpower3.3 V outputNot enough current for motors or Wi-Fi modules.
V55Vpower5 V outputMotors and servos under load need their own supply — share GND only.
GND1GNDgroundGround (0 V)—
GND2GNDgroundGround (0 V)—
VINVINpowerInput 7–12 V (or the jack voltage when powered by the jack)Don't connect VIN to 5V.
A0A0analogADC channel 0 (10-bit, 0–1023), Digital pin 14analogRead() returns 0–1023 for 0–5 V.
A1A1analogADC channel 1 (10-bit, 0–1023), Digital pin 15analogRead() returns 0–1023 for 0–5 V.
A2A2analogADC channel 2 (10-bit, 0–1023), Digital pin 16analogRead() returns 0–1023 for 0–5 V.
A3A3analogADC channel 3 (10-bit, 0–1023), Digital pin 17analogRead() returns 0–1023 for 0–5 V.
A4A4analogADC channel 4, I2C SDA, Digital pin 18analogRead() returns 0–1023 for 0–5 V.
A5A5analogADC channel 5, I2C SCL, Digital pin 19analogRead() returns 0–1023 for 0–5 V.