Questions tagged [arduino-micro]

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

Filter by
Sorted by
Tagged with
7
votes
3answers
25k views

Are there any reasons to pick Nano over Micro?

Nano is from 2008, and micro from 2012. Micro seems better on every parameter, in particular in having a better (I think) microcontroller, ATMega32u4, over ATMega328P. However, all the shops I've ...
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 ...
5
votes
2answers
166 views

How to differentiate between 2 Micros on Linux

I have 2 Arduino Micro based devices that I want to use on my Ubuntu Linux machine. I need them to have unique serial ports. Unfortunately, both have the same serial number which makes ...
4
votes
2answers
2k views

Generate particular pulse using Arduino

How can I generate this pulse with an Arduino Micro? Is it necessary an external component?
4
votes
1answer
850 views

Arduino Uno as keyboard

I am trying to make Arduino Uno to act as a keyboard. I have successfully flashed the USB-HID firmware in it using this link also and programmed it like this. uint8_t buf[8] = { 0 }; int inpin1 = 7;...
3
votes
3answers
583 views

How to have some code executed at a certain time of day with a DS3231 RTC?

I recently bought a DS3231 RTC, but I cannot seem to figure out how to get it to work. I have tried all different tutorials and example programs but I keep getting 2165.25.165 165:165:165 as the ...
3
votes
2answers
9k views

Arduino Micro vs. Pro Micro

What are the differences between the Arduino Micro and Pro Micro?
3
votes
3answers
703 views

Mini Voice Recorder for Arduino

I am trying to find a small voice recorder that I can use with my Arduino Micro, and I found this. It is exactly what I am looking for, but it is now a retired product. I googled ISD1932, but many ...
3
votes
1answer
1k views

How to send unmodulated IR-Signal via cable?

I need to generate en (extended) NEC signal. I have connected an Arduino with a display-device via an IR cable. Arduino --> IR-cable --> IR-input of display device IR-cable: One plug is ...
3
votes
1answer
370 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. ...
3
votes
2answers
913 views

Driving single-character alphanumeric (16-segment) displays

I would like to drive three sixteen-segment displays (https://www.sparkfun.com/products/retired/9934) using an Arduino Micro. These displays would output an alphabetic character that a user would ...
3
votes
2answers
209 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 ...
3
votes
4answers
3k views

How to connect an Arduino Micro to MPU-6050

So I'm trying to connect my Arduino micro to the MPU-6050. I was using this tutorial: https://diyhacking.com/arduino-mpu-6050-imu-sensor-tutorial/ This tutorial worked with my Arduino Uno but not ...
3
votes
1answer
3k views

TCCR1A and TCCR2A on Leonardo

I'm trying to use the TTS library for Arduino on an Arduino Micro board, which is based on the Leonardo. When I try to compile my sketch I get some errors; /libraries/TTS/TTS.cpp: In function 'void ...
2
votes
2answers
2k views

if(Serial) not working correctly on micro or pro micro

I have an arduino micro and several clone "pro micro"'s both of which are based on the 32u4, i'm trying to make my project have a debug mode which is only active when the serial port is open, the ...
2
votes
1answer
528 views

What's the problem with baudrate?

I was trying to evaluate the speed of communication between pc and Arduino, using this code in Arduino: void setup() { Serial.begin(9600); } void loop() { Serial.println("Ciao Arduino"); } and ...
2
votes
2answers
3k views

433MHz sending not receiving

I'm trying to send data using these cheap parts. When I check the voltage on the data port of the transmitter, I see what I expect, 1.2 and 0.6 fluctuating while sending. But when I check the ...
2
votes
2answers
1k 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 ...
2
votes
1answer
377 views

Using Arduino Micro With 12V Buzzer

I have an interesting situation. I wonder if anyone can help? I have: 4x Arduino Micros loaded with the basic Blink sketch 5x 12 volt buzzers A desk full of completely fresh Duracell AA and 9v ...
2
votes
1answer
620 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 ...
2
votes
4answers
147 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?...
2
votes
1answer
3k views

Read signal from USB mouse on an Arduino ?

I've got a project where I'd need to read my mouse's signal. My mouse is a G700S (so USB) and the thing was I don't really know how to do and even if it's feasible. I'm using an Arduino Micro and my ...
2
votes
1answer
965 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 ...
2
votes
1answer
264 views

Detect external ground on an input pin

I am making a bike alarm for my bike. I haven't started yet. Basically, I'm thinking of a pin to be connected to the metal post (to which the bike is locked.) I want to detect if that connection (to ...
2
votes
1answer
257 views

How can I send data to many IC's without using tons of shift registers?

I'm building an audio circuit that will play VGM files (Video Game Music). I have it working with two different "vintage" IC's such as the SN76489 and the AY-3-8912. Currently, my design is using an ...
2
votes
1answer
689 views

Arduino Grounding Issue

I have a project that turns a LED strip on and off using capacitive touch. The project uses an Arduino Micro as the brain and a 12v wall wart to power everything. I have the Arduino ground and ...
2
votes
1answer
122 views

Unable to alter SPI speed on Arduino Micro

I am using SPI to communicate with a IMU device which is working perfectly, except the SPISpeed which is not being altered as it should: unsigned int m_SPISpeed = 400000; SPI.begin(); pinMode(...
2
votes
2answers
319 views

De-Auth “attacks” using Arduino? [closed]

I'm trying to use my Arduino and an ESP8266 to spam De-Auth "attacks". I am quoting attacks because I do not plan on using this for malicious or destructive purposes. I've heard that the ESP8266 ...
2
votes
0answers
924 views

Sustainable power source for outdoor arduino weather station

I have been running a simple weather station composed of a Sparkfun Pro Micro (8kHz/3.3V), a DHT22 and a NRF24L01+ transceiver during the last couple of months, and I can tell you up here in Canada ...
2
votes
3answers
384 views

Connecting arduino to an existing circuit

I have a little clock with a button on it that i need to push four times every second hour. I am trying to get the arduino micro to do it for me. I am trying to figure out how to connect the arduino ...
2
votes
1answer
741 views

Unable to upload sketch after bootloader has been flashed on Arduino Micro

I have created my own custom Arduino Micro, but I am experiencing problems when I attempt to upload an sketch via USB in Arduino IDE. Here is how I program the Arduino Micro: avrdude -c ...
1
vote
1answer
163 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
2answers
39 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 ...
1
vote
2answers
8k views

Arduino Uno vs Arduino Micro timers → pins

Where do I find the pins relative to timers of each individual Arduino microcontroller? As I like Arduino's I already have various samples of them. The one I mostly use is the Uno and Micro for now......
1
vote
2answers
103 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 ...
1
vote
1answer
2k views

Arduino Micro “Keyboard Not Found”

This is my first script written with Arduino. I wrote a simple Hello World program but I'm getting the following error. Test:18: error: 'Keyboard' not found. Does your sketch include the line '#...
1
vote
1answer
104 views

LED bar graph script not working

I have LED bar graph on pins 2-11. Eventually I want to use a voltage divider to figure out the amount of voltage left in a power supply. Currently, this script should set the number of LEDs on the ...
1
vote
2answers
1k views

Arduino Micro tone() PWM Pins

according to the tone() documentation using tone() interferes with PWM output: Use of the tone() function will interfere with PWM output on pins 3 and 11 (on boards other than the Mega). On my ...
1
vote
2answers
3k 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 ...
1
vote
5answers
4k views

Error uploading Arduino Micro Sketch using Kubuntu

I have an arduino micro which I want to program from my Kubuntu 15.10 system. I installed the arduino software using apt-get, but when I try to upload the program (for test purpose I use the Basics\...
1
vote
2answers
3k views

Which Bluetooth Module can I use with Arduino Micro/Mini?

I need to use a Bluetooth module with an Arduino Micro/Mini. Please suggest which one would be the best, HC 05/06, or any other?
1
vote
2answers
82 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
210 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=...
1
vote
2answers
58 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 ...
1
vote
1answer
324 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 ...
1
vote
3answers
1k views

how to communicate MPU-6050 ( on arduino micro) wirelessly using nrf24l01 to arduino uno? [closed]

I have an Arduino Micro and MPU-6050. I'm trying to transfer the data obtained from the MPU-6050 wirelessly to my computer using an Arduino Uno at the other end. I'm not sure how to make this happen. ...
1
vote
1answer
540 views

Problems building an Arduino Micro with through-hole components

So I'm trying to build an Arduino Micro using a bread-board and through-hole components. I'm leaving out the voltage regulator and voltage selector (see schematic at the bottom for reference). I'm ...
1
vote
1answer
337 views

Arduino Micro Cannot get Interrupt 6 work on PIN 7

After finding out about the situation with pin7 from this tutorial: https://forum.sparkfun.com/viewtopic.php?f=32&t=35847 void setup(){ EICRB |= (1<<ISC60)|(0<<ISC61); // ...
1
vote
1answer
156 views

Amplification of microphone circuit

I am getting constant values and I need to know the amplification of the circuit. I believe that amplification = R8/R6 though I am not sure.
1
vote
1answer
114 views

multiple connection with ISP Pin at Arduino Micro

Actually I'm not good at English ;-) trying to ask to you. please understand me :) I needed connect SD card Shield and TFT LCD Screen to Arduino Micro. successfully finished compile at source code ...