Questions tagged [arduino-leonardo]

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

Filter by
Sorted by
Tagged with
0 votes
0 answers
16 views

Electromagnet not Turning Off when Entering Password

Currently I'm working on a relatively basic project. You enter a password into a 3x4 keypad, it displays "Correct" on the LCD monitor, and then the electromagnet releases, opening the lock. ...
user avatar
  • 1
0 votes
0 answers
37 views

Disable USB support for mega32u4

I have a custom Leonardo board (mega32u4-based) that does not use at all the USB features. When I build my sketch (vscode and platformio) I read: Compiling .pio/build/leonardo/FrameworkArduino/CDC.cpp....
user avatar
  • 287
0 votes
2 answers
77 views

Arduino Leonardo/Pro Micro sleep and USB

I am using an Arduino Pro Micro (basically a Leonardo in a smaller form factor) in a mobile application where power consumption is really important. To reduce power consumption, I put the Arduino to ...
user avatar
  • 207
-1 votes
1 answer
60 views

Is it legal to "simulate" Yubikey OTP autentication with an Arduino in own product? [closed]

I found the following Github Repo that makes it possible to build your own Yubikey with an Arduino Leonardo device. https://github.com/pagong/arduino-yksim Pretty cool. However I am wondering if using ...
user avatar
0 votes
1 answer
49 views

Different meanings of pid and vid in boards.txt

Let's see the leonardo section in boards.txt: leonardo.name=Arduino Leonardo leonardo.vid.0=0x2341 leonardo.pid.0=0x0036 leonardo.vid.1=0x2341 leonardo.pid.1=0x8036 leonardo.vid.2=0x2A03 leonardo.pid....
user avatar
  • 287
0 votes
1 answer
35 views

Can I flash hoodloader2 or HEX files on Arduino Simulators?

I want to make a HID Keyboard out of Arduino UNO, in UNO board the script runs perfectly fine, but the UNO board requires me to flash it every-time I want to put in a new script in it, so can I do the ...
user avatar
1 vote
1 answer
107 views

Can't type backslash (\) with Keyboard library

I'm trying to make a macro keyboard, where I can press a single button and it will open programs for me. I'm trying to type this, for example: "c:\windows" but it gets typed out like this: ...
user avatar
0 votes
1 answer
45 views

LiquidCrystal issue with HD44780 display

Here my sample code for an Arduino Leonardo-based custom board: #include <LiquidCrystal.h> const int rs = 3, en = 0, d4 = 4, d5 = 30, d6 = 12, d7 = 6; LiquidCrystal lcd(rs, en, d4, d5, d6, d7); ...
user avatar
  • 287
2 votes
1 answer
98 views

Multiple Arduinos, same name - Windows 10 Game Controllers

I am making some SimPit panels and SimRacing devices, and I've run into an annoying issue. I have multiple Arduinos (Leonardos and ProMicros) that show up as the same "Controller Names" (...
user avatar
1 vote
0 answers
44 views

Porting Arduino for ATMEGA16U2 [duplicate]

I have a bunch of ATMEGA16U2 in my drawer and I need to make a small production of custom boards with Arduino-based firmware. After a Google search I learn the ATMEGA16U2 is often hosted on the ...
user avatar
  • 287
0 votes
1 answer
93 views

Leonardo with hm-10 doesn't work

I have a hm-10 module attached to Arduino Leonardo board, I'm using a bluetooth terminal app to send some text. The problem is I can send data from the Serial monitor to my phone but when I send from ...
user avatar
2 votes
0 answers
67 views

Stand alone Atmega328p-au

I'm trying to make a standalone arduino board with an OLED display using an Atmega328p. I never tried to make such a board using SMD components. I've soldered everything together except the OLED ...
user avatar
2 votes
1 answer
90 views

Question regarding using Arduino and MIDI

I'm using an Arduino Leonardo for sending MIDI In and Out messages to Ableton Live. Components include a Potentiometer, a Capacitive Touch Sensor, and a DC Motor, which I'm powering with a L298N Motor ...
user avatar
1 vote
0 answers
108 views

ATMega32u4 - Sending and receiving data through TX and RX

Hi everyone, first time here on the forum, so, apologies if I'm doing anything incorrectly. Long story short, I built a device that takes voltages in and transform them into midi data. I used an ...
user avatar
1 vote
1 answer
80 views

Arduino Leonardo doesn't print anything to Serial Monitor with my specific code

I did a project with an Arduino Leonardo and a fingerprint sensor (DY50). When I uploaded the enroll example from the Adafruit Fingerprint Library and saved my fingerprint, everything worked. But when ...
user avatar
1 vote
0 answers
78 views

Is there any way to do real time voice communication via bluetooth on arduino?

Is there any way to send and play voice between two arduino projects which has connected via blutooth modules. 1st device ( sender ) : has microphone and bluetooth module to send voice. 2nd device ( ...
user avatar
1 vote
2 answers
170 views

Arduino Pico doesn't work with ST7735 screen

I am attempting to get the graphicstest example bundled with the Adafruit ST7735 library for the 0.96 inch LCD screen. The example runs fine and serial communication is up and running. However, ...
user avatar
  • 85
1 vote
0 answers
148 views

I'm making a trim wheel using a rotary encoder for flight simulation. Should I have the Joystick library use button presses or make it an axis?

Title says the majority of it. I'm looking to make a trim wheel for flight sim using a rotary encoder, the Joystick library and an Arduino Leonardo. I wasn't sure if it would be better to make it a ...
user avatar
1 vote
1 answer
147 views

Using Leonardo as keyboard: add wake and sleep functions

I want to use a Leonardo with USB chip to emit some commands via USB port to a digital piano computer (running Windows 7) for various functions. I've gotten the Leonardo to emit page up and page down ...
user avatar
2 votes
1 answer
131 views

Arduino Leonardo - Setting up bluetooth - AT command from terminal does not return anything

I am trying to setup bluetooth with a board that contains Arduino Leonardo chip. My full setup is: The main board: https://www.dfrobot.com/product-1148.html The base shield: https://coolcomponents.co....
user avatar
  • 141
-1 votes
2 answers
537 views

Arduino sketch uses too much memory storage space?

I've never used arduino before but am using one for a school project. I am using an arduino leonardo and I've uploaded the sample code below #include "Adafruit_CCS811.h" Adafruit_CCS811 ccs; ...
user avatar
3 votes
2 answers
180 views

How do I recover a beetle where I loaded a program that was too large and overwrote the bootloader?

I'm doing on-target unit testing for an industrialized application and my test code is too large to fit everything on the board at the same time. I'm using the Sloeber toolset to develop, and I put ...
user avatar
1 vote
0 answers
68 views

Copy outbound data of Serial to Serial1 for Pro Micro

I am working on a bluetooth HID device. There are libraries which make HID devices a cake walk if you are making a wired version of your HID device. I managed to configure my bluetooth module to ...
user avatar
0 votes
1 answer
339 views

Wiring Multiple MPU 6050 to Micro/Lenardo

disclaimer I am new at hardware/circuits I am currently trying to connect two MPU-6050 to a single Micro board. In addition, there are 5 additional buttons to be connected. I am under the impression ...
user avatar
  • 101
1 vote
1 answer
110 views

Input Capture with Sleep Enabled on ATM32u4 board only works every second reading in SLEEP mode

In short: I have an Input Capture code and a Power-Saving code combined into one program. Both are adapted from Nick Gammon's examples that work fine independently. When I combined them into one ...
user avatar
  • 71
0 votes
1 answer
113 views

Arduino Keyboard starts lower case (but it shouldn't)

So I flashed the KeyboardMessage example to my Arduino SS Micro ATmega32U4. When I open an editor and push the button, I would assume the output to be Zou pressed the button XX times. (The "Z&...
user avatar
  • 127
1 vote
1 answer
57 views

Leonardo keypresses not working with OBS

I am using an Arduino Leonardo to have hotkeys for OBS but they don't work when the OBS Studio window is not focused. I have the Leonardo press Ctrl + Alt + Shift + F7 when I press a button connected ...
user avatar
1 vote
2 answers
2k views

Button box wiring sanity check

I am building a flight sim button box and I would like someone to please check my proposed wiring diagram. I will be using 12 buttons, 4 rotary encoders, each also with a push button and 4 (on)-off-(...
user avatar
  • 21
1 vote
2 answers
214 views

Keypad as game input device?

I have been trying to get a button matrix to work but im not experienced enough in programming. I Have tried to read up but i don't know how to execute so some help would be greatly appreciated. I ...
user avatar
1 vote
0 answers
185 views

Gamepad connection using Pro Micro(ATMEGA32u4 + HC-05

I have been working on making a HID compatible Gamepad using Pro Micro and HC-05 module. I have successfully configured the class of HC-05 module to appear as an Input device(A gamepad) on my PC ...
user avatar
0 votes
1 answer
276 views

ISR Issue: Arduino Pro Micro

I'm trying to do a small test where I am using the ISR on the Arduino Pro Micro it up from sleep mode. I'm using a Force Sense Resistor (FSR, a resistor that changes it's resistance depending on how ...
user avatar
  • 135
0 votes
1 answer
49 views

Is extra hardware and components needed to connect the bare MCU directly to a PCB, without a shield?

As a hobbyist I code in a variety of arduino's and in Digispark's (Attiny 85 and 167). But I'm doing a project with space contraints, so I'd need to use just the MCU directly over my pcb. Apart from a ...
user avatar
  • 113
1 vote
1 answer
68 views

String(int) function stopping the Arduino

Well I am trying make an application with arduino leonardo and GSM Shield. There are conditions if, else if, else .. etc if (smsMetni.indexOf("DURUM") != -1) { Serial.println("SMS ...
user avatar
  • 205
1 vote
1 answer
835 views

Arduino Joystick Library not Recognized by Games (Steam)

I have an Arduino Pro Micro running code that uses the Arduino joystick library to act as a gamepad. I'm just doing testing right now so there's a single button wired up and configured in the code. ...
user avatar
1 vote
0 answers
172 views

leonardo mouse readings

hi there im using arduino uno + usb host shield and i have taken the readings from the usb mouse in this line of code : x = mi->dX; and the x output is the speed of the mouse x coordinates and i ...
user avatar
1 vote
0 answers
180 views

How do i efficiently write this code for PS2 controller to USB convertion sketch for Arduino Pro Micro?

I am really new to coding and building stuff, so forgive me if it is anything offensive.i have been trying to convert my PS2 dualshock controller to USB using arduino. there is a library called ps2x ...
user avatar
1 vote
0 answers
52 views

WIFI Bee ESP8266, MySQL and PHP

I am trying to update a db table using a WIFI Bee. For the life of me, I can't figure out how to connect to and program the WiFi Bee ESP card. I've looked on DFRobot's website and other websites to ...
user avatar
1 vote
1 answer
171 views

Blank project gives errors while uploading Arduino Leonardo on Linux Manjaro

I'm on Linux Manjaro. I plugged my Arduino Leonardo clone (that I know works correctly). And tried to flash a blank project on it: (My IDE version is 1.8.12) void setup() { // put your setup code ...
user avatar
  • 147
0 votes
1 answer
138 views

Why can the Xbox360 not detect the Arduino Leonardo as keyboard?

Arduino Leonardo as keyboard in the computer works! But not with the Xbox360. The Teensy works perfectly on the PC but how to emulate a keyboard device for the Xbox360. I know the Xbox360 has ...
user avatar
  • 121
0 votes
1 answer
59 views

How can I understand which arduino I need to run some code?

I want to build this project (but any other project would give me the same uncertainty): https://github.com/ltpitt/arduino-n64-controller-library But I cannot understand which arduino I can buy that ...
user avatar
  • 103
2 votes
1 answer
454 views

Does the MKR WIFI 1010 support the arduino mouse and keyboard controller?

I am working on a project right now that needs to connect to my computer via bluetooth and access the arduino mouse and keyboard library. In my research, I've found that only the Leonardo, Due, and ...
user avatar
0 votes
1 answer
115 views

TLE9879 BLDC shield won't communicate

I just got the TLE9879 BLDC shield, which I connected to an Arduino Leonardo. Compiling the example sketch (bldc_shield_blinky_test) went fine, however, upon flashing it to the board the LED on the ...
user avatar
0 votes
2 answers
135 views

Can a video game potentially detect arduino leonardo?

If I automated an action in a video game through arduino leonardo, can it be detected? Things like autohotkey can be easily detected, however i would expect an arduino would be far more difficult. How ...
user avatar
2 votes
1 answer
538 views

Mouse.move values

I understand that Mouse.move move the mouse from its current position, example: Mouse.move(100, 100); Will move the mouse to 100 pixels right and 100 pixels down. But in reality it will move to ...
user avatar
  • 123
0 votes
1 answer
462 views

How to debug MIDI input?

I'm trying to receive MIDI messages on a Leonardo. To do that I used the circuit in the diagram below (only the top half for receiving). The only thing I did differently was using an 1N4148 diode ...
user avatar
  • 107
0 votes
1 answer
659 views

Can't get keypad to use Keyboard.write on an Arduino Uno

I've tried to use Keypad.h and Keyboard.h libraries to get my Arduino to use my Keypad for Keyboard input. I'll start with working keypad code (which is pretty easy but it's my first post so I want ...
user avatar
0 votes
1 answer
74 views

Does Keyboard.begin() and Keyboard.end() make my code slower?

I'm making an IR Macro keyboard, and about 10% of the code is dedicated to the Keyboard commands, would having Keyboard.begin() and Keyboard.end() in the method responsible for typing make any ...
user avatar
0 votes
0 answers
146 views

Connecting Arduino Uno to Arduino Leonardo

I have an RFID shield connected to my Arduino Uno, but I want it to be able to send keystrokes to the computer when I scan the correct card. I have the Uno set up correctly so that when the card is ...
user avatar
1 vote
0 answers
60 views

help with an outlaw pinewood derby car

So I am trying to create a code for an outlaw pinewood derby car. It is using a brushless esc with reverse for a ducted fan. The car has a push button on the front along with headlight and brake light ...
user avatar
1 vote
2 answers
361 views

What happens to serial output when no-one is listening?

This question probably needs a better title but I'm having trouble thinking of one! Please feel free to edit or suggest one. My target system is a pair of Arduino Leonardos linked by XBee radios. One ...
user avatar
  • 255

1
2 3 4 5
7