Topics/Fundamentals/UNO R3 USB-C: Arduino IDE, Libraries, Digital, Analogue and PWM, a Beginner's Handbook
DIGITALANALOGPWMUSBI2CSPIUARTbeginner

UNO R3 USB-C: Arduino IDE, Libraries, Digital, Analogue and PWM, a Beginner's Handbook

An UNO R3-compatible board with an ATmega328P, a CH340C and USB-C, in black and gold or sakura pink. The handbook starts at installing the Arduino IDE and the CH340 driver, then covers libraries, digital pins, analogRead, PWM, serial, I2C, SPI and power, with every experiment run on the board alone.

UNO R3 USB-C (ATmega328P)
Black Gold Edition, one board. The same board comes in Sakura Pink, and as a three-pack with a cable.

Specifications

In the rangeThe Black Gold Edition (ENIG), the Sakura Pink board (immersion silver) and a three-pack of the Black Gold: one circuit, one handbook
ChipATmega328P at 16 MHz; a CH340C turns the USB-C socket into the serial port the Arduino IDE uploads through
Memory32 KB flash (32256 bytes for sketches, the rest is the bootloader), 2 KB SRAM, 1 KB EEPROM
Pins14 digital pins (D0 to D13; D0 and D1 are the USB serial line), 6 with PWM (3, 5, 6, 9, 10, 11), and 6 analogue inputs (A0 to A5); SDA and SCL repeat A4 and A5
Pin currentDesign to 20 mA a pin, the datasheet's test condition. 40 mA a pin and 200 mA for the whole chip are absolute maximums, not working figures
Power5 V from USB-C through a 0.5 A resettable fuse, or 7 to 12 V on the barrel jack through an AMS1117-5.0; the jack takes over above about 6.6 V. The 3V3 pin is an XC6206 rated 200 mA
LampsON (green), and red TX, RX and L. L follows D13 through a buffer, so it takes no current from the pin
Logic5 V. A HIGH output is close to 5 V, and a 3.3 V module's input may not survive it

The board is 5 V. A HIGH on any pin is close to 5 V, and so is the 5V pin. Check what a module wants before you wire it: a 3.3 V part on a 5 V pin can be damaged at once.

What it is

An UNO R3-compatible board: an ATmega328P running at 16 MHz, the chip that holds your sketch and runs it, and a CH340C beside the USB-C socket that the Arduino IDE talks to when it uploads. The four strips of holes along the edges are in the same places as on every UNO, so shields made for one fit this one.

Drag to turn it
The UNO R3. The socket strips stand 8.5 mm over the board; the barrel jack is the tallest part. Turn it over for the back.

The boxes

Black Gold EditionSakura PinkBlack Gold, 3-pack
Boardblack, ENIG goldpink, immersion silverthree black, ENIG gold
USB-C cablenot includedincludedincluded
Circuit and sketchesthe samethe samethe same

Wiring, in four lines

  1. Install the Arduino IDE, and the CH340 driver if the port does not appear.
  2. Plug the board in with a USB-C cable that carries data. The green ON lamp lights.
  3. Tools, Board: Arduino Uno. Tools, Port: the port that just appeared.
  4. Open File, Examples, 01.Basics, Blink, and press Upload. The L lamp blinks.

Where to start

The UNO R3 says what is on the board. Install the Arduino IDE is the first step if you have the board in your hand and want it running.

The chip, in its own book

Everything about the ATmega328P and the Arduino IDE (installing it, the language, libraries, digital and analogue pins, PWM, serial, I2C and SPI) is in the ATmega328P book, shared with the Nano V3.0. Pick UNO R3 at the top of any article there and the text and drawings follow your board. This handbook keeps what is only true of the UNO: its parts, its four strips, its power and the checklist.

When it doesn’t work

Which board do I choose in the Arduino IDE?
Tools, Board, Arduino AVR Boards, Arduino Uno. Then Tools, Port, and the port that appears when you plug the board in.
The Port menu is empty. Do I need a driver?
Perhaps. The USB chip is a CH340C. Recent Windows, macOS and Linux releases usually carry a driver for it, but if no port appears with a cable you know carries data, install the latest CH340 driver from its maker, WCH, and plug the board in again. The CH340 driver page in the handbook has the steps for each system.
Are the black gold and the pink boards different?
Only in colour and finish. The circuit, the pins, the chip and the sketches are the same, so everything in the handbook applies to both.
Can I use D0 and D1?
Only when you do not need the USB serial line. They are wired straight to the CH340C, so anything that drives D0 stops uploads working, and the Serial Monitor shares them.
Do I need a breadboard or parts for the handbook?
No. Every experiment runs on the board, its lamps and the Serial Monitor, with at most one jumper wire from one header hole to another.

The UNO R3 handbook

6 articles · about 30 minutes

This page is the reference: what the part is, what it is made of, and the questions people arrive already asking. The handbook is the walk — the same part in the order somebody actually meets it.

The board

3 articles

What an UNO is, every part on it, and the four strips of holes along its edges.

Power

2 articles

USB-C, the barrel jack, VIN and the 5V pin: which one wins, and how much the 5V and 3V3 pins can give.

When it does not work

1 article

A checklist, symptom by symptom, pointing at the page that covers each one.

Edit this page — content/modules/uno.mdx

Community

Questions about this product

See what other owners have asked, and read their solutions.

Ask a question ↗

UNO R3 USB-C (ATmega328P)

Loading discussions…

Discuss this article

Ask about this page. The answer stays here, on the page it belongs to, for whoever hits the same wall next.

Browse Modules and blocks on the forum →