Questions tagged [arduino-uno]

The Arduino Uno is a microcontroller board based on the ATmega328 and created by Massimo Banzi.

The Arduino Uno is a microcontroller board based on the ATmega328 and created by Massimo Banzi. It has 14 digital input/output pins (of which 6 can be used as PWM outputs), 6 analog inputs, a 16 MHz ceramic resonator, a USB connection, a power jack, an ICSP header, and a reset button. It contains everything needed to support the microcontroller; simply connect it to a computer with a USB cable or power it with a AC-to-DC adapter or battery to get started.

The Uno differs from all preceding boards in that it does not use the FTDI USB-to-serial driver chip. Instead, it features the Atmega16U2 (Atmega8U2 up to version R2) programmed as a USB-to-serial converter.

Revision 2 of the Uno board has a resistor pulling the 8U2 HWB line to ground, making it easier to put into DFU mode.

Revision 3 of the board has the following new features:

  • 1.0 pinout: added SDA and SCL pins that are near to the AREF pin and two other new pins placed near to the RESET pin, the IOREF that allow the shields to adapt to the voltage provided from the board. In future, shields will be compatible with both the board that uses the AVR, which operates with 5V and with the Arduino Due that operates with 3.3V. The second one is a not connected pin, that is reserved for future purposes.
  • Stronger RESET circuit.
  • Atmega 16U2 replace the 8U2.

"Uno" means one in Italian and is named to mark the upcoming release of Arduino 1.0. The Uno and version 1.0 will be the reference versions of Arduino, moving forward. The Uno is the latest in a series of USB Arduino boards, and the reference model for the Arduino platform; for a comparison with previous versions, see the index of Arduino boards.

Quick summary

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

Detailed specifications: http://arduino.cc/en/Main/arduinoBoardUno#.Uyqh84X-tqc

2198 questions
3
votes
2 answers

Qt not receiving serial data from arduino

I am writing a C++ program using Qt that reads data from the serial line. The "producer" of the data is an Arduino UNO board. The Arduino code is very simple. Currently, it just generates a random number and sends it over the serial line. Here is…
David
  • 1,847
  • 4
  • 26
  • 35
3
votes
1 answer

Connect to my server from ESP8266 Arduino

I have an Arduino Uno and a server written in C++. I connected the ESP8266 to my router successfully using the following code: #include SoftwareSerial esp8266(3, 2); void setup() { // Open serial communications and wait for…
P.Kole
  • 33
  • 1
  • 6
3
votes
1 answer

Python-Arduino-Prototyping-API v2- Closing Serial Port

I am using the Python-Arduino-Prototyping-API - v2 module to communicate with my Osepp Uno (Arduino Clone). The API does have a close() function which should close the port. I would like to check the status of the port when I open the program. If…
Mike C.
  • 1,761
  • 2
  • 22
  • 46
3
votes
3 answers

Cannot upload sketches to Arduino Uno R3 -- avrdude: stk500_recv(): programmer is not responding

Update: I have been told (in the first answer to this question) that I should install the Windows drivers for the ATmega 16U2 chip onboard my Arduino. Unfortunately, I have been unable to locate these drivers (I am looking specifically for Windows…
Matthew
  • 99
  • 1
  • 2
  • 10
3
votes
2 answers

C++ Arduino, use of sprintf inside a method with a char pointer parameter, breaks program

I have worked for most of the day on this problem and have narrowed it down to the following simple program to replicate it: Test.ino // the setup function runs once when you press reset or power the board void setup() { …
user2109254
  • 1,709
  • 2
  • 30
  • 49
3
votes
2 answers

How to make sure a data type is as large as it needs to be in C++

Is there a simple way to make sure data types remain the same size across different platforms and architectures in C/C++? In C++, let's say I have written a hypothetical, bare-bones program: #include int foo; int main(void) { …
Mason Watmough
  • 495
  • 6
  • 19
3
votes
0 answers

Command Arduino Uno using Ardulink

I am trying to command my Arduino Uno using Ardulink library in my JAVA Application but without success I don't know what have I missed, here is my code: Link link = Link.getDefaultInstance(); boolean connected = link.connect("COM6",…
sabrina2020
  • 2,102
  • 3
  • 25
  • 54
3
votes
1 answer

How does this simple line of C code work?

I need 9 bit UART data on an Arduino Uno and so I have to do some manual setup of the Arduino UART. Basically, I don't understand this line of example code (from the datasheet), it is meant to enable a UART Tx and Rx pin on the Arduino, which done…
Nathan Darker
  • 141
  • 1
  • 9
3
votes
1 answer

Arduino 3.3v reference for ADC

I have an Arduino UNO. I have a sensor that has 3.3v output. To maximize ADC precision, I've jumpered the 3.3v Arduino output to the AREF and in setup have analogReference(EXTERNAL); I have a timer set to tick periodically. When it does, the ADC is…
user3657408
  • 89
  • 1
  • 7
3
votes
2 answers

How to find Co2 and O2 level using MQ135 with Arduino

How to find Co2 and O2 level or any other parameters using MQ135 with Arduino, I just sensed ppm data and displayed it on screen. int sensorValue; int pin8 = 8; void setup() { Serial.begin(9600); // sets the serial port to 9600 …
Jitendra Reddy
  • 31
  • 1
  • 1
  • 5
3
votes
7 answers

ESP8266 and Arduino Interfacing

I have connected Arduino with ESP8266 with Arduino pin 2 connected to ESP's Tx Arduino pin 3 connected to ESP's Rx via Voltage Divider Arduino GND connected to ESP's GND Arduino 3v3 connected to ESP's CH_PD I have powered ESP8266 using 1117 Voltage…
AngryBird
  • 344
  • 1
  • 4
  • 15
3
votes
1 answer

How to know what push button has been pressed?

I'm a beginner with arduino and I would like another program I'll write to read the buttons I'll press to do a launchpad or a piano if you will. So for example I'll have 4 buttons and when I press button 1, I should be able to know that the button 1…
Ced
  • 15,847
  • 14
  • 87
  • 146
3
votes
5 answers

arduino suddenly shows "avrdude: ser_open(): can't open device "\\.\COM3" after last upload

I am using arduino uno to make a sound detector. I uploaded a program, found error in the code that it returns unintended numbers unreasonably big. I also think I used wrong code for the module, but it was connected in the way that can work…
Keon Kim
  • 740
  • 3
  • 12
  • 27
3
votes
1 answer

Add binary data file to Arduino sketch

Is it possible to add an binary data file together with a Arduino sketch that is transferred when sending it over to the Arduino? I manage to add the file in the IDE and it was copied to a "data" directory in my project folder but I can't find a way…
norq
  • 1,404
  • 2
  • 18
  • 35
3
votes
2 answers

How to make AT commands work programatically in arduino for ESP8266 wifi module

I am doing a simple tcp communication from an arduino to raspberry-pi wirelessly with an ESP8266 wifi module on arduino uno.The tcp server is running on the raspberry-pi.I am able to do TCP communication with the following AT commands in arduino…
lost Coder
  • 577
  • 2
  • 8
  • 34