Questions tagged [arduino-pro-micro]

The Pro Micro is an Arduino-compatible microcontroller. It is similar to the Pro Mini except with an ATmega32U4 on board. The USB transceiver inside the 32U4 allows us to add USB connectivity on-board and do away with bulky external USB interface.

Filter by
Sorted by
Tagged with
1
vote
1answer
34 views

Sharing clock pin on Pro Micro

I am trying to get both a SPI LED matrix display and an NRF24L01 to both work on the same Arduino Pro Micro. I know they both want to use the clock pin but how do I get them to share? Can I use the CS ...
1
vote
0answers
35 views

pro micro - Can't get USB apple Keyboards to work with an USB Host Shield

I am a beginner in the field of arduino, I bought the usb shield 2.0 https://www.okystar.com/wp-content/uploads/2017/11/mini-usb-host-shield-2.0-oky2231-1-2.jpg for arduino pro micro, I connected them ...
1
vote
0answers
49 views

Master and Slave Code using 2 Arduino. 1 for PC and 1 for Sensor

I'm trying my gesture sensor to act as a keyboard. I'm using 2 Arduinos to communicate; 1 is connected to the PC (Arduino Pro Micro) and 1 is connected to the sensor (Arduino pro mini) Can you tell me ...
1
vote
0answers
26 views

Use HC05 and FTDI as Slave to Connect to control PC using HC05

Hi i just wanna ask if its possible to do this on HC05. So i can send some keyboard function? and if yes can you tell me how. Thanks
0
votes
1answer
55 views

Arduino Pro micro Serial communication problem with Node MCU

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 ...
1
vote
0answers
20 views

Communicate/Configure with Pro Micro (using Joystick.h) from within Windows

I'm creating some Joystick-like controllers to augment simulator games. I usually use the Joystick library from MHieronimus which has worked great so far. Now, I'm using some non-momentary rocking ...
1
vote
1answer
54 views

Pro micro Wire.endTransmission() does not return

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 ...
2
votes
1answer
200 views

Upload s sketch to a 5v Pro-Micro board as 3.3V by mistake

I have 2 types of Pro-Micro(as shown here), both 5v, micro-usb, which worked as expected, until, accidentally were flashed as 3.3v using the Arduino IDE. At first I thought that the fact it stoped ...
0
votes
2answers
124 views

How can I add a potentiometer and more buttons to my custom game controller?

I'm new to using Arduino, and know next to nothing about programming. I'm currently trying to add a potentiometer, and possibly a few more button inputs to my 3D-printed guitar controller project It ...
1
vote
4answers
206 views

Can I control LED brightness with potentiometer without any code, as well as reading the potentiometer value?

I am just getting back into electronics and have started to play around with making my own button box. I am trying to control an LED's brightness using a potentiometer, while also reading the ...
1
vote
1answer
32 views

How do I add or subtract to a pre-determined value without having it default back to the original value?

Typical apologies in advance, it's been quite some time since I've tinkered with Arduinos. Using an Arduino Micro Clone (Pro Micro), TF02 LiDAR, and a Adafruit 1.2" 7-segment display, I've been ...
1
vote
1answer
109 views

How to fix HC05 burning even after while using voltage regulator?

I'm using two circuits for my wireless head mouse project, one of them is a transmitter circuit with Arduino Pro Micro, HC05 Bluetooth module, Elechouse Voice Recognition Module V3.1, GY-521 module ...
1
vote
0answers
34 views

Copy outbound data of Serial to Serial1 for Pro Micro

I am working on a bluetooth HID device. There are libraries which make HID devices a cake walk if you are making a wired version of your HID device. I managed to configure my bluetooth module to ...
1
vote
0answers
74 views

Gamepad connection using Pro Micro(ATMEGA32u4 + HC-05

I have been working on making a HID compatible Gamepad using Pro Micro and HC-05 module. I have successfully configured the class of HC-05 module to appear as an Input device(A gamepad) on my PC ...
0
votes
1answer
88 views

ISR Issue: Arduino Pro Micro

I'm trying to do a small test where I am using the ISR on the Arduino Pro Micro it up from sleep mode. I'm using a Force Sense Resistor (FSR, a resistor that changes it's resistance depending on how ...
1
vote
1answer
376 views

Arduino Joystick Library not Recognized by Games (Steam)

I have an Arduino Pro Micro running code that uses the Arduino joystick library to act as a gamepad. I'm just doing testing right now so there's a single button wired up and configured in the code. ...
0
votes
1answer
371 views

Arduino Pro Micro not recognized by PC

so I've got myself a Arduino Pro Micro ATmega32U4 5V 16MHz and my PC (Win10 64bit) won't recognize it. So, after I firstly plugged it in, it was detected as a Leonardo, rather than a Pro Micro, ...
0
votes
1answer
118 views

What does a tilde (~) mean as annotation for a data pin?

When I examine the datasheet for the Arduino Micro (couldn't find the Pro Micro on their site, btw) then I see some data pins annotated with a ~ character, and some are not. For instance, D9 has a ~ ...
0
votes
1answer
434 views

Self made ATMega32U4 board first programming

I'm stepping into Arduino world and decided to build a small board to implement a gamepad. Prior designing the board I tested my firmware on a Arduino Pro Micro USB so I decided to make something ...
0
votes
0answers
21 views

Programming Pro Micro over ISP, but keep bootloader [duplicate]

I want to program a Pro Micro over ISP from a hex file using avrdude, but I also want to have the bootloader after it is programmed so that I can program it over USB. Is this possible?
0
votes
1answer
220 views

Establishing wireless comm. between PC and arduino pro micro to exchange speech and gyro data

I have a client project to make a wireless head-mounted mouse. What wireless module should I use so that I can exchange data between my laptop and the arduino pro micro through the USB port like a ...
0
votes
1answer
107 views

fixing drifting issue for elechouse voice recog module v3.1 and MPU6050 sensor for head mouse even after doing sensor calibration?

For my head mouse project which is based on the voice recognition module V3.1 for left click, double click, right click operations, MPU 6050 accelerometer and gyroscope for cursor movement, I am ...
2
votes
1answer
451 views

Measure lipo voltage while powering arduino

I have a arduino pro micro 5V that I want to power with a 3.7V lipo. I also have a charging module to charge the lipo. (https://www.banggood.com/nl/TP4056-1A-Lipo-Battery-Charging-Board-Charger-...
0
votes
2answers
709 views

Read battery voltage from battery which is powering arduino

I have a 5V arduino pro micro. I want to power it with a 3.7V lipo. Should I use a step up module to convert it to 5V? I also want to measure the voltage of the battery. How can I do this? ...
1
vote
0answers
183 views

ATMEGA32u4 Arduino Bootloader Issues

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 ...
0
votes
1answer
24 views

Cryptic compiler errors

I'm getting the error: left_hand:3:20: error: expected ']' before ';' token #define HAND_ROWS 5; ^ on this code: #include <Keyboard.h> #define ...
0
votes
1answer
174 views

Sparkfun Pro-Micro stuck on uploading

I have read multiple posts on how to reset the sparkfun pro-micro when it gets stuck during upload, and this seems to work to get it back to a state where I can upload new code again - However, I am ...
1
vote
1answer
50 views

Cannot write lock byte on Arduino Pro Micro

I have an Arduino Pro Micro, with atmega32u4 chip and a caterine bootloader. However, every time I (successfully) flash some program over the USB port, the /dev/ttyACM0 device disappears, and I cannot ...
1
vote
0answers
28 views

How to fetch the com port or any id I can use to upload specific program to a specific arduino? e.g. “a.ino” to arduino micro

My project is a head mouse for which I am using two arduino boards . I want to upload a specific program to a specific arduino. How can I do it? And if I need to use a pid or com port id about which ...
0
votes
0answers
44 views

Where do I get the wider arduino pro micro from?

I have a bunch of boards already fabricated for a game controller that uses the arduino pro micro. I ran out of the arduinos and ordered more. But the new ones are 0.6" wide from pin to pin, and my ...
3
votes
3answers
869 views

What can I do to increase the amount of LEDs I can power with a pro micro?

I am new to arduino and have a sparkfun pro micro that I'm using to power a one meter (60 pixels) APA 102 strip. I currently power it via USB and have a program that sends lighting instructions to it. ...
1
vote
0answers
50 views

Arduino pro micro crashing

My arduino pro micro started behaving weird. I noticed it had crashed with very simple code on it (basically just two lines of fastled code followed by a delay. Then it didn't appear as a USB device ...
0
votes
1answer
129 views

3.3v pin on a 5v Pro Micro?

I have a arduino pro micro that runs on 5v. I also have a Max4466 that needs 3.3v, however the pro micro doesn't seem to have a 3.3v VCC. Is there any way to attach the max4466 to the Board?
0
votes
2answers
107 views

Compile error in Ubuntu 18.04

I'm trying to compile a code to arudino pro micro, I have the right option for compiling like the port and the type of the board,but I get an error,I can't copy
0
votes
2answers
250 views

LSM9DS1 breakout - How to increase speed

With regards to the Adafruit LSM9DS1 breakout: enter link description here And using the Library: enter link description here I am trying to increase the sample rate, or speed of this chip. I am ...
1
vote
1answer
1k views

Rotary encoder using interrupt

This is my first time working with a rotary encoder and interrupts. I am using a Pro Micro which has interrupt pins at pin0 and pin1. The code below works as expected. My question: do I need to use ...
0
votes
1answer
84 views

Changing ESP-12E NodeMCU to ESP-01S - how to trigger sketch?

I had my sketch up and running with a NodeMCU and a Leonardo Pro Micro and decided I wanted to minimize the footprint of the project and use the smaller ESP-01S board instead. The ESP-01S is ...
0
votes
1answer
741 views

No ttyACM0 with Pro Micro on Ubuntu 18.04

I am trying to determine the dev path of a USB keyboard running an Arduino Pro Micro on my Ubuntu 18.04 system. The files /dev/ttyACM0 and /dev/ttyUSB0 do not exist. When I run dmesg I get: [ 410....
5
votes
2answers
2k views

Arduino Pro Micro - switch off LEDs

I am using a Arduino Pro Micro as a keyboard (USB HID device). Each time I press a key, the RX LED and TX LED light up. Can I switch them off in software?
1
vote
1answer
777 views

How ro re-enable 32u4 USB controller after sleep mode?

I've run into quite the problem with my 32u4, I can't get it to reconnect to the computer upon wakeup from a sleep mode! So I have an Arduino Pro Micro featuring the 32u4, and I'm also designing a ...
0
votes
0answers
186 views

Avrdude & micro clone

I am trying to program a Pro Micro clone (black PCB, 5v), using this command avrdude.exe -p atmega32u4 -c avr109 -U flash:w:pro_micro_ISP_B6_10.hex:i -P COM3 but this is the (obviously incorrect) ...
1
vote
1answer
220 views

How to trigger NodeMCU sketch from Arduino Leonardo Micro Pro?

So this is probably a very simple question. I have my NodeMCU set up and working where it connects to wifi and sends a push notification. Currently it does that automatically when connected to power. ...
-1
votes
1answer
425 views

How to use power led from arduino-pro-micro?

In my project I need 3 leds. I would like to use on-board leds if possible. I know how to use PB0 and PD5 red on-board leds, and I would like to hack the board somehow to use the green power led. If ...
4
votes
2answers
5k views

Can't upload sketch - avrdude: butterfly_recv(): programmer is not responding

I'm trying to upload a Blink example to run on a pro-micro (leonardo) but it is not working anymore (it was just working yesterday). Steps to reproduce: Plug the device in USB port Open Blink ...
1
vote
2answers
5k views

Keyboard.h: No such file or directory - Arduino pro micro (leonardo)

I've just bought a new pro-micro and I want to simulate some keyboard inputs with it, the thing is the Arduino IDE (version 2:1.0.5) can't seem to find neither HID.h or Keyboard.h libraries. The steps ...
2
votes
1answer
136 views

Digital Input using a button doesn't work properly when using it to control a relay

I'm trying to control a relay both via Bluetooth and using a switch. The problem is that, when the LED is off, I can turn it on with the switch but then if I turn off the switch the relay will stay on....
0
votes
1answer
247 views

Reading analog value while generating PWM signal

I'm trying to generate dim two LED strips simultaneously by generating two PWM signals based on potentionmeter value. The pot sets how bright each of the LED strips will be. To drive this I'm using ...
0
votes
2answers
3k views

Arduino Pro Micro bricked?

I have a Pro Micro board at which tried to upload a sketch with sparkfun's Pro Micro 3.3v processor selected. After the upload completed successfully the board did not run again and is not even ...
0
votes
1answer
101 views

What makes this library work exclusively with Atmega328P boards?

I've been looking into libraries that read CPPM signals that I can use on my Arduino Pro Micro, and this one looked promising (github.com/jmparatte/CPPM) until I read that it only works on Atmega328P ...
0
votes
1answer
111 views

Arduino Pro Micro TX and RX leds flash quikly while power drawn from VCC pin

I just got a 5V Arduino Pro Micro, which I connected to an RC RX powered from the VCC and GND pins of the board. However, whenever I do so and power on the board from a computer USB connection or a ...