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

learn more… | top users | synonyms (1)

0
votes
1answer
15 views

WS2812B strip stopped responding to control

I have a WS2812B strip (A clone of the adafruit one I assume, it's from China via eBay) of 60 LEDs. When I got it, it was all fine - I could load the FastLED examples and they would work perfectly. I ...
3
votes
3answers
84 views

Getting a fixed sampling rate

Ultimately I will move to a generic smart phone for this project. I'm trying to read 4 analog inputs from my arduino with a fixed 1kHz sampling frequency. I managed to set it to read at 1kHz as you ...
1
vote
3answers
41 views

Arduino analog input protection

I've been trying to find a way to protect my analog input pins (for my Leonardo and Pro micro). I'm basically using them to read an amplified piezo sensor output. The output is amplified because I'm ...
-2
votes
0answers
40 views

Measuring capacitance with Arduino Romeo (Leonardo) [on hold]

I'm trying to measure the capacitance of capacitors within the nF range using an Arduino Romeo/Leonardo. I used the tutorial from the second part of this YouTube video: It is however not working. ...
0
votes
4answers
91 views

Delay between multiple analogReads

I'm trying to read 4 analog inputs (1kHz speed). I changed the prescaler to 16 for my Arduino Leonardo according to this link. I then tried to read the analog pins and I used the following code to ...
0
votes
1answer
52 views

Arduino and GPS module Neo 6m

I have an Arduino Leonardo and a GPS module "NEO 6M" Pinout: PPS->free rxd->11 txd->10 gnd->gnd vcc->5v I'm running this code: #include "SoftwareSerial.h" ...
1
vote
1answer
19 views

Arduino Leonardo clone voltage question

I'm planning my first Arduino project which involves a MPU-6050 accelerometer(3.3V) and a RGB led(5V). I've found this Arduino Clone but i'm not sure if it has 3.3V and 5V outputs that I can use. The ...
0
votes
1answer
31 views

why leonardo bootloader is bigger than UNO?

Apparently leonardo and UNO are very similar boards. However, despite that both have the same flash memory size, Leonardo bootloader is considerably bigger than UNO bootloader (4KB vs 0.5KB). what ...
0
votes
0answers
14 views

Keyboard for Leonardo

I will try and make a computer powered by the arduino, and I don't know how to get a keyboard working with it. I'll use the arduino leonardo for the computer, but what do I do?
0
votes
1answer
62 views

How to convert Arduino example sketch to a complete c++ project?

I'm experimenting something new with my Arduino Leonardo. I removed its original bootloader and flashed it with LUFA mass storage example with added functionalities(now its a firmware). I'm trying to ...
0
votes
1answer
18 views

Arduino Leonardo model differences

I was thinking of buying another Arduino, and the Leonardo looks appropriate. However I am confused! The Comparative Tables seems to show 2 different Leonardos. (This table is very difficult to read ...
0
votes
2answers
57 views

Using Arduino libraries for adding more functionalities to a bootloader

I have a short question to ask before putting time for research. I have an Arduino Leonardo with the LUFA mass storage bootloader flashed. Now what I need to do is to add more functionalities to the ...
0
votes
1answer
37 views

Problem with uploading LUFA MassStorage .hex file to Leonardo

I have been trying to make my Leonardo board to work as a USB device. So I started with compiling the open source LUFA USB library demo "MassStorage" for the Leonardo board settings. Since I'm using ...
0
votes
1answer
39 views

Arduino leonardo. Encoder mouse movement

I want to connect my sensonrs to an arduino leonardo. The principal idea is use it like a scratch (like dj hero or beatmania??), if I move the scratsh up, the mouse will go up ( y Axis ), and if it ...
0
votes
1answer
26 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
1answer
95 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
36 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
38 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
25 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
45 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
23 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
46 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
110 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
37 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
94 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
75 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
104 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
124 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 ...
-1
votes
1answer
32 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
223 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
461 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
40 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
452 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
2answers
42 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
151 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
233 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 ...
1
vote
2answers
80 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
25 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
36 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
34 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
58 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
25 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
81 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
65 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
2answers
1k 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
77 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
39 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
89 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
54 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
51 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 (...