Questions tagged [arduino-micro]

A microcontroller board based on the ATmega32u4 with built-in USB communication.

Filter by
Sorted by
Tagged with
-1 votes
1 answer
41 views

USB serial port no longer detected after successful upload

I successfully uploaded a sketch to my Arduino Micro using the USB serial port but if I try to change the sketch that port is not available. The sketch I uploaded on the Micro runs fine when I plug in ...
user avatar
2 votes
0 answers
43 views

Arduino Micro digital output pins floating / high Z

so i recently got an arduino micro for a project needing the control of two stepper motors with the A4988 driver. previously i was prototyping on an arduino uno and everything was working fine, but on ...
user avatar
0 votes
1 answer
626 views

avrdude: ser_open(): can't open device "/dev/ttyACM0": Permission denied Upload error:

I am using arduino-ide2.0.0-beta.7(CLI Version:0.18.3 alpha) on Manjaro Linux and I get this error when uploading sketch to my Arduino Micro: avrdude: ser_open(): can't open device "/dev/ttyACM0&...
user avatar
3 votes
2 answers
148 views

How can I share one power supply between an arduino and servos?

I'm trying to power an arduino and a few modules (RF receiver, two servos, and a laser diode) through one power supply. I get jittery/unresponsive servos when hooked up in the following configuration: ...
user avatar
1 vote
1 answer
102 views

Input Capture Mode PPM signal

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 ...
user avatar
0 votes
1 answer
685 views

Arduino : send data via satellite (or other solutions ? without GSM)

I'm a researcher and I'm looking to build a very tiny embedded system. I must to send data from the desert and above the ocean, to do that I think that my single option is to use satellite ...
user avatar
1 vote
0 answers
34 views

How to interrupt and direct my program where I want it to in the code by clicking a button?

I want to simulate christmas lights and the different modes of lighting it can produce by pressing a button. I tried to do this by having a button pressed which changes an int variable (1-3) which ...
user avatar
0 votes
1 answer
244 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 ...
user avatar
0 votes
1 answer
339 views

Wiring Multiple MPU 6050 to Micro/Lenardo

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 ...
user avatar
  • 101
1 vote
1 answer
272 views

How to send and receive multiple integer values through serial comm for Arduino Micro and HC05 bluetooth?

I need to send gyroscope values and a voice command flag and counter with a start and end marker through serial in the format <2,4,5,6> through Arduino Software serial using the HC05 Bluetooth ...
user avatar
1 vote
0 answers
41 views

Arduino Micro Breadboard USB Not Connecting

I have been working on getting an Atmega32u4 connected to USB. I lifted the connections from the Arduino Micro schematic for the preliminary schematic shown here. When I connect the chip to USB, the ...
user avatar
1 vote
0 answers
131 views

How to fix Master-Slave communication between Arduino Micros Not Working and no serial monitor output problem?

I needed to send MPU6050's accelerometer and gyroscope data and voice recognition module's voice command status flag through the HC-05 Bluetooth module to receiver Bluetooth and Arduino. But because ...
user avatar
0 votes
2 answers
108 views

How to fix power overload when nRF24L01 connected for voice+gyro based headmouse?

For my head mouse project which is based on the voice recognition module V3.1 for left click, double click, right-click operations, I am facing a problem. I am using 433Mhz Radio Frequency one-way ...
user avatar
1 vote
0 answers
38 views

Arduino Micro: Followed the BlinkWithoutDelay instructions, but somehow it's not working in my code

Any help would be greatly appreciated! /* Jebediah's Launch Control System for Kerbal Space Program Alpha Build 2.00 An Open-Source Project by John Seong */ #include <Wire.h> #include &...
user avatar
2 votes
1 answer
87 views

How to Fix mouse cursor lag on voice & movement based head mouse in wireless setting?

For my head mouse project which is based on the voice recognition module V3.1 for left click, double click, right-click operations, I am facing a problem. I am using 433Mhz Radio Frequency one-way ...
user avatar
1 vote
1 answer
84 views

Arduino Micro: Button inputs are not working!

I have no clue why this is happening to me but the buttons (in this case, buttonAbort and buttonStage) are not working whatsoever. Edit: Basically the LEDs are placed right next to the button,(e.g. ...
user avatar
1 vote
1 answer
60 views

Arduino Micro: Why am I getting 6.00 as a result instead of 6.66?

Basically, on the TWR calculator page, when I entered 20 as the initial value and 3 as the value that comes after, I somehow get 6.00 as a result instead of 6.66 in the computeTWR() function. How can ...
user avatar
1 vote
1 answer
835 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. ...
user avatar
1 vote
1 answer
51 views

Arduino Micro: 69 is supposed to show up when I press 1 on the keypad, however some weird number (15 in this case) is showing up

// **I AM ALSO GETTING WEIRD CLUELESS DELAYS WHEN I PRESS BUTTONS ON THE MODE MENU** /* Jebediah's Launch Control System for Kerbal Space Program Alpha Build 0.70 An Open-Source Project by ...
user avatar
0 votes
1 answer
235 views

Connecting microSD reader and e-paper display to Nano at the same time?

Pretty much as the question states, I'm wondering if it's possible to connect (this: https://www.waveshare.com/7.5inch-HD-e-Paper-HAT.htm ) 7.5" e-paper display that has raspberry pi HAT and an ...
user avatar
0 votes
2 answers
1k views

Arduino Micro 5V Vin and 3v3 pins

I am very confused with the pins on the arduino micro. What are the 3v3, 5v, and Vin pins used for? Are they for power input, or power output, or both?
user avatar
  • 103
1 vote
1 answer
116 views

Arduino as USB HID is slowed down when PC doesn't read events

I have an Arduino Micro that is acting as a HID device for a Linux PC. I use this call to send the HID values: HID().SendReport(1, _values, sizeof(_values)); This works in principle, but I noticed ...
user avatar
  • 173
2 votes
1 answer
455 views

Does the MKR WIFI 1010 support the arduino mouse and keyboard controller?

I am working on a project right now that needs to connect to my computer via bluetooth and access the arduino mouse and keyboard library. In my research, I've found that only the Leonardo, Due, and ...
user avatar
0 votes
1 answer
288 views

HID with bidirectional communication

I want to build a gamepad HID using the Arduino Micro, and intend to use Nico’s HID library for that. But I would like to send some config info from the PC to the Arduino HID as well. Can you have a ...
user avatar
  • 173
1 vote
0 answers
72 views

LUFA with pro micro 3.3v 8mhz not working

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 ...
user avatar
0 votes
1 answer
575 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 ~ ...
user avatar
  • 173
-1 votes
1 answer
636 views

Reading Buffer from Software-Serial & Writing to Serial

My progress so far: #include <SoftwareSerial.h> SoftwareSerial ttySerial(10, 11); // RX, TX byte buffer; void setup() { // Open serial communications and wait for port to open: Serial....
user avatar
3 votes
3 answers
347 views

Is it possible to program Arduino in transpiled JavaScript?

Coming from JS, I find it very difficult to program Arduino in C++ (not even knowing which version or what features are supported), being bound to the loop and delay, not being able to (easily) use ...
user avatar
  • 139
0 votes
1 answer
187 views

How to Read ADC value without Common GND ? (Possible or not !)

I want to Read external signal with the microcontroller. But the problem is that ADC does not work because the signal GND and the microcontroller are not Common, My question is, have you ...
user avatar
  • 25
-1 votes
3 answers
187 views

Unconsistent time in arduino loop

I have this code: The output looks like this: Why are there non-periodically some extremely large values? Thanks
user avatar
1 vote
2 answers
152 views

Cannot call function in call back for onRequest()

I am a NOOB! Trying to use the ZS-042 RTC module to retrieve the current time and send it back to the RPi over I2C. I can call the function and spool it to Serial but when I try to call the function ...
user avatar
  • 11
1 vote
0 answers
2k views

Using digital rotary encoders for HID input using the Joystick library

I have been working on a small switch panel for flight sims, but I wanted to use the CYT1100 Digital Rotary encoders to move instruments in-game. I have the code set up to press a certain joystick ...
user avatar
  • 11
0 votes
1 answer
1k views

STM32 as keyboard

I would like to use a STM32F105xx to build my own computer keyboard. That MCU has support to USB OTG (FS). So, I have 2 questions: Can I flash microcontroller with usb or I need a external programer? ...
user avatar
  • 103
1 vote
1 answer
179 views

Reading port register and print

I am playing with port registers directly to improve speed on a Arduino micro. I have no problem writing them, like PORTF &= B11101111 However, when I try to read and print it, things get funny ...
user avatar
  • 113
0 votes
2 answers
66 views

Timing taking longer than expected

This is on a custom Arduino PCB (32u4) that I am programming with a Sparkfun Pocket AVR Programmer. A different program that I was writing wasn't working the way I expected it to, so I tried the "...
user avatar
  • 73
1 vote
0 answers
37 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 ...
user avatar
1 vote
0 answers
43 views

MPU-6050 showing all -1s

I am following this tutorial and have an MPU-6050 connected to an Arduino Micro with the following connections VCC - 5V/3.3V GND - GND SDA - A2 SCL - A3 I'm trying to run the short example ...
user avatar
0 votes
1 answer
478 views

Micro is not recognised as HID device

Being a completely noob with Arduino (but not with coding though) I'm trying to create a simple buttonbox with a Micro unit. For now, I can not figure out what should I do to make my Windows 10 ...
user avatar
  • 21
0 votes
2 answers
124 views

Arduino Micro & Thin polymer lithium batteries

Is this battery: Polymer Lithium-ion Battery Model Number: PGEB014461 https://www.powerstream.com/p/PGEB014461.pdf Producing enough energy to power the following Arduino-micro project: ...
user avatar
  • 119
0 votes
1 answer
1k views

Software I2C - sending data

I'm trying to read a voltage in from a power supply to an Arduino Micro, then send it to an oscilloscope through an I2C (MCP4725). I would use the default pins on the Micro but I want to wire three ...
user avatar
1 vote
1 answer
433 views

analogRead() output oscillates even though the pin is grounded

I'm using Arduino Micro to read from 5 flex sensors and display the corresponding angles to the Serial monitor. I am currently having quite some problems with the oscillating values I am getting from ...
user avatar
1 vote
0 answers
30 views

Possible to live-control an Arduino microcontroller from any Linux IoT board?

I'm working on a home project that centers around a non-Arduino Ubuntu IoT board but I'd like to add an ATmega32U4 chip for USB HID. I'm thinking about using an Arduino Micro. The signals to the ...
user avatar
  • 177
1 vote
1 answer
298 views

Help with Arduino Micro Keypress Algorithm

Greeting, first time Arduino user here. So I am using the Arduino Micro as an HID keyboard device. It accepts arbitrary input from a Node-JavaScript program I am running (so I have full freedom in in ...
user avatar
2 votes
2 answers
730 views

Using Pro Micro without soldering pin

I'm a total newbie. I bought a Pro Micro but I didn't know that it can't be used, if you don't solder things in his holes. I found this picture on Google: And it seems that exists those stuffs (green ...
user avatar
  • 123
1 vote
1 answer
960 views

Send big amouts of data to PHP script via gsm module SIM800L

I'm looking for a way to get lots of sensory data from my Arduino Micro to a PHP script. My current attempt is using the following AT-commands: Sent: [AT+HTTPPARA=URL,www.example.com/newData.php?data=...
user avatar
0 votes
1 answer
338 views

SIM800l doesn't respond on arduino micro

I want my Arduino Micro to interact with my SIM 800 L module. But unfortunately nothing happens, may you can help me figure out where I made a mistake. Here's my wiring: Summary of my wiring: ...
user avatar
0 votes
1 answer
274 views

Brushed ESC won't move slowly [closed]

I'm trying to control the brushed motor in a Traxxas Slash RC car with the built-in XL5 ESC using the Servo library on Arduino. I previously had success controlling this car with a Pololu Micro ...
user avatar
0 votes
1 answer
73 views

Maintaining time in Arduino

I am working on development of alarm clock using Arduino. No doubt RTC will be the best but it increases the Price of the project. Also I opened a digital clock (which I purchased online) and I see ...
user avatar
  • 59
1 vote
1 answer
635 views

Unexpected negative values from abs() function inline with analogRead

When sampling from A0 with a 0-5V signal on an arduino micro with the code below I get some negative values. int sensor = 0; sensor = abs(analogRead(A0) - 512); Values: 77 25 -74 -58 46 113 -74 102 ...
user avatar
2 votes
0 answers
102 views

AC dimmer not smooth dimming

I am trying to create a phase control AC dimmer. But I am not able to achieve smooth dimming. I am using this guide for the circuit: Link On the zero detection part I am able to detect its zero ...
user avatar
  • 213