Preview build — page text is a draft awaiting human review. Code badges come from real compiles. The flasher is real but not yet hardware-tested; the Playground is still a preview.

Arduino Uno R3

Interactive Arduino Uno R3 pinout with PWM, I2C, SPI and analog pins, current limits, Arduino IDE and PlatformIO setup, and compile-checked code.

Community draft — report a mistake

MCUATmega328P, 16 MHz, 8-bit AVR
Flash / SRAM32 KB (0.5 KB bootloader) / 2 KB
EEPROM1 KB
Logic level5 V
I/O14 digital (6 PWM), 6 analog in
Typical price₹450–650 (clone), ₹2,000+ (original)

The Uno R3 is the classic 5 V board: an ATmega328P at 16 MHz, a USB-serial chip (an ATmega16U2 on originals, usually a CH340 on Indian clones), a 5 V regulator, and headers that fit almost every shield.

It has no Wi-Fi and only 2 KB of RAM, but it is simple and forgiving — 5 V logic matches most hobby modules, and it is the board the Playground emulates in full.

Power it from USB, or 7–12 V on the barrel jack or VIN. The 5V pin can supply a few hundred mA from USB; the 3.3V pin only about 50 mA.

Interactive pinout

Hover or tap a pin for its functions and traps. Filter to light up every I2C, ADC or boot pin.

  • Safe for most uses
  • Works, with a caveat
  • Avoid unless you know why
  • Power / control

Mind the current: 20 mA per pin, 200 mA for the whole chip. An LED with a 220 Ω resistor is fine. Relays, motors, buzzers and LED strips need a transistor or a driver module — never drive them straight from a pin.

5 V logic out, 5 V logic expected in. A 3.3 V module (ESP-01, many sensors) can be damaged by the Uno's 5 V outputs. Use a level shifter or a divider, and power 3.3 V parts from the 3.3V pin only if they draw under ~50 mA.

Leave D0 and D1 free. They are the USB serial lines. Anything wired there can block uploads and garble the Serial Monitor.

Set up your computer

  1. Install Arduino IDE 2.x from arduino.cc.
  2. Boards Manager → install Arduino AVR Boards (we compile against avr 1.8.8).
  3. Tools → Board → Arduino Uno, then pick the port that appears when you plug the board in.

First program

Verified — core avr 1.8.8, 3 Nov 2026Compile-only
blink-uno.inoArduino C++Open in PlaygroundOpen in PlaygroundFlash
// Blink the on-board LED (pin 13) of an Arduino Uno R3 or Nano.
void setup() {
  Serial.begin(9600);
  pinMode(LED_BUILTIN, OUTPUT);
  Serial.println(F("FlashReady: blink started"));
}

void loop() {
  digitalWrite(LED_BUILTIN, HIGH);
  delay(500);
  digitalWrite(LED_BUILTIN, LOW);
  delay(500);
}

Components with Arduino Uno R3

Common errors

avrdude: stk500_recv(): programmer is not responding

Wrong port, wrong board, or something on D0/D1. Pick the port that appears when you plug in, set Tools → Board → Arduino Uno, unplug wires from D0/D1 and try again. Clones with a CH340 need its driver — see our driver links.

Port greyed out or missing

Charge-only USB cable or missing CH340 driver. Try a known data cable; install the driver from wch-ic.com only.

Sketch too big / low memory warning

The Uno has only 2 KB of RAM. Wrap fixed strings in F("…") so they stay in flash, and avoid the String class in long-running sketches.

Projects for Arduino Uno R3

ECG trace on an OLED for learning (Arduino Uno + AD8232) — not medical

UnoMedium

See the P-QRS-T wave of a real heartbeat — the biology textbook diagram, live.

2 h · Student projects

₹1,550 parts cost, about $18Verified core 1.8

Bluetooth RC car controlled from your phone (Arduino Uno + HC-05)

UnoMedium

Drive a robot car from your phone over Bluetooth.

3 h · Robotics

₹1,724 parts cost, about $20Verified core 1.8

Classroom noise meter with a traffic-light LED bar (Arduino Uno + KY-038)

UnoEasy

A green-yellow-red bar that shows how loud the class is — and reminds when it’s too loud.

1 h · Student projects

₹885 parts cost, about $10Verified core 1.8

Classroom voting machine for class elections — an EVM model (Arduino Uno + 16x2 LCD)

UnoEasy

One BALLOT press, one vote, one long beep — a class-election model of an EVM.

2 h · Student projects

₹951 parts cost, about $11Verified core 1.8

Colour sorting machine with two servos (Arduino Uno + TCS34725)

UnoMedium

Drop coloured beads in the tube — the machine sorts them into bins by itself.

4 h · Student projects

₹1,480 parts cost, about $17Verified core 1.8

Contactless infrared thermometer (Arduino Uno + MLX90614 + OLED)

UnoEasy

Point it at anything and read its surface temperature.

1 h · Student projects

₹1,360 parts cost, about $16Verified core 1.8

Debate and elocution competition timer with warning lights (Arduino Uno)

UnoEasy

Green, yellow, red and a bell — speakers see their time without anyone waving a card.

2 h · Student projects

₹1,165 parts cost, about $14Verified core 1.8

Digital compass with a needle on an OLED (Arduino Uno + GY-271)

UnoEasy

A needle that always points north — and the maths that makes it work.

1.5 h · Student projects

₹1,003 parts cost, about $12Verified core 1.8

Digital dice on an 8×8 LED matrix (Arduino Uno + MAX7219)

UnoEasy

Press the button — the dice tumbles and lands on 1 to 6.

45 min · Student projects

₹633 parts cost, about $7Verified core 1.8

Dual-axis solar tracker with four LDRs and two servos (Arduino Uno)

UnoMedium

A small panel that follows the sun across the sky on two servos.

3 h · Robotics

₹1,300 parts cost, about $15Verified core 1.8

Fire-fighting robot model that finds and puts out a candle (Arduino Uno + flame sensors)

UnoMedium

Seeks a candle flame, drives up to it and sprays until it’s out.

5 h · Student projects

₹1,995 parts cost, about $23Verified core 1.8

Fire and smoke alarm with heat-rise detection (Arduino Uno + MQ-2 + DS18B20)

UnoMedium

Smoke, high heat or a fast temperature rise — any one sets off the alarm.

1.5 h · India utility

₹857 parts cost, about $10Verified core 1.8

LPG gas leak alarm with SMS alert (Arduino Uno + MQ-6)

UnoMedium

MQ-6 sensor, loud buzzer and an SMS to your phone when LPG builds up.

2 h · India utility

₹1,290 parts cost, about $15Verified core 1.8

GPS tracker that texts its location (Arduino Uno + NEO-6M + SIM800L)

UnoHard

Texts a Google Maps link with its location to your phone.

3 h · Student projects

₹1,415 parts cost, about $17Verified core 1.8

GSM farm motor control by SMS (Arduino Uno + SIM800L)

UnoHard

SMS "MOTOR ON" from your phone; the farm motor starts through a contactor and stops itself after 2 hours.

4 h · India utility

₹2,145 parts cost, about $25Verified core 1.8

Digital tachometer with a Hall sensor and magnet (Arduino Uno + A3144 + TM1637)

UnoEasy

A magnet, a Hall sensor and an interrupt — RPM of any rotating thing on a 4-digit display.

1.5 h · Student projects

₹656 parts cost, about $8Verified core 1.8

Inverse-square law of light experiment (Arduino Uno + BH1750 + VL53L0X)

UnoMedium

Move a light sensor away from a lamp and watch the brightness fall as 1/d².

2 h · Student projects

₹1,353 parts cost, about $16Verified core 1.8

Control a lamp with any TV remote (Arduino Uno)

UnoEasy

Use any spare TV remote to switch a lamp on and off.

1 h · Home automation

₹730 parts cost, about $9Verified core 1.8

Joystick-controlled robot arm with three servos (Arduino Uno)

UnoMedium

A thumb joystick turns the base, lifts the arm and works the gripper.

2 h · Robotics

₹1,215 parts cost, about $14Verified core 1.8

Keypad door lock with a servo latch (Arduino Uno)

UnoEasy

Type the PIN to open the latch — three wrong tries lock it out.

1.5 h · Student projects

₹820 parts cost, about $10Verified core 1.8

Snake game on an 8×8 LED matrix with a joystick (Arduino Uno + MAX7219)

UnoEasy

The old Nokia snake on 64 LEDs — steer it with a joystick.

1.5 h · Student projects

₹725 parts cost, about $9Verified core 1.8

Line follower robot with two IR sensors (Arduino Uno)

UnoMedium

Two IR sensors keep it on a black line.

3 h · Robotics

₹1,550 parts cost, about $18Verified core 1.8

Medicine reminder with a “taken” button (Arduino Uno + DS3231 + LCD)

UnoEasy

Beeps at dose time until the “taken” button is pressed; shows what was missed.

1.5 h · Home automation

₹1,115 parts cost, about $13Verified core 1.8

Milk collection weighing scale with price display (Arduino Uno + HX711)

UnoMedium

Weighs milk to the gram and shows the ₹ amount to pay on a 16x2 LCD.

2.5 h · India utility

₹1,350 parts cost, about $16Verified core 1.8

Mini sumo robot for college robo-fests (Arduino Uno + HC-SR04)

UnoMedium

Finds the opponent, charges, and never drives out of the ring.

4 h · Robotics

₹2,055 parts cost, about $24Verified core 1.8

Morse code trainer that decodes your keying (Arduino Uno + OLED)

UnoEasy

Tap dots and dashes — the screen reads them back and scores you.

1 h · Student projects

₹775 parts cost, about $9Verified core 1.8

Classroom seismograph with a scrolling OLED trace (Arduino Uno + MPU6050)

UnoEasy

Thump the table and watch the shaking scroll across the screen like a real seismogram.

1.5 h · Student projects

₹935 parts cost, about $11Verified core 1.8

Obstacle-avoiding robot with a scanning ultrasonic sensor (Arduino Uno)

UnoMedium

Looks left and right, then turns towards the clearer path.

3 h · Robotics

₹1,735 parts cost, about $20Verified core 1.8

Garage parking assistant with a ToF sensor and LED bar (Arduino Uno)

UnoEasy

An LED bar that goes green → yellow → red as you park.

1 h · Student projects

₹1,002 parts cost, about $12Verified core 1.8

Measure g with a simple pendulum and an IR photogate (Arduino Uno)

UnoEasy

An IR gate times every swing — the LCD shows the period and g live.

2 h · Student projects

₹763 parts cost, about $9Verified core 1.8

Two-gate photogate timer for speed and acceleration (Arduino Uno + IR sensors)

UnoEasy

Two IR gates time a run to the microsecond — speed and acceleration on an LCD.

2 h · Student projects

₹873 parts cost, about $10Verified core 1.8

Heart-rate display with a live pulse wave (Arduino Uno + Pulse Sensor + OLED)

UnoEasy

See your own pulse as a wave on a tiny screen — and hear every heartbeat.

1 h · Student projects

₹855 parts cost, about $10Verified core 1.8

Quiz buzzer system for 4 teams with lockout (Arduino Uno + TM1637 + WS2812B)

UnoEasy

Four teams, one winner — the first press lights its colour and locks out the rest.

2 h · Student projects

₹1,088 parts cost, about $13Verified core 1.8

Automatic railway level-crossing gate model (Arduino Uno + IR sensors + servo)

UnoEasy

Trains from either side close the boom; it opens only after the last coach has gone.

3 h · Student projects

₹995 parts cost, about $12Verified core 1.8

Rain alarm for drying clothes and grain (Arduino Uno + rain sensor)

UnoEasy

Three loud beeps the moment the first drops hit the sensor.

45 min · Weather

₹745 parts cost, about $9Verified core 1.8

Reaction timer game with a 4-digit display (Arduino Uno + TM1637)

UnoEasy

Wait for GO, hit the button — how fast are you?

45 min · Student projects

₹580 parts cost, about $7Verified core 1.8

RGB mood lamp with WS2812B LEDs and a rotary knob (Arduino Uno)

UnoEasy

Turn the knob for colour, press it for breathe and rainbow modes.

1 h · Home automation

₹722 parts cost, about $8Verified core 1.8

RS485 Modbus sensor reader for long cable runs (Arduino Uno + MAX485)

UnoMedium

Talk to industrial Modbus sensors over hundreds of metres of twisted pair.

1.5 h · Network & ISP tools

₹1,582 parts cost, about $19Verified core 1.8

Digital clock that keeps time through power cuts (Arduino Uno + DS3231)

UnoEasy

A clock that keeps exact time even through power cuts.

45 min · Student projects

₹690 parts cost, about $8Verified core 1.8

Sargam piano with 8 keys and a buzzer (Arduino Uno + TM1637)

UnoEasy

Eight buttons, one buzzer — play Sa Re Ga Ma and see the physics of each note.

1.5 h · Student projects

₹740 parts cost, about $9Verified core 1.8

Automatic school bell timer with RTC and LCD (Arduino Uno + DS3231)

UnoEasy

Rings every period on time, skips Sundays, and keeps time through power cuts.

2 h · India utility

₹1,530 parts cost, about $18Verified core 1.8

Shop shutter burglar alarm with SMS and call (Arduino Uno + SIM800L)

UnoMedium

Shutter forced or motion inside at night → siren, SMS and a ringing phone.

3 h · India utility

₹2,990 parts cost, about $35Verified core 1.8

Queue token number display for a clinic or shop (Arduino Uno + TM1637)

UnoEasy

Press NEXT and the “now serving” number blinks and beeps — survives power cuts.

1 h · India utility

₹1,045 parts cost, about $12Verified core 1.8

Simon memory game with colours and tones (Arduino Uno + WS2812B + passive buzzer)

UnoEasy

Watch, listen, repeat — one more colour every round.

1.5 h · Student projects

₹750 parts cost, about $9Verified core 1.8

Touch-free smart dustbin (Arduino Uno + HC-SR04 + servo)

UnoEasy

Wave your hand and the lid opens — closes by itself after 3 seconds.

1.5 h · Student projects

₹1,060 parts cost, about $12Verified core 1.8

Solar water heater display — how many buckets of hot water? (Arduino Uno + DS18B20)

UnoEasy

Tank temperature and “~6 buckets at 40 °C” on an LCD inside the house.

2 h · Home automation

₹1,702 parts cost, about $20Verified core 1.8

Measure the speed of sound with an ultrasonic sensor (Arduino Uno + HC-SR04)

UnoEasy

Echo timing at known distances gives the speed of sound — with a line fit and theory check.

2 h · Student projects

₹853 parts cost, about $10Verified core 1.8

Cyclone and storm pressure alert from a barometer (Arduino Uno + BMP180)

UnoEasy

A barometer that watches the pressure trend and beeps before a storm arrives.

1 h · Weather

₹971 parts cost, about $11Verified core 1.8

Overhead tank overflow alarm (Arduino Uno + float switch)

UnoEasy

A float switch near the top of the tank and a buzzer — no more water on the terrace.

1 h · India utility

₹895 parts cost, about $11Verified core 1.8

Teach-and-repeat robot arm that remembers 40 poses (Arduino Uno)

UnoMedium

Show the arm a pick-and-place routine once, and it repeats it for ever.

4 h · Robotics

₹2,060 parts cost, about $24Verified core 1.8

Tilt-controlled servo with an MPU-6050 (Arduino Uno)

UnoEasy

Tilt the sensor and the servo follows your hand.

45 min · Robotics

₹845 parts cost, about $10Verified core 1.8

Backup battery power-cut alarm with SMS (Arduino Uno + INA219 + SIM800L)

UnoHard

SMS when your POP’s 12 V backup battery starts discharging or runs low.

2.5 h · Network & ISP tools

₹1,425 parts cost, about $17Verified core 1.8

Four-way traffic junction model with countdown and pedestrian button (Arduino Uno)

UnoEasy

Four signal heads, a countdown and a pedestrian button — a real junction cycle in miniature.

3 h · Student projects

₹863 parts cost, about $10Verified core 1.8

Ultrasonic radar scanner with an OLED radar screen (Arduino Uno)

UnoEasy

A sweeping sonar that draws what it sees on a little radar screen.

1.5 h · Robotics

₹1,101 parts cost, about $13Verified core 1.8

Automatic wet and dry waste segregator model (Arduino Uno + moisture plate + servo)

UnoMedium

Drop waste on the flap — it tips into the wet or dry bin by itself and keeps count.

4 h · Student projects

₹1,275 parts cost, about $15Verified core 1.8

↑↓ to move · Enter to open