Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [arduino-micro]

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

1
vote
1answer
51 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
29 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
33 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
40 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
64 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
20 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
46 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
57 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
234 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
61 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
87 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
27 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
135 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
285 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 ...
0
votes
0answers
75 views

How to change the timer associated with Arduino Micro's pin #5

From the datasheet and Arduino code, what i understood is that pin PC6 supports PWM and has two timers are associated with this pin. //from pins_arduino.h D5# PC6 ??? OC3A/#...
1
vote
0answers
32 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
706 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 ...
2
votes
1answer
516 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
4k 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 ...
2
votes
1answer
230 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
210 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
182 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
901 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
87 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
382 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
45 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
291 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 ...
0
votes
1answer
705 views

Arduino Micro serial communication is not working after wake from power down

I'm trying to use the power down state for a battery application, but I'm having issues with the serial communication. I'm using the lowpower.h library to put the Arduino Micro into power down mode. ...
0
votes
1answer
198 views

PWM on Pin 4 - arduino Micro

I am using Arduino Micro. Is there any way to use PWM on pin 4 instead of Pin3 ? I tried to change pins_Arduino.h but didnt worked. //#define digitalPinHasPWM(p) ((p) == 3 || (p) == 5 || (p) ...
1
vote
0answers
229 views

Triggering actions in Android smartphone via Bluetooth from Arduino

Am working on a wearable using Arduino Micro and I am thinking it would be cool if I can trigger some events in my smartphone using Arduino. Say for example a button press in my wearable should ...
3
votes
1answer
698 views

Yet another display 16x2 not working with arduino

I found hundreds of questions about display not working with arduino. However, no matter how trivial this looks like I am having the same problem I cannot understand by reading the other posts. I ...
-1
votes
1answer
79 views

Arduino Micro disappears on osX 10.11.6

so I have an arduino micro, and it was working fine until the latest security update for OSX 10.11.6 now the port won't show up in the arduino IDE. This doesn't seem to be a problem with the Uno / ...
0
votes
1answer
2k views

Arduino Pro Micro not recognised by computer or showing up in ports

Around 4 days ago my Arduino Pro Micro arrived. I've been messing around with it, using it to run keyboard commands on a computer. Just recently, whenever I plug it in to the computer it isn't ...
0
votes
1answer
97 views

Arduino Micro not providing regulated power

I have an arduino micro that works fine off USB. I need to power it from an external 12V power supply. When I connect the 12V supply to the adjacent VIN and GND pins, the arduino will not power up. ...
0
votes
3answers
298 views

Weird issue with software serial?

Hi i am trying to write a library to communicate between the arduino and the esp 8266. I wrote a command that that sends an AT command to the esp chip. So far I have tested these commands : AT, AT+GMR,...
1
vote
2answers
93 views

Why is the T2 transistor used in Arduino Micro?

I was about to design a small custom board using ATmega32U4, replicating the Arduino Micro. I know that T1 is used to block VUSB when VIN is connected. But why T2? The gate is 5V, so it will be ...
0
votes
1answer
260 views

Which Timer can I use on the Arduino/Genuino Micro?

I'm trying to implement charlieplexing with bit angle modulation on my Arduino Micro, and for that I need to use the internal timers. Which timers of the Atmega32u4 are unused by the standard ...
0
votes
1answer
64 views

Trigger countdown with 433MHz transmission

I would like to use an arduino to read 433 MHz transmission from multiple Soil Moisture Sensors. Since I can never be sure all transmissions reach the receiver I'd like to set a countdown from the ...
0
votes
0answers
577 views

Arduino micro not recognized

I have an Arduino micro for some time and everything always worked well. Today, when I was uploading a code on this board using Arduino IDE, I accidentally started the Arduino Board update and the ...
3
votes
2answers
774 views

Stopping Serial on RX/TX pins while running Serial on USB

The Arduino/Genuino Micro has RX/TX pins and can do serial via USB. But, Arduinos Serial ties them both together, so when using Serial.begin(9600) to send messages between my PC and the Arduino, I ...
0
votes
3answers
344 views

Is there any way to use the serial port as an interruption source?

I have and sketch made for reading a temp/hum sensor once every ten seconds aprox. However, I want to introduce an interruption source to send from my keyboard a magic word to make the sensor be read ...
0
votes
0answers
560 views

Can't reset Arduino Pro Micro

I'm trying to reset an Arduino Pro Micro with a new code and it is not allowing me to. I'm using an empty sketch to upload to the pro micro but I get different error messages every time. I think the ...
4
votes
2answers
172 views

Arduino-based mains frequency monitor follow-up

Following my previous question, I'm getting closer to thinking about putting together this mains frequency monitor. I would just like to do a sanity check on my electronics before I order the ...
0
votes
1answer
108 views

Why is the SPI response mis-ordered?

I have a Raspberry Pi and an Arduino Micro. The two are connected by a SPI bus, the RPi is the master; the Arduino the slave. I need to send 5 bytes to the Arduino and get 5 bytes as an answer. The ...
3
votes
2answers
6k views

Arduino Micro vs. Pro Micro

What are the differences between the Arduino Micro and Pro Micro?
0
votes
2answers
50 views

How to program Fio v3 without MicroUSB port

I got given a Fio V3 but unfortunately the MicroUSB port is missing, not sure why. Is there any other way to program it? I'm thinking perhaps those 6 pins under the microcontroller? Also can I ...
3
votes
4answers
125 views

Can I cut the pin holes off of my Arduino board?

I'm making a project, but my arduino pro micro is just slightly too big to fit in it's case. What would happen if I cut off the pin holes that I don't need? Would it still work? Or would it be ruined?...
0
votes
1answer
390 views

Upload of sketch with avrdude stuck only outside of IDE

When uploading my sketch to my Genuino Micro with the Arduino IDE, everything works perfectly. This is the command issued: C:\Users\<user>\AppData\Local\Arduino15\packages\arduino\tools\avrdude\...
0
votes
1answer
244 views

What bootloader does the Arduino Micro come with?

I've been looking to modify the Arduino Micro bootloader (specifically changing the VendorID and ProductID) of the Arduino. What bootloader comes pre-installed on the Arduino Micro? and how would I go ...
1
vote
2answers
2k views

Arduino IDE COM Port error on Windows 10

I have an Arduino micro, uno, and mega and none of them will connect to the com port on the Arduino IDE. I went to the device manager aand it is recognized but when I try to update the driver I get ...