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

learn more… | top users | synonyms (1)

0
votes
0answers
5 views

Why do I need to reset Leonardo each time I reboot my PC?

I am currently working on a project involving my Arduino Leonardo: writing Windows 10's login password by pressing a button (I know it brings with it lots of security issues, but I am not worried ...
0
votes
1answer
20 views

Keyboard.println missing characters when I print long strings

The topic is pretty straight forward: When I use Keyboard.println(), it sends short (up to 30-ish) strings just fine, but when I get up around 100 characters there are random characters missing. "...
0
votes
0answers
18 views

ard-reset-arduino resetting Leonardo/Micro via USB works on OSX, fails on Ubuntu

I'm trying to program a Leonardo (actually a Micro ATmega32U4) via the command line using USB. Schematically, I'm doing ard-reset-arduino followed by a sleep 1 and an avrdude command. This works ...
0
votes
1answer
19 views

Arduino Leonardo - disabling the debugger port

My Sketch program is working perfectly as a specialized keyboard application on the Leonardo. I want to disable the development tools drivers from the USB, (COM PORT) leaving only the HID Keyboard ...
0
votes
1answer
31 views

RF24 communication between Leonardo and Micro not responding

I have Arduino Leonardo and Micro. I can't manage them to communicate via nRF24L01. I made a receiver and sender sketch to test it and can't see any respond. I tested the same code on two arduino nano ...
1
vote
1answer
24 views

Combining arduino leonardo code with water alarm code

I need to create something for a school assignment, but I'm stuck at the moment. I have one code, which makes the Arduino Leonardo press space button on my laptop, which works. I have another code, ...
0
votes
1answer
29 views

Atmega32u4 external 8MHz clock

Does anyone know how to configure the Atmega32u4 to run using an external 8MHz oscillator ? I needs to still be responsive to the Arduino IDE Thanks
-1
votes
1answer
17 views

Keyboard key press listener

Is there a way to make a listener for a key press to begin a loop? Example: I press the Tab key on my keyboard and the programmed loop begins running. Essentially creating a keyboard hotkey.
3
votes
1answer
35 views

Arduino Leonardo - Using ICSP pins for serial

I'd like to know if it's possible to use the ICSP header pins on the Leonardo as GPIO pins, for example for software serial, and how to address them. I've a project which needs all available I/O pins, ...
-1
votes
1answer
75 views

“Exit(0);” caused uninterruptible uninterruptible loop on 32u4 board

I bought this 32u4 board on Amazon (https://www.amazon.it/gp/product/B019SXN84E/ref=oh_aui_detailpage_o00_s00?ie=UTF8&psc=1) that should be recognised as an Arduino Leonardo by the Arduino IDE. At ...
1
vote
0answers
36 views

Multi Agent Systems

In my project work, I have 3 robots with their own Arduino boards. Each robot has Infra Red Sensors, whose values I can read using its corresponding Arduino. The main thing however is that each robot ...
3
votes
0answers
82 views

Wrong microcontroller found on Arduino Leonardo

When I try to upload a sketch on this brand new Arduino Leonardo, I get this error: Arduino: 1.6.11 (Linux), Board: "Arduino Leonardo" Sketch uses 4,134 bytes (14%) of program storage space. Maximum ...
2
votes
1answer
59 views

What's Leonardo 5V pin current limit?

I'd like to know how much current can supply the 5V pin and the 3.3V pin on an Arduino Leonardo board. I've been lead not to trust the specs on Arduino's website. And, as an added question, can the 5V ...
2
votes
1answer
68 views

Powering ESP8266 from Leonardo's 3.3v pin

I'm new to Arduino, and I'm trying to connect my Leonardo via WiFi using a ESP8266 module. What I want to know is if I can power it directly from the onboard 3.3V pin like in the image: Or do I need ...
1
vote
0answers
73 views

Arduino Leonardo isn't detected by Linux Mint on serial port /dev/ttyACM0

I'm working on Linux Mint 18 Sarah (earlier Ubuntu 16.04 LTS) system. I've installed Arduino IDE using command sudo apt-get install arduino and I've added me dialout group using sudo usermod -aG ...
0
votes
0answers
11 views

Wii mote bluetooth

Im new to the Arduino world. I was wondering if it's possible to connect a wii-mote to an Arduino Leonardo. Should I buy an USB-host with a bluetooth receiver or just a Bluetooth module? Thank you ...
-1
votes
1answer
28 views

Use a 2.8" TFT with my Leonardo

for 2.8" diagonal color touchscreen TFT: Readme states: "Works with any classic Arduino '328. Solder closed three jumpers to use the ICSP header for use with Leonardo or Mega" What should I solder? ...
1
vote
2answers
160 views

A question about resistance measurement with arduino

Lately I was asking myself about the posibility of measuring a potentioneter resistance with arduino, and my questions are: 1) Is it possible? 2) if it's possible, what kind of restriction the ...
2
votes
2answers
210 views

Sending data via bluetooth

I am trying to both send and receive data using bluetooth module. Receiving data works fine with this code: void setup() { Serial1.begin(9600); Serial.begin(9600); } void loop() { if ...
0
votes
1answer
33 views

Real Time Clock Module Reset

I just had a pretty simple question about the RTC Clock Modules, more specifically the DS3231 RTC. Once calibrated and running on my Arduino if I were to unplug it and plug it back in, will the time ...
0
votes
3answers
244 views

Converting char array to int

I'm trying to use nRF24L01 module to send a messages between 2 arduinos Transmiter code: const char text[] = "Hello World"; radio.write(&text, sizeof(text)); delay(1000); Reciver code: ...
1
vote
1answer
38 views

Port Not Being Found

Hey everyone I know this is a pretty common question, and I have read/tried almost everything on all the other posts here and on the arduino.cc forums, but I have been unable to fix my problem. ...
1
vote
5answers
129 views

How accurate is arduino time keeping?

I want to use my arduino to turn a light off for 16 hours and on for 8 hours. I know the general code, just using delays and the relay shield code as well. I want to know how accurate this will be? ( ...
1
vote
2answers
149 views

Upload code on Arduino Leonardo using command line

I'm tryng to upload a compiled .hex file on an Arduino Leonardo, using the terminal. Uploading a sample code using the Arduino IDE works well, and from the Arduino IDE I got the upload command ...
0
votes
1answer
67 views

AVRDUDE Error (Arduino Leonardo)

I, like many others, have encountered the avrdude error. However, I am not sure how to go about fixing mine after looking at numerous forums, etc. avrdude: verification error, first mismatch at byte ...
0
votes
1answer
21 views

Arduino Wireless SD Shield

Is it possible to use the Wireless SD shield without the wireless function, or XBEE Module? I do not need it to be wireless it simply was cheaper than any other I could find, so I was wondering if it ...
1
vote
0answers
34 views

Leonardo connect to keyboard on laptop [closed]

Hello i want to make an interactive dj booth. When someone touches the foil the sound appears. How do i connect the leonardo to a keyboard.press('n')? And connect the board to foil so when you touches ...
0
votes
0answers
230 views

Permission problem Arduino Leonardo uploading in ubuntu 16.04

So I think I have tried everything in order to upload code from ubuntu from a non-root account. The non-root account displays the following errors when attempting to upload: avrdude: ser_open(): ...
0
votes
0answers
33 views

High Voltage/ High Current Problem?

I am planning on building a pump and will be using a High Torque Nema 23 CNC Stepper Motor 3.5A 3Nm(425oz.in) 23HS45-3504S. Because of the voltage difference I will need to use a driver which I have ...
0
votes
1answer
45 views

Peristaltic Pump Project

I am designing a peristaltic pump and need some advice for parts. I am using an Arduino Leonardo and also have an UNO and am planning on adding a temperature and pH sensor as well. I have two ...
1
vote
0answers
23 views

arduino leoanrdo based h keyboard

I just want to configure my laptops keyboard buttons a,s,d,f,g,h and j. I wrote this code and it works for only a but I couldn't configure other buttons. Code is: #include "Keyboard.h" const int ...
0
votes
1answer
64 views

Serial Communication to wpf (windows presentation foundation) Giving me odd results. How do I clear up the Strings I am receiving

Ok, So I'm trying to make a voltage/temp logger that will post to SQL. I'm using a WPF to make kind of a UI for people to measure the voltage of a cell, and take the temp of the battery acid in the ...
1
vote
0answers
56 views

Cannot connect device with nRF8001 Bluetooth LE to Windows 10 PC

I've built a device using an IMUduino board, which is supposed to be similar to Arduino Leonardo board with a nRF8001 bluetooth. I was able to connect my device to an Android phone using the nRF UART ...
0
votes
0answers
8 views

Xbee communication error

I'm developing a satellite which sends sensor data via Xbee (in space we are not gonna use Xbee but a card with same protocol so we are using Xbee for prototyping.). In first tests, we can send a test ...
0
votes
0answers
19 views

DFRobot 4wd pirate mobile plateform with Ultrasound Obstacle Avoidance

I have problem with uploading the complete program on the robot arduino, this the code I am using /**************************************************** * DFMobileAvoidanceInfrared ****************...
0
votes
2answers
713 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?
2
votes
2answers
60 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
36 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
88 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
53 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 ...
1
vote
1answer
46 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
57 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 ...
2
votes
1answer
128 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
27 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
87 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
75 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
101 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
128 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
63 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
161 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 ...