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
5
votes
2 answers

Is a websocket the least memory intensive approach to moving JSON data from Arduino Uno to Bluemix?

I really need to some help. Nothing broken, just needs some guidance. I have an Arduino Uno and AdaFruit CC3300 Wifi Shield. I have built a well functioning solar powered weather station and have saturated every analog and digital io. All is…
DPGUITARMAN
  • 161
  • 1
  • 2
  • 12
5
votes
2 answers

Cannot control servos through 32-servo-controller on Aurduino Duamilanove

I have servo (TowerPro sg90) connected to 32 servo controller (this one) through UART interface (RX-TX, GND-GND). Seller provide documentation how to connect and control my servos, but it isn't work. Servo work if I connect it indirectly to…
rkyr
  • 3,131
  • 2
  • 23
  • 38
5
votes
2 answers

Arduino joining string and *char

I'm new to arduino and I have stumbled upon a problem. I want to send data via my esp8266 to my php page. But I don't know how to join my data with this GET request. Here is my code: String card = "2-3d-fg-d6-12-68-32-3f-35-45-42-53-2a-3"; char…
Jure
  • 118
  • 1
  • 1
  • 9
5
votes
4 answers

The breakpoint will not currently be hit. Unable to set requested breakpoint on target

Im working on Arduino Uno board recently im stuck with my code, i couldnt debug using print() in ArduinoIde.So i downloaded AtmelStudio 6.2 for debug purpose. when i set the breakpoint and try to build .Im getting the warning The breakpoint will…
satish
  • 51
  • 1
  • 4
5
votes
6 answers

Arduino: Converting uint64_t to string

I have a binary that I was able to convert to a uint64_t. It's big, so I really needed a uint64_t. I'm having trouble converting it to a char array. I can do it in a standalone project but not on Arduino Some roadblocks that I encountered: I can't…
John
  • 77
  • 1
  • 1
  • 5
5
votes
1 answer

Getting volume levels from PyAudio for use in Arduino

I want to sent volume data from my laptop's audio input (just the built-in microphone in my Macbook) to Arduino with as little lag as possible. I see that it isn't hard to capture the audio input using PyAudio, but most of the examples for that…
John
  • 1,405
  • 2
  • 14
  • 21
5
votes
4 answers

Arduino doesn't get recognized

I'm not certain this is the right place to ask, but I've seen other Arduino threads on stackoverflow, so I just assume it's ok. My arduino uno-compatible board is not getting recognized. I tried it on windows 8 and on windows xp. When I open the…
Ruben
  • 524
  • 1
  • 6
  • 14
4
votes
0 answers

Why does Rust's floating point division work differently than equivalent C++ code?

Any calculations x / y (where both operands are 32bit floats) yield 0 in Rust when I compile for the AVR ISA. Specifically, I use avr_hal for interacting with the Arduino. I read unsigned integer values, convert them to floating point numbers,…
Niklas Vest
  • 872
  • 6
  • 20
4
votes
1 answer

What is the Rust equivalent of Serial.println from the Arduino C++ API?

A common pattern in Arduino C++ sketches is the use of Serial.print() or Serial.println() to debug problems. What is the corresponding Rust idiom when programming for the Arduino Uno?
Mutant Bob
  • 3,121
  • 2
  • 27
  • 52
4
votes
2 answers

Why is VS Code throwing this error (ARDUINO)?

Okay, so I'm trying to code & upload to an Arduino with VS Code (Visual Studio Code). When I try to upload or verify my Arduino code, this error pops up: If you cannot see that, it says: [Starting] Verify sketch - ir_remote\ir_remote.ino [Warning]…
Vamp
  • 65
  • 1
  • 7
4
votes
0 answers

Writting a libusb based program to communicate with Ardino Uno

I wrote the following program to communicate with with an Arduino UNO. This test program let the user send one byte at a time from PC to the Arduino board. If the broad received byte sequence 65,71,67,68 UNO broad will blink the built-in LED and…
4
votes
1 answer

Servo motor keeps trying to reach beneath 134°, what is wrong?

I am trying to get the Arduino Uno board to control a gripper driven by a servo motor. The servo tries to go beneath 134° which is mechanically impossible. What can I do to fix this? I tried to limit the motor to 180°, when it was not a reading of…
Herman
  • 41
  • 3
4
votes
1 answer

How to copy string (char*) from Flash to RAM with strcpy_P

I'm trying to copy string from Flash to RAM but it results into garbage. const char string[] PROGMEM = "ABCDEF"; char buffer[20]; char *ptr = (char*)pgm_read_word(&(string)); strcpy_P(buffer, ptr); What did I miss?
Luc-Olivier
  • 3,715
  • 2
  • 29
  • 29
4
votes
1 answer

flowmeter using two ultrasonic with arduino

I'm working on a project which consists of two ultrasonic, LCD and Arduino. ultrasonic is also used for flow rate measurements. the concept behind that is to send waves by first ultrasonic to the second, calculate the time1. next, send waves from…
Majazen ـG
  • 139
  • 1
  • 2
  • 8
4
votes
3 answers

How to print in Arduino a char variable as a number to the Serial Port?

I am using Arduino Uno. I am reading a byte value from the EEPROM and storing the value in a variable of type char (1 byte). I want to print the value of the variable as a number (not to the corresponding ASCII code) to the Serial Monitor. For…
roschach
  • 8,390
  • 14
  • 74
  • 124