Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [atmega32u4]

The tag has no usage guidance.

1
vote
2answers
44 views

Can I use the internal Atmega32u4 clock for USB applications?

I believe I can set a fuse in the atmega32u4 to tell it to use its internal clock rather than an external crystal. Would the internal clock be acceptable for using the microcontroller as a USB HID ...
0
votes
2answers
48 views

What fuse to set to enable 16MHz clock on the atmega32u4

It's my first time attempting to program an Atmega32u4, or any microcontroller for that matter, on a custom board I got printed. avrdude has a weird output when I, for example, run this command: <...
0
votes
0answers
49 views

PWM output with Teensy 32. Atmega32u4 failing when printing values to terminal

I am implementing PID control and have developed code that reads analog potentiometer inputs, converts it to discrete counts, and outputs a PWM response to a DC motor based on the angular displacement ...
0
votes
0answers
36 views

Issue with programming Atmega32u4 (lfuse memory not accessible using FLIP)

From my last question, I've managed to connect my Atmega32u4 to my computer. Now, when attempted to initialise the bootloader using avrdude, I get the following error message: ...
2
votes
2answers
109 views

How can I program an Atmega32u4 over USB with this schematic?

This is my first time trying to program an Atmega32u4. I made a PCB with the following schematic: Now I've soldered all the parts onto the PCB, and I've plugged a micro usb cable from my computer ...
0
votes
1answer
52 views

ATmega stopped working after changing CKDIV8 fuse

I have ATmega32U4. I connected it via SPI programmer and in Atmel Studio I have read their signature properly. It was working. Then I cleared and programmed CKDIV8 fuse. Clock was set to internal RC. ...
0
votes
1answer
152 views

Help with Atmega32u4 custom PCB

I have attempted to design my own custom Atmega32u4 board, but when I assembled it it didn't show up in windows device manager. I fixed the problem where I forgot to connect VBUS to VCC with a jumper ...
1
vote
1answer
173 views

ATMega32u4 VBUS and SMD Schottky Diode

I have spent quite a bit of time trying to work this out, but I just can't. I want to power my ATMEGA32U4 chip via USB, and at the same time send that USB +5V off to the circuit +5V bus per the ...
2
votes
1answer
74 views

Atmega32u - Ground in bus powered configuration

The Datasheet provies an example configuration for when the device is powered from the bus, and shows the bus Vss connected to ...
0
votes
1answer
69 views

Why PINxn with pullup reads zero when nothing is connected to it?

Consider the following C-program: ...
0
votes
1answer
105 views

Will other devices interfere with programming a ATmega32U4 if attached to SPI bus?

I’m designing a custom PCB around an ATMega32U4. The 32u4 will talk to another onboard component via the SPI bus. Since the SPI pins (MISO, MOSI, SCK) are also used for ISP programming could other ...
0
votes
1answer
297 views

Is my PCB layout ok? (ATMEGA32U4, WizNet W5500, Ethernet)

I want to design a device that listens to certain network communication and calculates a MIDI clock signal out of this information. The MIDI output is via classical MIDI port or via USB MIDI. I am ...
0
votes
1answer
110 views

i2c interference on coiled wire

Hello good day I been trying to build split keyboard using 2 pro micro. I'd been following let's split keyboard using qmk firmware. And the connection diagram of the i2c is this When doing it on ...
0
votes
1answer
71 views

Atmega32u4 Pin F0 output is only 3.64V, not 5.00V

Unlike F4 which outputs 5.0V, my F0 pin only outputs 3.64V. Is this normal? This is my code: ...
0
votes
1answer
289 views

4n25/35 optocoupler detect led on/off

Hey all i am just wondering if my drawing below is correct in order to have an arduino detect an on or off led on another board using a optocoupler? My thoughts of the above drawing is that when the ...
1
vote
2answers
479 views

Do I have to provide VCC to every VCC pin on Atmega32u4 MCU?

Atmega32u4 has 7 VCC pins. Can I connect 1 of the 7 VCC pins to the power supply to power the MCU, and use the rest of the VCC pins (6 of them) on the MCU to power other peripherals, such as LEDs?
1
vote
1answer
458 views

ATmega16u4 and ATmega32u4 i2c bug in Proteus AVR model?

I am trying to use i2c with ATmega16u4/ATmega32u4 in Proteus (version 8.5 SP1) and in my i2c code the following code line hangs the MCU: ...
-1
votes
2answers
857 views

ATmega32U4 with TXLED and RXLED as output pins and USB functionality

I use ATmel ATmega32U4 in a schematic which copies Arduino Leonardo almost completely. So, Caterina-Leonardo bootloader works fine with it. Unfortunately, I have run out of all available output pins. ...
3
votes
2answers
549 views

Re-purpose USB cable to carry I2C

I was wondering if it would be possible to connect an IO extender (MCP23017-E/SP) to an ATMega32u4-AU via an USB cable. I figured that if you connect up the SCL pin to the Data+ of the USB and the ...
2
votes
2answers
151 views

how to program the fuse bits of atmeta32u4 via the usb port?

here I have an avr development board with a core of type Atmega32u4. I can only access to the memory via a usb cable.The default fuse bits seem to enable the JTAG which I want to disable. ...
0
votes
1answer
353 views

Virgin Atmega32u4 USB ISP initialization failure

I custom made my own PCB to use Atmega32u4. It's really a clone of PJRC's Teensy 2.0. Unfortunately I cannot initialize any of my Atmel Store purchased Atmega32u4 using USBTinyISP. The schematic is ...