Skip to main content

Questions tagged [atmega32u4]

atmega32u4 is low-power Atmel 8-bit AVR RISC-based microcontroller

Filter by
Sorted by
Tagged with
0 votes
1 answer
86 views

I want to run my 32u4 in 2MHz. According to gammon I will gain 4mA in runtime. To my understanding this changes all the buses speed like UART, USB?, I2C?** and SPI?*. Probably I will have problems to ...
krg's user avatar
  • 15
0 votes
1 answer
91 views

I made a custom PCB with C-type USB and atmega32u4 (arduino leonardo). But my PC doesn't recognize the atmega32u4. Here are my schematic. Why my PC doesn't recognize the pcb in schematic?
hyunseob kim's user avatar
2 votes
2 answers
333 views

How to detect, if Serial is really connected to listening PC program? (on atmega32u4) I need to connect from PC to Arduino Micro Pro over USB Serial and disconnect again and not slow down the Arduino ...
gilhad's user avatar
  • 1,466
2 votes
1 answer
246 views

I’m working an Arduino program that uses the FastLED library and is all coded in the Arduino IDE (not my choice, just a result of this OOS library). However, I don’t want to run this on an “Arduino” ...
Felix Jen's user avatar
  • 123
2 votes
1 answer
3k views

I have the beetle board, a Leonardo clone same as in this question. Using the reset pin and quick hands on the keyboard, I am able to flash with avrdude and get also the board info with a command ...
Simson's user avatar
  • 123
2 votes
1 answer
835 views

I am trying to upload an hex file to my arduino pro micro using Avrdude . The thing is that I cannot upload any code using the Avrdude terminal commands , but when I use arduino IDE to upload any code ...
santiago's user avatar
0 votes
0 answers
294 views

I have a USB powered board, that should consume as little power when idle as possible, while keeping the USB connection alive. The device only sends data to the host, doesn't receive any, so the ...
Dakkaron's user avatar
  • 239
-1 votes
2 answers
627 views

I have a Spark Fun Pro Micro (ATmega32U4) without a USB connection (it was broken off at an earlier point) that I want to use to duplicate a prototype running on another Pro Micro. How can I upload a ...
InkyDigits's user avatar
2 votes
1 answer
423 views

The question is meant as in, can I lock myself out of the Arduino using the bootloader, if I flash a hex file that doesn't contain the bootloader? Or does the bootloader automatically add the flashed ...
Dakkaron's user avatar
  • 239
0 votes
0 answers
181 views

I have a custom Leonardo board (mega32u4-based) that does not use at all the USB features. When I build my sketch (vscode and platformio) I read: Compiling .pio/build/leonardo/FrameworkArduino/CDC.cpp....
Mark's user avatar
  • 393
3 votes
1 answer
341 views

I need help in writing some code that will allow for the ATMega32u4 to be aware of when it's plugged into a USB port. I'm not really familiar with the ATMega32 or with it's function in Arduino, so I'm ...
Jay's user avatar
  • 135
0 votes
1 answer
158 views

I currently try to build some Drums for the game Clone Hero. The problem that I have is that I can't use both of my Piezo inputs that I have hooked up at the same time. I have a Arduino Pro Micro and ...
DuddiSuppe's user avatar
1 vote
0 answers
661 views

Hi everyone, first time here on the forum, so, apologies if I'm doing anything incorrectly. Long story short, I built a device that takes voltages in and transform them into midi data. I used an ...
nn_mic_nn's user avatar
1 vote
1 answer
337 views

Greetings to all members of the Forum. I would like to express my deepest gratitude, with respect to the title of this post. The last week I am trying to capture and decode a PPM Signal from an RC ...
k. theodosis's user avatar
0 votes
1 answer
784 views

I recently bought an ATmega32U4 based Arduino Pro micro. I am using the Keyboard library and interfacing with my PC via USB. I am trying to create a serial communication between the Arduino Pro micro ...
Rishabh's user avatar
1 vote
2 answers
2k views

I am creating a keyboard and the PC I use it with is configured for UK so the keyboard layout it expects is this I've highlighted the ISO-UK vs ANSI-US differences but the only key I am having real ...
RedGrittyBrick's user avatar
1 vote
0 answers
131 views

There is a board with atmega32 microcontroller, sim card and Bluetooth modules. I used to program this microcontroller using a serial port cable. As long as the circuit is able to connect to internet, ...
Davoud's user avatar
  • 111
1 vote
1 answer
265 views

I have an Arduino Pro Micro(blue version) and I'm having trouble using the I2C. To test it, I use the code below and the result is an infinite square wave on SCL and SDA lines and I only get the ...
therman's user avatar
  • 41
2 votes
1 answer
2k views

I've been building a small macro keypad based on the ATmega32U4. So far, I've been able to send standard key presses to the host. But since I want a program on the host system to react to the key ...
Nikolai's user avatar
  • 23
1 vote
0 answers
179 views

Hi, I'm designing a custom board with the ATMEGA32U4, with a GPS receiver and LoRa radio and it is powered from a LiPo battery. Since I'll need to make hundreds of this board later on, I'd like to ...
therman's user avatar
  • 41
3 votes
2 answers
3k views

I'm using arduino pro micro Atmega32u4 5v 16Mhz I want to use it to make a HID Keyboard and Mouse but I ran out of pins so I was wondering if I can use the RX and TX pins as digital input pins. Will ...
Keima-kun's user avatar
0 votes
1 answer
1k views

disclaimer I am new at hardware/circuits I am currently trying to connect two MPU-6050 to a single Micro board. In addition, there are 5 additional buttons to be connected. I am under the impression ...
Jae Yang's user avatar
  • 101
1 vote
2 answers
409 views

I have an 8Mhz ATM32u4 that is able to read external pulse inputs at 125ns ticks using InputCapture3 (PC7) on its 16-bit timer. Is there a magical way (bitbanging?) to get around 10ns tick resolution ...
TommyS's user avatar
  • 71
1 vote
1 answer
276 views

In short: I have an Input Capture code and a Power-Saving code combined into one program. Both are adapted from Nick Gammon's examples that work fine independently. When I combined them into one ...
TommyS's user avatar
  • 71
0 votes
1 answer
271 views

So I flashed the KeyboardMessage example to my Arduino SS Micro ATmega32U4. When I open an editor and push the button, I would assume the output to be Zou pressed the button XX times. (The "Z&...
speendo's user avatar
  • 127
1 vote
1 answer
3k views

I'm trying to make a Python function in the TCLab package to flash firmware to an Arduino Leonardo (32u4). I can compile the TCLab ino (firmware) and deploy with the Arduino IDE or with the Python ...
John Hedengren's user avatar
1 vote
1 answer
187 views

Would like to ask for assistance with the code below. It's the Adafruit Bluefruit Atmega32U LE module with Adafruit's Arduino IDE example "heart-rate monitor" sketch. The code uses the hardware SPI ...
TommyS's user avatar
  • 71
1 vote
0 answers
139 views

I am trying to flash my pro micro 3.3v from sparkfun with a Lufa project to make it act as a pokken controller, i am using this project Github Project I have modified the makefile for 8mhz and set the ...
Percy Jackson's user avatar
0 votes
1 answer
87 views

Can arduino uno smd r3 version handle a Keyboard.h library? it is not applicable for that arduino?
mattiskdi's user avatar
1 vote
0 answers
157 views

I made a program using the Arduino Atmega32U4. As a security issue, I tried to extract the hex code because I wanted to know if this program was duplicated. avrdude -C"\avrdude.conf" -v -V -...
junhi's user avatar
  • 11
1 vote
0 answers
675 views

I've been struggling with this issue for a few days on and off now.  I made a custom PCB (schematic) for a smaller Arduino Pro Micro and it works - mostly.  The only issue I had was that the pins on ...
av324192's user avatar
0 votes
1 answer
1k views

I was reading the ATMega34u2 datasheet and trying to figure out Sleep Mode. I know most people recommend using avr/sleep.h library. But I wanted to try out using the registers. I am fairly new to all ...
PythonQuestions's user avatar
0 votes
3 answers
15k views

I'm new in electronics. Just playing with Arduino boards.I just wanted to program ATMEGA328 micro-controller and use it without Arduino for compact design for my personal hobby project. I found there ...
Pradeep Sapkota's user avatar
4 votes
1 answer
1k views

I have this board: It has the atmega32u4 chip. I have updated its code several times, and used it without issues for several months. Today, while updating (using Arduino IDE) it started to throw some ...
lepe's user avatar
  • 141
0 votes
1 answer
463 views

The ATmega328p and ATmega32u4 microcontroller have 32Kb of flash memory (as datasheet). Bootloader for each microcontroleer has different size (about 512 byte for 328p and 4kb for 32u4). Why in ...
Mario J.'s user avatar
2 votes
0 answers
1k views

I am trying to program an ATMega32u4 microcontroller through arduino IDE. I have added external oscillator(16Mhz) and capacitors and few other connections according to the Schematic. I had put a ...
NaNN's user avatar
  • 21
0 votes
1 answer
404 views

Will the nrf24l01 work with the Atmega 32u4 if I am using the 32u4's internal clock, or must I have an external clock source?
NewToArduino's user avatar
3 votes
1 answer
509 views

When using the traditional Blink example program, the light blinks as expected. Even when writing from scratch digitalWriteing pin 13 to high and low repeatedly works fine. The problem is when I try ...
Daffy's user avatar
  • 141
-1 votes
2 answers
2k views

I'm new here and I'm a newbie in electronics. Since 1 year I'm playing around with Arduino (different types) and now I want to build my own thing: a smiley with WS2812D-F5 RGB leds. But I'm not sure ...
swim hive's user avatar
1 vote
1 answer
11k views

I'm playing with my first Arduino device (Arduino Leonardo). It worked fine but at some point it failed. I'm getting this error: avrdude: ser_open(): can't set com-state for "\.\COM6" An error ...
Yevgen's user avatar
  • 111
1 vote
0 answers
95 views

Just got a Arduino Leonardo (with headers) dropped in my lap this week. I've tried experimenting with the Arduino C++ IDE and find it awkward. I have some previous experience with Forth and would like ...
jski's user avatar
  • 111
1 vote
1 answer
1k views

I'm new to wireless communication on Arduinos and doing research for a project. I'm looking at the Arduino Leonardo (which is like the Uno) which via its micro USB port can be automatically recognized ...
Spectraljump's user avatar
1 vote
3 answers
12k views

In another words, is it possible to develop a custom bootloader so sketches can be uploaded via serial connection made using the RX/TX pins and not via the USB connector (I am using Pro Micro boards)? ...
Olivier's user avatar
  • 11
2 votes
0 answers
382 views

I am finally ready to try setting fuse bits on my ATMega32u4-AU custom board (8Mhz Ceramic Resonators, 3.3V), however, after I set the fuse bits and plug my board to computer, the device manager ...
Harmony Yu's user avatar
-3 votes
1 answer
106 views

What is the authoritative source(s) for the ATmega32U4 (or any Arduino chip for that matter) datasheet?
Tom Hale's user avatar
  • 431
3 votes
1 answer
2k views

What are the voltages on a ATmega32u4 (eg Arduino Leonardo) such that a HIGH or LOW is read? I want to ensure that I'm reading the chip reference manual correctly, where Table 29-1 says: VIL: Input ...
Tom Hale's user avatar
  • 431
1 vote
2 answers
1k views

I'm building a USB keyboard that has two buttons - space and enter. The plan is to use this USB keyboard (with an Apple Lightning connector to USB) with the built in iOS switch control. I bought the ...
Jesse Fryar's user avatar
1 vote
0 answers
72 views

Hi I am hoping to design a custom board ATMEGA32u4 with practically a Arduino leonardo bootloader. I plan to control up to 12 servos while being able to read back the current sensor voltage of an ...
DST's user avatar
  • 11
0 votes
2 answers
614 views

I have a custom PCB with a 32u4 running fine with an 8MHz external oscillator. I burned the bootloader and loaded my sketch with an UNO using Arduino as ISP. I have no USB on my PCB nor do I need ...
user avatar
0 votes
1 answer
708 views

Help Needed as I am little bit lost. I've procured a Pro Micro Board from sparkfun. Great little board and it work like clock work when using the standard Arduino Programming IDE. Well Copied the ...
Marthinus Venter's user avatar