Questions tagged [arduino-uno]

The Arduino Uno is the most common of the Arduino boards. It is based on the ATmega328P microcontroller.

The Arduino Uno has become one of the most popular Arduino boards and is now in its third official revision. It is available in DIP and SMD configurations and supports a wide range of shields. There are also many third-party clones that use the same layout and specifications.

Use this tag when asking a question about using Uno boards (or exact clones), for example, asking about shield compatibility or pin configuration. Alternatively, use the tag when the question is specific to the surface-mount version of the Uno (as opposed to the DIP version).

From the official Arduino site:

Arduino Uno

Arduino/Genuino Uno is a microcontroller board based on the ATmega328P (datasheet). It has 14 digital input/output pins (6 can be used as PWM outputs), 6 analog inputs, a 16 MHz quartz crystal, a USB connection, a power jack, an ICSP header, and a reset button. It contains everything needed to support the microcontroller; Connect it to a computer with a USB cable or power it with an AC-to-DC adapter or battery to get started.

Technical specs

  • Microcontroller: ATmega328P
  • Operating Voltage: 5V
  • Input Voltage (recommended): 7-12V
  • Input Voltage (limit): 6-20V
  • Digital I/O Pins: 14 (of which 6 provide PWM output)
  • PWM Digital I/O Pins: 6
  • Analog Input Pins: 6
  • DC Current per I/O Pin: 20 mA
  • DC Current for 3.3V Pin: 50 mA
  • Flash Memory: 32 KB (ATmega328P) of which 0.5 KB used by bootloader
  • SRAM: 2 KB (ATmega328P)
  • EEPROM: 1 KB (ATmega328P)
  • Clock Speed: 16 MHz
  • LED_BUILTIN: 13

Notes

  • The "Input Voltage" above refers to the power input (to the power jack), not the amount of voltage you can put on the input pins (which is a maximum of 5 V).

  • The six analog input pins can also be used as digital pins, so you actually have 20 pins that can be used for digital input/output.

Resources

8113 questions
19
votes
6 answers

Smaller and cheaper alternative to Arduino Uno for permanent projects

I have played a bit around with a Arduino Uno that came in a kit with a breadboard and components. Soon I would like to make some more permanent things. I would prefer a smaller and cheaper unit than the Arduino Uno but that is almost as easy to use…
Andy
  • 293
  • 1
  • 2
  • 7
16
votes
2 answers

How many times can I upload a program or sketch to my Arduino Uno Clone Board?

I'm about to work on my very first project using arduino (I'm just about to buy one next week), and one of our professor says that we can only upload a program or sketch in an Arduino Uno Board for approximately 8 times. He also added that if we're…
A. Raymundo
  • 161
  • 1
  • 7
15
votes
3 answers

Can tx and rx pins on the uno be used like regular digital pins?

The uno has digital pins marked 0-13. 0 is marked as rx and 1 is marked as tx. Can these two pins be used as regular digital pins if i am short of digital pins?
c_breeez
  • 349
  • 1
  • 3
  • 9
14
votes
4 answers

What's the deal with Uno's pin 13 LED?

(I have a Sparkfun RedBoard, but this question seems to apply to R3 Unos and Uno-compatible boards.) As I was building the first circuit in my SIK guidebook (add a resistor, LED, hook it up and make it blink from code), I noticed a blue LED on the…
KatieK
  • 313
  • 1
  • 2
  • 11
10
votes
5 answers

How to expand program memory on an arduino?

Sometimes I run out of space of the program size for the embedded C program that I want to put on an arduino. So what chip do I need to expand the program memory of the arduino so that I can use bigger C programs with my arduino?
RS2322016
  • 384
  • 1
  • 3
  • 12
9
votes
4 answers

Explain what is meant by "Arduino core"

What is an "Arduino core"? Are there many different "Arduino cores"? such as a core that applies to LCD displays, another core that applies to servos, etc.?
martymarty
  • 111
  • 1
  • 3
9
votes
3 answers

Sending colours to vga monitor

I'm looking for a simple way to send a signal from my arduino to a vga monitor. What would be the easiest method, and what components would be needed? I don't need to display an image, just a solid colour.
Terry
  • 213
  • 2
  • 6
8
votes
1 answer

RTClib library dependency on Wire library

I downloaded the RTClib library from https://github.com/adafruit/RTClib. In every provided example, #include is written immediately above #include "RTClib.h" at the top of the sketch. Why is this necessary? I know the RTClib library…
Zilliput
  • 183
  • 1
  • 5
8
votes
2 answers

What is the default setting for a digital output pin

With digitalWrite(pin_number,value), we can set an output pin as HIGH or LOW. But if only coding pinMode (pin_number, OUTPUT), what is the default state for the pin pin_number, LOW or HIGH? It is noted that: Pins configured as OUTPUT with pinMode()…
jingweimo
  • 201
  • 1
  • 2
  • 5
7
votes
3 answers

Can't upload to my Nano after updating to Arduino AVR Boards 1.6.21

I recently had the Arduino IDE notify me of available boards updates, so I updated. Since then when I try to upload to my Nanos it fails: avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 10 of 10: not in sync:…
7
votes
5 answers

Extremely cheap "Arduino" for single tasks?

I have been thinking of a million things to do with my Arduino, but those things are extremely simple and it would leave my Arduino as a $25 waste. For example, programming Arduino to control my living room lights with my smartphone ... I was…
fantom
  • 173
  • 3
7
votes
2 answers

What is actually an IC (Integrated Circuit)?

They say that you must know what IC your board has before loading a new program from the Arduino IDE and that the information is available on the top of the IC, but where is it exactly and what is an IC?
SpaceMonk
  • 353
  • 2
  • 4
  • 8
7
votes
3 answers

error: redefinition of ' '

When I am trying to compile the following code, int delayTime = 1; int charBreak = 2.1; #include int rled1 = 1; int rled2 = 2; int rled3 = 3; int rled4 = 4; int rled5 = 5; int gled1 = 6; int gled2 = 7; int gled3 = 8; int gled4 =…
user3826856
  • 83
  • 1
  • 2
  • 4
7
votes
2 answers

Using Arduino for simultaneous lighting effects

I am building a computer for my son (me). I'm trying to spark his interest in computer technology, so my idea is to drive multiple case lighting effects with a microprocessor or controller. I went with the arduino over the pi because of simplicity…
7
votes
1 answer

What is the physical location of the U1A symbol on Arduino Uno?

I'm trying to find an easy way to allow an Arduino Uno to determine if it's being powered from USB or the DC barrel jack. In this thread, one user recommends wiring the output of the on-board comparator op-amp (U5A pin 1) into the digital input…
Cerin
  • 1,618
  • 2
  • 24
  • 41
1
2 3
83 84