Questions tagged [arduino-micro]
A microcontroller board based on the ATmega32u4 with built-in USB communication.
189 questions
1
vote
0
answers
82
views
Using RN-42 as HID Mouse
I am using RN-42 with Arduino Micro and able to connect RN-42 in HID mode and it's connected to the PC as Mouse. I am using BPLib (https://github.com/witnessmenow/BPLib) for Bluetooth communication. I ...
0
votes
1
answer
88
views
Why can't I write to SD, while the ReadWrite example works?
I've created a sensor that measures the color of the external cerebrospinal fluid drain using TCS3200. I'm able to get readings, but I'm unable to save them on the SD card, yet I'm very much able to ...
1
vote
0
answers
134
views
KIE-TS-300B turbidity sensor not working
I'm working with a clone Arduino micro board. I've got the color sensor up and running fine. So the problem isn't the card.
I'm using the example code, just to try out the module:
// the setup ...
1
vote
0
answers
41
views
Poor Contact and Low Current Issues with Microswitches in Arduino USB Game Controller
I have made a USB game controller using the Arduino Micro and Omron microswitches (VX-01-1A3) for the buttons. The switch is wired with one end connected to a digital pin and the other end connected ...
2
votes
1
answer
317
views
Why wont my custom Arduino-Micro-based board connect over USB?
I designed and printed a PCB for my MIDI controller project with a modified Arduino Micro microcontroller essentially built into the design. I swapped out the USB Micro for a USB-C type port (just ...
1
vote
1
answer
2k
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 ...
1
vote
1
answer
3k
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&...
1
vote
1
answer
327
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 ...
1
vote
0
answers
66
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 ...
0
votes
1
answer
1k
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 ...
1
vote
0
answers
71
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 ...
1
vote
0
answers
52
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 &...
1
vote
1
answer
246
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. ...
1
vote
1
answer
2k
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
1
answer
428
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 ...
1
vote
1
answer
389
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 ...
0
votes
1
answer
786
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 ...
1
vote
1
answer
3k
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 ~ ...
3
votes
3
answers
1k
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 ...
-1
votes
3
answers
235
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
1
vote
0
answers
3k
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 ...
1
vote
1
answer
552
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 ...
1
vote
0
answers
63
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
1
answer
1k
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 ...
0
votes
1
answer
2k
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 ...