Questions tagged [atmega16u2]
22 questions
6
votes
2 answers
Arduino Uno as USB to Serial converter (bypass 328p)
I'm trying out computer to computer serial communication using 2 Arduino Unos (both connected to different computers).
Right now, I use the Software Serial library, which redirects data from the SoftwareSerial ports to the hardware Serial (over USB…
Carl
- 99
- 1
- 3
3
votes
1 answer
I can't upload my sketch to Arduino Uno using avrdude
I have already spent a couple of days by trying to upload a sketch onto my Arduino Uno R3 board and now it's time to give up, so I'm trying to ask some more experienced developers.
My hardware and software configuration…
Alexander Perechnev
- 151
- 5
2
votes
2 answers
Trying to understand the bottleneck of sensor sampling rate
Lets say I have a sensor connected to Arduino Uno Rev3's I2C Bus. I am reading the sensor output and using Serial.print() to send the sensor reading back to a my laptop.
I am trying to understand the bottlenecks that limits the sensor sampling rate…
Quazi Irfan
- 156
- 1
- 10
2
votes
1 answer
need to use jp2 because need extra pins
i clearly understand jp2 is the extra leftover pins of atmega16u2 . but how to access it ? i find my arduino has less pins and jp2 are the only ones left . but if it is not accessable , why do they have it ?
and also , if it requires seperate…
Raj
- 41
- 4
2
votes
1 answer
Broken USB connection
When I connected an external power supply to my Arduino Uno R3 (it was connected to PC via USB cable too), I heard Windows disconnected device sound and the device isn't visible since then (nothing happens when I plugin the USB). Cable is ok,…
michalo2882
- 21
- 1
2
votes
1 answer
Resetting 16U2 Processor on Uno (R3)
This question got me thinking, the OP was wondering about how to "bring back" Leonardo boards connected to a Raspberry Pi via USB. The Leonardos would occasionally drop off line and could not be brought back by resetting the board.
So I got curious…
dlu
- 1,661
- 2
- 15
- 29
1
vote
2 answers
Can we use more than one timer when programming an Atmega32/16?
I tried to do a simple program using the ATmega16 microcontroller, the program is to toggle two LEDs the first one by using timer0 interrupt and the other using timer2 interrupt.
1
vote
1 answer
Can Only Upload Arduino Sketch Once to Custom Mega2560 Board
I created a custom Arduino based off the Mega2560 R3. It uses the ATMega16U2 uC as the USB interface between ATMega2560 uC and the PC.
The bootloader on the 2560 is uploaded by using an Arduino Micro via ArduinoISP. I followed this tutorial from…
Agriculex
- 149
- 5
1
vote
0 answers
How can I tell if sketch is really uploaded
I am trying to figure out how to tell if my sketch upload was really successful. My Arduino UNO with AVR ISP example loaded and a Chinese AVR ISP programmer board inserted tells me that my sketch was successful but because the memory used in the…
Southerner
- 11
- 1
1
vote
1 answer
Reprogram Atmega 16u2 on Arduino Mega with Arduino IDE?
I had an Arduino mega 2560, suddenly Arduino didn't recognize my computer and I thought the problem is about Atmega 16u2 and I decided to copy hex file from another Arduino Atmega 16u2 and paste to damaged Arduino but it didn't work.
in fact, in our…
iman ansari
- 11
- 3
1
vote
1 answer
Uno pin connection: Atmega16u2 & ATmega328P
On my Uno, I set up the HoodLoader2 (link below) so I can program both the ATMega16u2 and the ATmega328P. I can communicate between the two using the serial port. However, I need the serial port to communicate between the Uno and the PC. Can I…
MrSparkly
- 179
- 7
1
vote
0 answers
Arduino Uno R3 (with Atmega 16U2) and macOS 10.11 not working
So,
I have the newest Arduino IDE (1.8.5) installed and the newest release of Arduino AVR Boards 1.6.21.
My OS: macOS 10.11.6.
Usually I only use Nano's china clones with an CH340 USB-Serial chip, I have installed the wch driver and it worked fine…
stevenfoncken
- 19
- 2
1
vote
2 answers
Temperature sensor and LCD
I have a project which uses a DS18B20 temperature sensor and an LCD with an I2C interface on it. I have connected the sensor to my micro-controller (the DS18B20 has a 12-bit digital output) to the ATmega16 PD17, but as I try to print my values on…
Diana Lc
- 125
- 1
- 2
- 6
1
vote
1 answer
Enabling keyboard feature on Arduino with CH340G
I've seen here that it is possible to enable keyboard feature on Arduino Uno so it can emulate a keyboard (send keystrokes to computer) like the Leonardo. They do it by updating ATmega16U2 firmware. But I bought a cheap arduino clone that uses…
Nicolas
- 163
- 1
- 2
- 8
0
votes
0 answers
Why can my computer not see my Arduino Uno?
I've plugged my ELEGOO Uno R3 into a USB port on my computer with a USB cable. However, neither Arduino IDE nor my computer can see the device. When the Uno is connected, it shows no connected devices. The problem is not the USB port or cable; both…
elvishpotato
- 1
- 1