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

How to display the local IP of nodemcu esp8266 in Serial using arduino

This is the Serial of my arduino it doesn't show anything what am I doing wrong in my code? Arduino Code #include #include #include #include const char* host =…
2
votes
1 answer

PHP overflows the arduino buffer

I have a problem with arduino (uno) buffer overflow. I am trying to create a simple application in which I insert b (blue diode) or r (red diode) or space (space does not turn on any diode) through the PHP page into the form, send it and then the…
Jullidu
  • 33
  • 3
2
votes
0 answers

How to use Keypad_MC17 library in Arduino-Ide

I want to know the button pressed in the Serial-Monitor in Arduino-Ide. I am using Arduino-Uno Board and I have connected the MCP23017 IC via I2C Connection with Arduino-Uno board. I have connected the 5*5 Push-button Matrix with the pins of…
Paulson Raja L
  • 379
  • 2
  • 11
2
votes
0 answers

Where to input the code of a 5*5 push-button matrix to control the 5*5 Led-Matrix which lights up in the shape of a square

I want the Led's in a 5 * 5 Led-Matrix to light up in the shape of a square. If the corresponding buttons in the 5*5 Push-button matrix are pressed, the led turns off. The buttons are pressed in the clockwise direction starting from the first…
Paulson Raja L
  • 379
  • 2
  • 11
2
votes
0 answers

Reading microphone input values with RPi through MCP3002 ADC

I'm trying to make a clapper switch to turn on and off an LED on Raspberry Pi 3B+. I'm using MAX4466 of a kind microphone (didn't buy it by self so don't know the exact model, but it's a mic with 3 outputs - Vcc, GND, Out and looks very similar to…
2
votes
0 answers

How to send data from esp32(BLE) to (HM-10 interfaced with arduino)?

This is the full code for esp32 // ESP32 Example of the Bluetooth connection to the HM-10 module (CC2541) JDY-08 // Writes to the serial interface of the HM-10 module "Hello World" // Receives serial data from the HM-10 module #include…
2
votes
0 answers

MySql query with arduino and sim900

I'm doing a project with Arduino Uno and the Sim900 module. I want to do a query to a MySql server with PHP and the Arduino code. Could you help me doing the Arduino code? I've already written the database connection and the query with PHP, the…
Arnau Serra
  • 83
  • 2
  • 7
2
votes
0 answers

UDP packet is not received by esp8266 with Arduino from python server broadcast

I'm trying to send udp packet from python server to arduino client by broadcast IP('255.255.255.255').The python server is sending the packet fine but the arduino can't recieve the packet at all even after disabling the windows firewall server code…
2
votes
1 answer

Can not compile Arduino code with Atmel registers

I am using the VSCode editor with the Arudino extension installed. Basically, I have a simple program where I calling a function that will setup a timer for 5 ms and then run. However, in the editor, I am getting the error: "error: 'OCR3A' was not…
philm
  • 797
  • 1
  • 8
  • 29
2
votes
1 answer

ATMEGA328P-PU takes upload, but cannot communicate through Serial

I am using Standalone ATMEGA328P-PU to get the accelerometer data from mpu6050 and send to to Serial at baudrate 115200 and also it sends the data to another serial(to HC05 bluetooth module). But the problem is that sometimes I am facing a strange…
2
votes
1 answer

Overflowed value prints non-overflowed value on Arduino

First of all, I know the problem with the code and how to get it to work. I'm mainly looking for an explanation why my output is what it is. The following piece of code replicates the behaviour: void setup() { Serial.begin(9600); } void loop() { …
Lonefish
  • 647
  • 2
  • 11
  • 32
2
votes
1 answer

Strange delay behavior in Atmega328P

So, I have implemented a custom delay function using the standard one found at utils/delay.h. inline void delay_us(uint16_t time) { while (time > 0) { _delay_us(1); time--; } } It's called inside a loop in the main…
Hugo Sartori
  • 560
  • 6
  • 21
2
votes
2 answers

python 3.x pyserial communication with arduino uno (servo control)

i have a trouble with serial communicate (python 3.x -> arduino uno). when i run this code in python 2.5 python 2.5: import serial usbport = 'COM3' ser = serial.Serial(usbport, 9600, timeout=1) def move(servo, angle): if (0 <= angle <= 180): …
2
votes
2 answers

Can read, but cannot write serial ports on Ubuntu 16.04

I have a strange problem with trying to write data to a serial port. I am running Ubuntu 16.04 on a NUC7i7DNBE, and am trying to make a serial connection to an Arduino UNO. The Serial API that I am using is found here:…
Raisintoe
  • 201
  • 1
  • 4
  • 11
2
votes
3 answers

Unexpected behavior when using freeRTOS with two tasks

I am using MPU9250-breakout board with Arduino Uno. The library I used is from here. Below is my code. #include #include "mpu9250.h" MPU9250 IMU(Wire,0x68); int status; void task_1(void *pvParameters) { (void)…
Lion Lai
  • 1,862
  • 2
  • 20
  • 41