Skip to main content

Questions tagged [arduino-leonardo]

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

57 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3 votes
0 answers
1k views

TRIAC Pulse driver for Spot Welder (help needed with programming)

I have designed and built a transformer driver board for my spot welder. It is powered from mains electricity (230 V) and consists of the following segments: triac drive and protection, zero cross ...
Pioter's user avatar
  • 31
3 votes
0 answers
328 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, ...
Thomas's user avatar
  • 143
3 votes
0 answers
2k 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 ...
BytesGuy's user avatar
  • 131
3 votes
0 answers
189 views

9v adapter burned out Leonardo style board

My first experience with Arduino ended in a tragedy. I bought a Leonardo from ebay and upon arrival, attached it to my laptop. Programmed a simple blink demo with the onboard LED. It started working. ...
Helium's user avatar
  • 131
3 votes
0 answers
4k views

Using Leonardo and getting absolute x,y Mouse values

Trying to modify the native mouse methods so that it can use absolute, rather than the relative values it currently uses. This is so it can function as a touch screen pointer, and NOT a mouse. Am ...
Bachalo's user avatar
  • 251
2 votes
1 answer
120 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 ...
thessaksh's user avatar
2 votes
0 answers
261 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 ...
Aerandir's user avatar
2 votes
0 answers
797 views

Bitmap only displays correctly with PROGMEM keyword

I have a bitmap to draw defined as below. PROGMEM const unsigned char ship1 [] = {0x18, 0x3C, 0x7E, 0xFF, 0x81, 0xC3}; It is then used by the arduboy library's draw slow bitmap function like so: ...
kenjara's user avatar
  • 123
2 votes
0 answers
214 views

Arduino leonardo + OV7670 non-FIFO

I want to transfer image to PC via Arduino leonardo. OV7670 is non-FIFO, and no SD card connected. I followed this blog and this youtube video.using this code. when uplaod, I got errors below: ...
Mathilda Hsu's user avatar
2 votes
0 answers
84 views

ADC pin shutting off on its own under certain condition

A0 pin not working when full PV system in use I am using the DFRobot Leonardo with Xbee R3. I am using the A0 pin to read a 0-5V voltage from my voltage sensor, which samples and steps down 130VDC ...
Marcus Xing Koh's user avatar
2 votes
0 answers
594 views

PS2 Keyboard and sending keystrokes between a Leonardo and several pro micros

I am working on a project where I am taking the the key presses from a PS/2 keyboard and passing them to several pro micro boards so I can type the same commands on multiple computers at the same time....
landres's user avatar
  • 21
2 votes
0 answers
578 views

NEO 6M doenst provide coordinates

I do a school project (CanSat) it's an international project. But my problem is my GPS. I tried 2 different codes. Both they say the GPS is connected. They GPS led doesn't provide any light. wiring: ...
Hp school member's user avatar
2 votes
0 answers
126 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 ...
Craig's user avatar
  • 21
2 votes
0 answers
2k 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 ...
hubot's user avatar
  • 121
2 votes
0 answers
96 views

Arduino Leonardo 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 ...
Alican Aykac's user avatar
2 votes
0 answers
164 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 ...
Finfa811's user avatar
  • 121
2 votes
0 answers
188 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 don't have the clue how the program. ...
Pranay Sable's user avatar
2 votes
0 answers
311 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 ...
user14100's user avatar
2 votes
0 answers
549 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.
Jawa's user avatar
  • 31
2 votes
0 answers
154 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 ...
ajlowndes's user avatar
  • 121
2 votes
0 answers
83 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 ...
DomingoSL's user avatar
  • 167
2 votes
0 answers
575 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.
Tigran's user avatar
  • 111
2 votes
0 answers
892 views

Teensy USB Core on Leonardo

The USB Serial speed on the teensy is WAY faster then on the Leonardo. Looks like because they have greatly improved the USB code. Has anyone had any luck using the Teensy core libraries on a Leonardo?...
Adam Haile's user avatar
1 vote
0 answers
78 views

Cannot change fuses on ATmega32U4

I have a custom board based on Arduino Leonardo (ATmega32u4). As usual I used the Arduino IDE to burn the bootloader with my Atmel ICE ISP programmer. This time it failed complaining about some errors ...
Mark's user avatar
  • 393
1 vote
0 answers
430 views

Arduino lagging or buggy with delays and serial print?

I got a strange issue with my Arduino Leonardo (clone). It seems to be laggy or buggy, I don't know what the issue is. I get issues when I use "long" delays. Below sketch is working fine. ...
Akif's user avatar
  • 111
1 vote
0 answers
488 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 ...
nn_mic_nn's user avatar
1 vote
0 answers
162 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 ( ...
techTrainee's user avatar
1 vote
0 answers
250 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 ...
Pierce Jennings's user avatar
1 vote
0 answers
156 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 ...
REVOLUTION's user avatar
1 vote
0 answers
444 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 ...
REVOLUTION's user avatar
1 vote
0 answers
249 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 ...
mohamed shalaby's user avatar
1 vote
0 answers
227 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 ...
Hackermann's user avatar
1 vote
0 answers
81 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 ...
Ashish Adhikari's user avatar
1 vote
0 answers
76 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 ...
Stephen South's user avatar
1 vote
0 answers
248 views

How to quit flash mode on HM-10?

I have an HM-10 BLE module connected to Arduino Leonardo. It forwards UART from my computer: #define btSerial Serial1 void setup() { Serial.begin(9600); while (!Serial) { delay(50); ...
artem's user avatar
  • 71
1 vote
0 answers
579 views

ATMEGA32u4 Arduino Bootloader Issues

I've been struggling with this issue for a few days on and off now.  I made a custom PCB (schematic) for a smaller Arduino Pro Micro and it works - mostly.  The only issue I had was that the pins on ...
av324192's user avatar
1 vote
0 answers
58 views

default in switch doesn't appear to execute

I have a situation where the default case in my switch statement doesn't appear to execute as expected. I wonder if there is some subtlety I'm missing here? Given the following enum: enum ...
Tim Long's user avatar
  • 305
1 vote
0 answers
2k views

Cannot upload to Leonardo after update to macOS Catalina

I'm not sure this is the right site, but I've spent several hours trying to figure out why I suddenly cannot upload to my Leonardo (actually, a "Pro Micro" with a 32u4) after upgrading to macOS ...
Dave's user avatar
  • 191
1 vote
0 answers
658 views

Problem sending IR signal on Arduino Leonardo/Uno (IRRemote library)

I am trying to use my Arduino Leonardo (or Uno!) as a remote with the IRRemote library. The current setup picks up and decodes a signal perfectly, but fails to retransmit it. I have tested the ...
symtek's user avatar
  • 11
1 vote
0 answers
297 views

How can I send AT commands to HM-10 module from my android phone?

Earlier today, I was able to connect flawlessly to my HM-10 module via the Arduino serial monitor. I think I then changed some settings without thinking and now I can no longer connect to it. No ...
TechDomination Channel's user avatar
1 vote
0 answers
75 views

Trying to install amforth on Leonardo board

Just got a Arduino Leonardo (with headers) dropped in my lap this week. I've tried experimenting with the Arduino C++ IDE and find it awkward. I have some previous experience with Forth and would like ...
jski's user avatar
  • 111
1 vote
0 answers
226 views

Arduino IDE 1.8.8 built in 1.2.1 Temboo Library?

I am weirded about the built-in "latest Temboo library" with the latest Arduino IDE; when a previous older code says to download the latest Temboo version < 2? (which I found this: https://temboo....
John Doe's user avatar
1 vote
0 answers
201 views

Arduino Leonardo board - not running or appearing a USB on external power

I've got an Leonardo board, it seems to be official, in that it has the Arduino branding and Made In Italy on the bottom. However I cannot get anything to run with external power supply. Everything ...
Danny Shepherd's user avatar
1 vote
0 answers
61 views

Question about controlling servos with PWM while being able to accurately read the current from a sensor

Hi I am hoping to design a custom board ATMEGA32u4 with practically a Arduino leonardo bootloader. I plan to control up to 12 servos while being able to read back the current sensor voltage of an ...
DST's user avatar
  • 11
1 vote
0 answers
123 views

Have terminal bash script act as virtual "button" for Leonardo?

I've searched quite a lot for this and tried to piece bits of code together but with no luck so far. All i'm looking to do is have a command I can run in terminal/bash script on the Mac trigger some ...
Danny Shepherd's user avatar
1 vote
0 answers
76 views

Weird sketch size/memory/compiler (?) related issue (hanging, RX led on)

Also posted at: https://forum.arduino.cc/index.php?topic=549672.0 is there anyone who experienced similar problem or knows a solution to it? The problem is that after uploading the code Arduino Pro ...
monday's user avatar
  • 111
1 vote
0 answers
449 views

Arduino pro micro might be bricked

I bought an Arduino pro micro (looks like this) from a Chinese seller over E-Bay, for its HID interface. I installed the Arduino software on my Linux machine (Kali Linux), and started writing a USB ...
Jacob Collins's user avatar
1 vote
0 answers
395 views

Arduino hardwareSerial Bluetooth.println not sending string over 310 chars

Hey all I am wondering if my code below can be modified in order for the Arduino to send more than 300 chars to a HM-10 bluetooth 4.0 le module? #include <SoftwareSerial.h> #define ...
StealthRT's user avatar
  • 259
1 vote
0 answers
354 views

Serial.print / sprintf causes program crash

The following code int i; char msg[16]; // Serial data. Serial.println(); Serial.println("==============="); sprintf(msg, "Sequence: %4d", runNum); Serial.println(msg); Serial.print(...
Transistor's user avatar
1 vote
1 answer
285 views

Ways to turn a knob with a stepper motor and an ATMEGA32u4

Hey all I am wondering what would be the best items to purchase for me to be able to turn this know (continuous) below: As I mentioned above, I would need the stepper motor to have a continuous ...
StealthRT's user avatar
  • 259