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
2
votes
1 answer

java.io.IOException: Underlying input stream returned zero bytes

I'm trying to read arduino uno data using a java program with the help of rxtx library. I'm using COM8 serial communication port for this. I'm using win10. my problem: when i'm using 'serial.print', then down java function working fine and…
2
votes
1 answer

Can't read data from Arduino Uno with serialport Node JS library

I'm using the serialport@5.0.0 Node JS library, and have used it before (a prior version, 4.0.7) to communicate successfully with a GSM modem. Now I'm using it with an Arduino Uno. However I can't seem to read data from it the way I used to with the…
2
votes
1 answer

Creating a Python server to recieve data from Arduino CC3000 client

I am attempting to send data from my Arduino to my computer via LAN connection on port 65 of my laptop running Windows 10. Right now, I haven't reached the data part due to my major roadblock: I cannot get the CC3000 to connect to my Python…
2
votes
0 answers

Arduino Uno: how to make it run in figure 8 continuously?

My assignment is to design and implement software to cause your Shield-Bot to run continuously in a “figure 8” where the two loops are at least 1 foot in diameter. I have put the following code together, which makes a figure 8 correctly the first…
familyGuy
  • 425
  • 2
  • 5
  • 22
2
votes
2 answers

Arduino Ethernet Shield connect to Azure IoT Hub

I am new using Arduino. I have Arduino One using a Ethernet shield and I need to send some information from the Arduino to the my Azure IoT Hub all the examples are using Wi-Fi shield. I was reading the docs from Azure-IoT-Arduino SDK for Arduino…
RicardoPons
  • 1,323
  • 9
  • 14
2
votes
1 answer

TCCR1B breaks micros()

I'm finding that when I'm using Timer 1 that the micros() function stops functioning correctly. I thought that: Arduino internal functions (except PWM on pins 9. 10 which i'm not using) use timer 0 micros() function doesn't actually rely on a timer…
Elliot Woods
  • 834
  • 11
  • 20
2
votes
2 answers

Stuck in a for loop in Arduino IDE

I'm using Arduino to look for I2C addresses, and half way through this new glitch appeared, and I don't know if it's the IDE or if I'm going insane. I know most of this probably isn't important, but I don't know what is going on so here is my…
Sally Milson
  • 45
  • 1
  • 5
2
votes
3 answers

Arduino print fails at large print count

I am running this piece of code in my loop() function on Arduino Uno: int times = 400; int i; double raw[times]; for (i = 0; i < times; i++) { Serial.println(i); raw[i] = (double) i; } for (i = 0; i < times; i++) { …
TPWang
  • 1,322
  • 4
  • 20
  • 39
2
votes
2 answers

Connecting bmp280 to arduino uno

I'm trying to connect BMP280 to Arduino Uno. However until now, I haven't succeed. I have tried…
fardew
  • 21
  • 2
2
votes
4 answers

How to use analogWrite() on multiple pins at the same time?

I would like to do, analogWrite(3,100); analogWrite(6,200); at the same time. But the problem is that only the led on pin 3 lights up. I want both to light up at the same time. I've heard about direct port manipulation, but I can only find an…
Rishi Swethan
  • 23
  • 1
  • 4
2
votes
1 answer

Array accessing in arduino and for loop

How can I access data values from the arrays in Arduino programming? The program is given below : int myArraylt[24]= {3530,1580,3880,2780,4040,11260,7935,6655,2100,5100,1450,2200,2200,5900,6180,4230,2405,3560,4535,12635,12085,3500,930,3430}; …
2
votes
1 answer

Use analog output as digital in relay pins

I can use digital pins from 1-13 as usual. For example relays.firstRelay = new five.Relay ( { pin:13, type:'NO' }); But I am unable to set pin:14. I don't get any output. Is there a way to set A0 as digital pin and use it in relay? I am using…
Gokhan Dilek
  • 4,314
  • 4
  • 21
  • 24
2
votes
1 answer

meaning of setCursor(X,Y) coordinates

This example sketch shows how to use the setCursor() method to reposition the cursor. To move the cursor, just call setCursor() with a row and column position. For example, for a 2x16 display: lcd.setCursor(0, 0); // top left lcd.setCursor(15, 0);…
Reshu Singh
  • 65
  • 1
  • 2
  • 5
2
votes
3 answers

expected unqualified-id before '[' token and +

I'm having trouble solving an unknown problem, that I've never experienced on Arduino Nano(ATmega328). I'm building up a drone source code and it has been doing well. But, errors have suddenly appeared in Arduino IDE. Obviously, I'm a rookie on…
Ms.K
  • 21
  • 3
2
votes
0 answers

(UDP Send) Simulink clarification

I am working in the lane detection using Simulink. (As short) A pi camera detecting the lane using Raspberry pi 3 microcontroller in simulink and send the control command to Arduino using RPI UDP send. (am running the model EXTERNAL and Play…