An Arduino board based on the ATmega32u4 chip with built in USB HID functionality

learn more… | top users | synonyms (1)

0
votes
1answer
10 views

press windows key using keyboard.press();

Is it possible to allow an arduino Leonardo to simulate pressing the windows key using the keyboard.press(......); command? If so, what is the required value?
1
vote
1answer
19 views

How can i set 4 Arduino Leonardo PWM-ports between 200Hz and 1kHz?

I've noticed that I can set D9, D10, and D11 to around the timer 1 can be set to ~244Hz, however i need 4 ports that are between 200-1000Hz but have been unable to figure out how to find the last one. ...
3
votes
1answer
15 views

Arduino Leonardo runs unusually hot

I have a genuine (purchased from Adafruit) Arduino Leonardo that I have had for 2 years and I have not had any issues with. However, I have always noticed that it seems to be running suspiciously hot ...
5
votes
2answers
66 views

Practicality of recording speech

Is it practical to record speech with the Leonardo? I want to record speech via a MEMS microphone and stream it over a serial connection to a Raspberry Pi for speech-to-text processing. This article ...
1
vote
0answers
32 views

master slave control of 2wd robots using xbee

Hi there I just need to ask you how I can send command from master robot to slave to follow using Xbee. I have configured both the xbee in AT mode, but I totally dont have the clue how the program. I ...
0
votes
1answer
20 views

Keyboard input arduino speed

I have an Arduino clone of a Leonardo and I was just wondering how many keyboard commands I can send to the computer per second via USB. I'm not talking about the delay between send and receive ...
0
votes
1answer
30 views

Trying to start a timer to change lights when a button is pressed

I am trying to setup a series of lights (traffic lights) that change based on a timer that begins when a button is pressed. The goal is to use the lights to track how long its been since you pressed ...
1
vote
1answer
42 views

Why is the nRF24L01 not working with Arduino Esplora?

I am working on a remote control car from an Arduino Esplora board and the Mega 2650 Board. My problem lies with the Esplora board as the nRF does not transmit like it is supposed to or does not even ...
0
votes
1answer
19 views

How to combine Leonardo with Ultrasonic sensor?

I am working on an Arduino project that replaces the computer mouse. I want to do this in combination with an ultrasonic sensor. I found some nice examples on youtube, but they didn't post the code. ...
0
votes
2answers
28 views

Arduino Leonardo Pro Mini will not begin sketch when connected to BIOS not an OS

I have an Arduino Leonardo that I am using to emulate a Keyboard using the keyboard.press function with the Keyboard.h libraries. I have gotten the Keyboard.press function to work on my windows and ...
1
vote
0answers
62 views

Need help with Leonardo and HID code

I have a challenge I can't solve, I need your help! I have a car cruise control lever I want to connect to an Arduino Leonardo and have it act like a keyboard (HID). The lever has only two wires, ...
1
vote
0answers
56 views

Arduino IDE programs Leonardo but cannot open serial terminal

I'm using Arduino: 1.6.7 (Mac OS X 10.11.3), Board: "Arduino Leonardo". When I try to program my code, it works without problems. When I want to open the built-in Serial Monitor or Serial Plotter, ...
2
votes
1answer
51 views

ATmega32U4 (Leonardo/Pro Micro) bootloader, 8K rather than 4K?

Recently hit the dreaded 0x7000 / 28k~ AVRDUDE+LUFA limit. It states everywhere this is because the bootloader uses 4KB, thus reducing the 32KB to 28KB. Makes sense, except... Blank sketches on the ...
0
votes
1answer
44 views

arduino flexbot drone connected in a wrong way

I have an arduino flexbot, I was making some test and accidentally I connected the battery in the opposite way. The drone turned on the six motors when I connected the battery, but any led turned on ...
0
votes
2answers
56 views

How to diagnose unresponsive Leonardo serial port?

I was using an Arduino Leonardo (in the form of an RPI hat) to control a single DC motor via a motor controller. I have it wired to set Phase and Enable to control motor speed and direction, and I ...
0
votes
1answer
97 views

Recovering from lost USB connection (Leonardo to Raspberry Pi)

I have several Arduino Leonardos connected to a Raspberry Pi (running Ubuntu) via USB. They appear as /dev/ttyACM0, /dev/ttyACM1, etc. Occasionally, one will disappear and even pressing the ...
2
votes
2answers
156 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
106 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 ...
1
vote
1answer
76 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
35 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
87 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
38 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
166 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
86 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
34 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
228 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
244 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 ...
1
vote
0answers
64 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 ...
1
vote
0answers
39 views

Pro Micro and LilyPad USB

Is there a difference between Pro Micro 8MHz 3.3V and LilyPad USB bootloaders? Both are based on 32U4 running at 8 MHz.
0
votes
1answer
108 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 ...
4
votes
1answer
9k 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 ...
1
vote
0answers
52 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
86 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 ...
1
vote
1answer
139 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
116 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
337 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
85 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 ...
2
votes
0answers
133 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
476 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
43 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
23 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
201 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
518 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
177 views

What happens if I don't open the USB serial port of Arduino Pro Micro / Leonardo?

My question is related to this one. My sketch seems to stop responding after some time if I run it with debug enabled and I don't open the serial port/monitor on the computer. Does the UART buffer ...
1
vote
2answers
145 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
56 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
129 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
544 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 ...
1
vote
0answers
142 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.
1
vote
2answers
1k 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 ...