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

Using Raspberry Pi to Receive Float from Arduino using NRF24L01

I've been learning on how to transfer data from Arduino to Raspberry Pi wirelessly using NRF24L01 based on the following reference: Raspberry Pi 3 Tutorial 14 – Wireless Pi to Arduino Communication with NRF24L01+. The reason why I want to do this is…
foxfaisal
  • 1
  • 1
0
votes
0 answers

Trouble Reading from Serial.readstring() arduino UNO

The objective is to enter "on" and "off" in COM port and switch the Pin 13. No matter what I do. It won't switch on or off. Need help. I tried to see if the string I entered is "on". It prints "on" but when I check for the result it shows its…
0
votes
1 answer

How to read servo position and send it to Android for TextView?

I send a command to move the servo through Android, then the servo sends the position to Android via Bluetooth. How to read the servo position and send it to Android for a TextView? This is the code I use. Value 100 to turn on and 150 to turn off…
Rifki Arif
  • 13
  • 2
0
votes
1 answer

Arduino:ESP8266: How to avoid hardcoding of SSID and Password in Arduino sketch when board is Arduino UNO

I am using Arduino UNO and ESP8266 Wifi Module for reading sensor data. I have selected board as "Arduino/Genuino UNO" and using AT command to communicate with ESP8266. My code run very well. However, how do I avoid hardcoding SSID and Password in…
0
votes
1 answer

Activting low pass filter on MPU6050

I would like to activate the low pass filter of 94 Hz bandwidth on my MPU 6050. By reading the documentation (PAGE 13), it says that you activate the appropriate bandwidth by writing the selected number into address 1A (PAGE 6). Would this inside…
mcluka
  • 285
  • 1
  • 7
  • 17
0
votes
0 answers

Arduino UNO audio output with R2R DAC

I'm trying to implement audio output using R2R 8bit DAC and Arduino UNO. This is my hardware: https://i.stack.imgur.com/WeNPf.jpg This is the sound i want to hear: http://vocaroo.com/i/s0VDwBBkQRdc This is a wav file, 16Khz, mono, 8 bit pcm. I used…
tomerJK
  • 39
  • 7
0
votes
1 answer

method joptionpane.Showinputdialog arguments not applicable in processing

I am new to arduino programming . This is a gctrl code in the processing software. I am getting this error "the method showInputDialog(Component,Object,String,int,Icon,Object[],Object) in the type jOptionPane is not applicable for…
jsr
  • 11
  • 2
0
votes
1 answer

Writing to File in Python, Reading From File with Arduino

I'm currently using Python 2.7 to pull pixel information from a series of bitmaps, and writing 24 bits of information to a file (with an arbitrary extension, ".bfs", to make it easy to find down the pipeline), 8 bits for position x, 8 bits for…
user3596565
  • 35
  • 1
  • 7
0
votes
2 answers

Why is a while loop needed in main for calling ISR in arduino UNO?

I am writing C code that gets uploaded to arduino uno. It was a simple exercise in learning how to call the ISR in C. Here is the code: #include #include #include #include int main(){ DDRB =…
ahat
  • 343
  • 3
  • 9
0
votes
2 answers

SIM5320 Arduino GPRS shield with MQTT

The new arduino GPRS/GSM 3g shield says that it has MQTT support with AT commands. However, each command that I've tried from the official documentation has returned an error and every other person on the internet has reported the same thing. I…
0
votes
1 answer

PID line following using arduino

Why do we add all the errors in PID line following code? i am not able to understand the answer to it properly. FORMULA: total_error = int(kp* proportional + ki* integral + kd * derivative)
abhit pahwa
  • 153
  • 2
  • 7
0
votes
0 answers

interactive slider to turn on LED using pyfirmata

Trying to turn on an LED using an interactive slider using pyfirmata library. I simply want to turn it off or on using the slider. Here is my code (I do not know what I'm doing wrong): import pyfirmata import time from ipywidgets import widgets,…
Spencer Trinh
  • 743
  • 12
  • 31
0
votes
2 answers

Serial.read() skips over serial input

Trying to send serial messages using Arduino Uno and standard IDE. Ran into issue parsing the serial message sent to the device. See that if I include this line Serial.println("Serial.available() = " + String(Serial.available())); I will be able to…
0
votes
1 answer

Incremental index doesn't change at end of for loop

I want to interface Arduino with PLC to pull some information. My problem is at Function 3: Set alarm flag / reset flag. This function is used to compare history value and present value. I tried to process some integer number (test_number) and…
0
votes
1 answer

Trouble connecting phone to arduino using droidScript

I am trying to connect my sony xperia sp running on android 7.1 ( Lineage OS ) to my arduino uno using an OTG cable and the droidScript app. It worked perfectly the first time, it asked permission to open droidScript : I clicked on "OK" and checked…