Questions tagged [arduino-micro]

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

Filter by
Sorted by
Tagged with
1
vote
2answers
51 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
0answers
17 views

Mpu6050 Air mouse jitter when sensitivity is increased

Hello guys i have a pro micro with mpu6050 code working on my 9250, its an air mouse and i need make it more precise so i increased sensitivity but it start to drift a little every few seconds... Any ...
-1
votes
1answer
44 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 ...
-1
votes
3answers
151 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
0
votes
2answers
28 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 ...
0
votes
0answers
52 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 ...
0
votes
0answers
25 views

Arduino Micro with HC-05: receiving data in weird encoding

I'm just starting using HC-05 Bluetooth module and having some troubles. Firstly, I connected HC-05 bluetooth module to Arduino Micro board in programming mode (with Key pulled up) and was able to ...
0
votes
1answer
90 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? ...
0
votes
1answer
33 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 ...
0
votes
2answers
38 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 "...
0
votes
0answers
24 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
36 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 ...
0
votes
1answer
45 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 ...
-1
votes
2answers
60 views

Arduino Micro & Thin polymer lithium batteries [closed]

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: ...
0
votes
1answer
185 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 ...
1
vote
1answer
121 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 ...
0
votes
0answers
22 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 ...
1
vote
1answer
63 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 ...
1
vote
2answers
128 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 ...
1
vote
1answer
297 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=...
0
votes
0answers
19 views

Arduino Micro behaves unusual

For a few days I'm trying things around on my Arduino Micro. At first uploading was working just fine. Here and there you had to press the reset button. But now if I plug it in no COM-port shows up. ...
0
votes
1answer
75 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: ...
-1
votes
1answer
95 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 ...
0
votes
1answer
64 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 ...
1
vote
1answer
246 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 ...
1
vote
0answers
67 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 ...
1
vote
2answers
42 views

Emit region-neutral keyboard signals

The Keyboard API allows the Arduino boards such as the Micro or Leonardo to emit USB signals mimicking a physical keyboard. However, the signal seems to transmit key strokes and not characters which ...
0
votes
1answer
182 views

Arduino IDE can't program my Arduino Pro Micro

I have a lot of Arduino Pro Micros that I can't program through the Arduino IDE. I'm on Windows. I'm using the SparkFun Pro Micro board information downloaded from SparkFun's website. I've tried ...
-1
votes
2answers
304 views

Distance measuring utilizing (1 or 2) Arduino Nano's

I would like to develop a small-distance measuring device that will be primarily used in indoor scenarios to measure a distance with cm accuracy (mm if possible). The device would be in a small form ...
0
votes
1answer
33 views

Arduino Comms disrupted, prevents program loading (catch 22)

I have written some software which, when loaded onto an Arduino Micro, blocks communications for some reason. Lets stipulate that there is something wrong with it. Using the Ardiono IDE on Windows 10,...
1
vote
2answers
62 views

Is Arduino Keyboard in Single User Mode Possible?

Has anyone had success using the keyboard functionality of any arduino in single user mode of mac computers? I would like to inject keystrokes in single user mode, and have been unsuccessful with the ...
0
votes
1answer
87 views

What is the smallest duration that can be measured using micros()? [closed]

What is the least value of time that I could measure(count) using micros()?
0
votes
1answer
664 views

Caluclate lux value from LDR

I am using an LDR (Iduino SE012) to measure light. It returns a 10-bit value of the incoming voltage and I don't know how to convert this into lux, lumen candela or any other light-intensity unit. I ...
0
votes
1answer
282 views

Use lowpower-libary and still use serial connection and other things

I managed to get the LowPower libary working on my Arduino Micro. This code works perfectly: #include <LowPower.h> void setup() { // initialize digital pin LED_BUILTIN as an output. ...
0
votes
1answer
188 views

“Active LOW” relay board Pin configuration [duplicate]

I bought a 5 V Relay Board: LINK (Aliexpress) and just realised it's "Active LOW". I want to control a water pump via a Arduino Micro. I tested it and as far as i understand the workings of this ...
0
votes
1answer
70 views

Arduino Micro interference between analog inputs

I'm building a MIDI controller with the Arduino Micro, hooking a bunch of knobs up to the analog inputs. Currently, I'm getting analog in 9 being influenced by analog in 10: analogRead(9) returns a ...
1
vote
1answer
371 views

Sound localization using two mics,arduino uno on matlab

I have been trying to achieve this for a long time using the ITD method and have gone through various articles on the net. I want to know if its possible to actually achieve sound localization using ...
2
votes
1answer
689 views

Pro Micro recognised as Micro (win10, IDE 1.8.1)

I just got this pro-micro clone 5V and it's my first pro micro ever. After reading lots of discussions about how easy it is to brick and how it's just a smaller Leonardo, I've also found tutorials ...
1
vote
0answers
38 views

problem with communication between Linux and microcontroller [closed]

Hello Arduino community, I am new to the Arduino community and would like to ask for help (I work on a Arduino TIAN). Indeed, since 2 3 weeks I try through simple programs to understand the operation ...
0
votes
2answers
1k views

Decreasing Arduino pro micro power consumption

I'm working on a project that involves sending GPS coordinates wirelessly from an arduino board to another one. I was thinking of using an arduino micro for this task. The problem is that I want it to ...
1
vote
2answers
1k views

Using INT2/3 on Arduino Micro (Atmega32u4)

My project is using almost all the pins on this board and I require an interrupt pin to read radio state (rather than polling). I'm using I2C, so that leaves INT2 and INT3, which are the TX and RX ...
6
votes
4answers
5k views

How can Arduino's 8 bit Microcontrollers handle C++

I have just started getting into Arduino and c++ programming! For all the talk on the internet about c++ being incompatible with 8-bit and even 16-bit microcontrollers, how is it that Arduino ...
3
votes
1answer
437 views

Arduino keypad and RF 433MHz transmitter problem

So, the basic idea is that user presses a key on keypad, and key that is pressed is sent with RF transmitter. I got individual parts to work(keypad and transmitter), but can't send the actual key. ...
0
votes
0answers
276 views

Is my Arduino Micro bricked?

A few weeks ago I built my own Arduino Micro. Everything worked fine and it connects every time. I have built a second one, with the exact same processor schematic as the first one. It turns on, and I ...
0
votes
1answer
275 views

Trying to read from AD5934 using Arduino on I2C

I'm trying to read a block of bytes from an AD5934 Impedance converter (PDF) using I2C. This is my code so far Preamble: #define AD5934_Address 0xD #define AD5934_Start_Frequency ...
0
votes
1answer
1k views

Arduino force feedback vibration gamepad

I'm projecting a gamepad with Arduino Micro. I'm using the Arduino Joystick Library. I'm building this gamepad for racing games so I need to catch signal like hit_the_wall, hit_another_car. I wonder ...
-3
votes
2answers
121 views

How to send message from one embedded system to another embedded system like in cars, from one car to another? [closed]

I want to send message from one embedded system to another embedded system, like from one car to another without using phone number. just turn on the wifi.. connect and send message. There are ways to ...
1
vote
0answers
475 views

Arduino PWM multiple RGB LEDs

I want to control 61 SMD 3528 RGB LEDs (KT-SMD3528-RGB) with 3 arduino Micro's 3 PWM pins. I learned from reading up that I'll have to use 3 NPN Transistors to control RGB LEDs and external power ...
0
votes
1answer
47 views

Do I need a relay to control a monitor's power with an Arduino?

I'm trying to use an Arduino to switch a monitor's power on and off. I'm going to wire the Arduino to the monitor's power switch. I've tested the power switch with a multimeter, and when pressed, ...
0
votes
1answer
399 views

How to connect capacitive touch sensor to Arduino?

The capacitive touch sensor has 3 pinouts: Vin, GND, and OUT and emits an active high signal when the pad is touched. I should be routing the OUT pin to any one of the digital input pins on my Arduino ...