An Arduino board based on the ATmega32u4 chip with built in USB HID functionality
2
votes
2answers
130 views
Pinout for Leonardo USB
According to the docs, the Arduino Leonardo uses digital pins 0 and 1 for the USB D- and D+ lines. However, which is which? e.g. is D0=D+ or is D1=D+?
To save space in a very tight project, I want to ...
1
vote
1answer
42 views
RF24 tranceivers: trouble with two way communication
I am using RF24 modules with my two Arduinos Leonardo with the RF24 library. My goal is to be able to press a button on the first Arduino which will light up an LED on the second Arduino, and be able ...
0
votes
0answers
19 views
How to send a pitch bend MIDI message using arcore?
I'm new to MIDI and started playing with an Arduino Leonardo and arcore.
Based on the example code, I can easily send noteOn/noteOff/controlChange messages, but I can't seem to send a pitch bend ...
0
votes
1answer
27 views
Different behavior than in simulator: 5V pin works instead of GND. Why is that?
I use this simulator to check if what I want to do works. This is how it looks like:
I've recently realised that I've connected my RGB LED to 5V pin instead of GND like on schema. It worked ...
1
vote
2answers
75 views
How to learn electronics/programming with Arduino? [closed]
I want to learn core and mechanics of microcontrollers with Arduino, and I don't really know where to find good source of knowledge.
Every Arduino related tutorial is about very basic stuff like ...
1
vote
1answer
28 views
How to get started? [closed]
I'm a guy who loves the tech world, but more in particular the Robotic one.
I wanna start developing/making my first creations of robots or sort of.
I won a little board from Texas Instrument from the ...
0
votes
0answers
62 views
Changing name of usb device?
I've successfully setup two joysticks using leojoy, everything works fine but both joysticks have the same name in windows joystick properties (Leojoy!) and my games get confused about which joystick ...
1
vote
2answers
53 views
How to send volume +/- on Mac/OSX from Leonardo
I saw this answer but I can't find the analog for Mac.
I've tried cycling thru keycodes from 0x01 thru maybe 0x500, and I went thru ascii a few times, also found brightness up/down, and F11, F12, but ...
0
votes
1answer
26 views
Arduino Leonardo bugs and lack of removable microcontroller
Following one of the article from 2013 :
Before you start hammering that “add to shopping cart” button, note
that the general impression around the web seems to be that the
Leonardo still has ...
0
votes
0answers
94 views
Can BUS Shield on Arduino Leonardo - Can't init CAN
I'm hoping to get some help with this as I am unable to get the CAN to Initialize.
I have the sparkfun Can-Bus shield: https://www.sparkfun.com/products/13262
and an Arduino Leonardo board.
I'm ...
2
votes
1answer
173 views
Keyboard.print() skips keys
I'm playing with the Arduino Leonardo Keyboard.print() command, but I'm facing a annoying problem:
When I print a double quote, it will not appear and also will make to disappear the next character ...
0
votes
0answers
46 views
Is my leonardo broken? Is there a way to make it work?
backgrounds
I bought arduino leonardo and connect it to Ubuntu 15.04.
With arduino IDE 1.0.5(from Ubuntu official repo) running in sudo, the arduino was recognized as /dev/ttyACM0.
So I tried to ...
0
votes
0answers
24 views
Pro Micro and LilyPad USB
Is there a difference between Pro Micro 8MHz 3.3V and LilyPad USB bootloaders? Both are based in 32U4 running at 8 MHz. Thanks
0
votes
1answer
50 views
Arduino Pro Micro Analog Pinouts
I have the Arduino Pro Micro and I would like to use all the analog pins that I can on it.
It currently looks like it has a total of 9 Analog pins that can be used.
A0, A1, A2, A3, A6, A7, A8, A9 ...
2
votes
1answer
1k views
How do you use SPI on an Arduino?
With reference to the Arduino Uno, Mega2560, Leonardo and similar boards:
How does SPI work?
How fast is SPI?
How do I connect between a master and a slave?
How do I make an SPI slave?
Please ...
0
votes
0answers
37 views
can this piece of a camera flash send an input signal to my arduino?
I have a piece of a broken camera flash (an old Yongnuo one) that has a single pin that tells the flash when to fire. The pin looks like this :
(I guess the ring is the return/ground?)
The other side ...
3
votes
1answer
62 views
Two Leonardos on one USB hub - not working properly
I have two Arduino Leonardos here. They do different things, but basically they both emulate a keyboard. Here is an example:
const byte SWITCH = 12;
void setup ()
{
Keyboard.begin();
pinMode ...
0
votes
1answer
65 views
Loading Leonardo bootloader to Atmega32U4 running at 8 MHz
I am currently using ATMega32U4 running at 16MHz using Leonardo. I can only supply 3.7V (I use LiPo batteries) and everything seems fine but this is not as per specs.
To run at 16 MHz, I have to ...
2
votes
1answer
99 views
How to calculate voltage?
I want to check each cell voltage using arduino.
and how to calculate dc current using CT Sensor using Arduino?
0
votes
1answer
171 views
Did I break my new Arduino Leonardo Eth by restarting it?
I just bought a new Arduino Leonardo Eth, and, it was working perfectly.
I probably uploaded about 30 different sketches, and it did everything as expected.
The basic sketch was using the fade demo ...
1
vote
1answer
68 views
Adafruit_NeoPixel define pin for different setups
I am looking for a way of defining multiple pins for my RGB strips. Currently the defined variable is set with the pin within it. This works just fine if I only had one RGB strip connected to the ...
1
vote
0answers
73 views
Using USB on a Leonardo to receive data from PC
I am new to the Leonardo, having only used a duemilanove before, and I am interested in using it's USB capabilities for a project.
Basically I need it to be an input and output device, communicating ...
0
votes
1answer
283 views
Burning Arduino Leonardo Bootloader to ATmega32U4 with 8MHz internal clock
Burning question:
So, I'm trying to burn the Arduino Leo bootloader onto a ATmega32U4 that's on 3.3V and the internal 8MHz clock. Do I have to modify and rebuild the bootloader to set the fuses ...
1
vote
1answer
39 views
Handling serial streams biggers than the available ram
I need to parse text coming into my MC (Leonardo) over the hardware serial port. The data comes in burst, and the parsing routine manage the data flow with easy when it is less than the serial buffer.
...
0
votes
0answers
21 views
Is serial modem routine written on the Arduino Leonardo bootloader?
I'm starting with Leonardo and I'm a bit confuse about the serial modem function. As you know on boot the Leonardo for the first 8 seconds wait for a program on the USB port and then it goes in serial ...
0
votes
3answers
69 views
Request for member is Non-class type
Im getting this error:
iotHook.ino: In function 'void setup()':
iotHook:13: error: request for member 'begin' in 'esp', which is of non-class type 'Esp8266()'
request for member 'begin' in 'esp', ...
0
votes
1answer
291 views
Can't get Arduino Leonardo working as a USB keyboard in Windows 7
I can't believe I am stumped by this, but this is my issue and I can't see any other solution for this anywhere.
I have an official Arduino Leonardo loaded up with the following code:
void setup() {
...
0
votes
1answer
107 views
What happens if I don't open the USB serial port of Arduino Pro Micro / Leonardo?
My question is related to this one. I think my sketch stop responding after some tome if I run it with debug enabled and I don't open the port/monitor on the computer.
Does the UART buffer fill up ...
1
vote
2answers
106 views
Is there any problem about calling if (Serial) many times?
I am trying to debug a problem that I think may be related to the debug code itself and I tried to use theese macros:
#define DEBUG_PRINT(x) { if (Serial) { Serial.print(x);} }
#define ...
4
votes
1answer
48 views
IR frequency difference
I want to create a device that interfaces with the Light Strike Lasertag system using an Arduino Leonardo.
The Light Strike system uses not laser but regular infrared signals. According to a site ...
0
votes
2answers
90 views
Why do only specific arduinos support the keyboard and mouse libraries?
The Arduino website suggests that only three boards are supported for the Mouse and Keyboard library page:
Leonardo
Micro
Due
What is special about those boards, that the other boards in the ...
0
votes
2answers
270 views
Can I use analogReadResolution() on an Uno or Leonardo?
I am trying to get a spectrum analyser up and running. I found the following code on Galileo GEN2 Project - Real-Time Audio Spectrum Analyzer1:
/*
*
* Galileo GEN2 Project - Real-Time Audio ...
0
votes
0answers
78 views
Leonardo sketch and bootloader hex file combination
Can I combine Leonardo sketch hex file with the Leonardo bootloader hex file?
I would like to program blank Atmega32U4 with one shot.
0
votes
2answers
571 views
Disabling i2c internal pull up resistors
How do you do this? I've been digging around and I can see that I should do this and supply my own external pull up resistors but I don't know exactly how to disable them. The pages I've been reading ...
2
votes
3answers
142 views
Do I need a bubble sort or something easier?
I'm using an Arduino Leonardo and a GPSTiny++ library to parse NMEA strings from my GPS receiver. In this chunk of code I'm averaging all satellite SNR numbers for satellites which are locked (Being ...
4
votes
1answer
119 views
Remove Bootloader on Arduinos
I am trying to move from arduinos to AVR C. Would somebody know how to remove the arduino bootloader from the microcontroller? Is there a different process for the different atmega microcontrollers ...
-1
votes
1answer
147 views
Serial communication not working between two Arduinos unless connected to computer
I have a robot with an Arduino Mega that gets data from a bluetooth module and sends it to an Arduino Leonardo to activate some functions. It all works amazing but only if the boards are connected to ...
0
votes
2answers
147 views
Leonardo and micro: high pitch noise when powered from Vin
I have an issue with several Leonardo and Micro boards.
On all of my boards, there is a sawtooth of about 690mV ptp @ 4kHz on the 5V supply when powered from Vin (external power).
The frequency ...
0
votes
1answer
106 views
Analog pins all reading same value
I'm trying to read 5 analog inputs, but all the pins are reading the same as pin A0, plus or minus a couple points. I tried using pulldown resistors on all 5 pins and it made no difference. The board ...
0
votes
1answer
138 views
Leonardo Serial1 enable internal pull-up for removable Bluetooth module
I would like to have a serial Bluetooth module thats completely removable, leaving nothing connected to the arduino.
My code would freeze up whenever the Bluetooth module was removed. I eventually ...
0
votes
1answer
48 views
Leonardo broken?
My leonardo was working fine until today, when I plug it to my computer all led (RX/TX/L/ON) stays on (Green for on, amber for others) and my computer no longer see a com port.
(by the way, do you ...
0
votes
0answers
138 views
Programmatically Upload Arduino Sketch From Android App
I am attempting to build an Android app from which I can can upload a .hex file to my Arduino(Leonardo). I am aware of a few apps in the Google Play store that are capable of this functionality but I ...
-1
votes
1answer
38 views
What is wrong with my 32u4 breakout board from adafruit?
I recently bought the atmega 32u4 breakout board from adafruit. I uploaded a sketch, then it says that there isn't a timer 2 on it and it won't do as I programmed my sketch. how can I fix this?
0
votes
1answer
26 views
Where are the digital and analog pins for the adafruit atmega 32u4 breakout board?
Which pins are the analog and digital pins? I've been searching the internet for an hour and I could get an answer.
0
votes
0answers
25 views
arduino leonardo stops transmitting once hdmi cable is connected to a screen
I am using arduino leonardo for moving mouse pointer with head tracking using MPU6050. It works fine in general. But as soon as I connect an external lcd screen to my laptop via hdmi cable, it stops ...
0
votes
0answers
84 views
Clone pro micro serial port 'COM4' already in use
So I just got this board I ordered from ebay and tried to play with it for the first time. ...
0
votes
1answer
260 views
Starting usb on pro micro after deep sleep (ATmega32u4)
I have just started playing with a low power arduino project, and have managed to get the power drain down to about 220uA using powerDown from LowPower.
What I would love to be able to do is start ...
2
votes
0answers
408 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 ...
0
votes
1answer
115 views
Overriding main function in Leonardo
I've trying to write my code in plain C++ dropping out the Arduino's IDE. Although I've succeed in compiling the code, whenever I try to upload it to the board it doesn't run, seems that it stucks at ...
1
vote
2answers
330 views
Conflicts with USB and external power supply
I want to power an Arduino Leonardo with an external power supply and simultanously communicate via USB. I have read some other threads on this topic, therefore, I know that if one supplies more than ...