All Questions
Tagged with arduino-leonardo arduino-uno
32 questions
2
votes
1
answer
129
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 ...
1
vote
0
answers
168
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 ( ...
1
vote
1
answer
106
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 ...
0
votes
1
answer
973
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 ...
0
votes
0
answers
233
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 ...
3
votes
2
answers
495
views
Multiple Time-Sensitive Tasks
I'm using an Arduino Leonardo and need to perform two time-sensitive tasks like this:
// Task 1 - Gets executed once a second (1Hz)
// Execution of task needs approx 70ms
task1(); //Sending a ...
0
votes
1
answer
436
views
Connect Arduino to LiDAR via RS-232
Edit: We're so close! Update at bottom!
I'm not sure if this is the right place to ask, but since you helped my so much in the past, I thought it's worth a try.
So as I stated in my last question, I'...
0
votes
1
answer
133
views
How to connect accelerometer, GPS, microphone and a GSM module to a Arduino? [closed]
I am a noob in the Arduino world and have only started reading about it. I have zero experience with Arduino some suggestions to increase my level will also be highly appreciated. But I have a lot of ...
0
votes
1
answer
401
views
Flash size in boards.txt ATmega 328p 32u4
The ATmega328p and ATmega32u4 microcontroller have 32Kb of flash memory (as datasheet). Bootloader for each microcontroleer has different size (about 512 byte for 328p and 4kb for 32u4).
Why in ...
1
vote
0
answers
683
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 ...
1
vote
0
answers
232
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....
0
votes
2
answers
60
views
Leonardo Problem
I have boiled this down to a very simple piece of code:
int testKey;
void setup() {
Serial.begin(9600);
}
void loop() {
Serial.println("Input Source ID "); //Ask me the number
while (Serial....
0
votes
2
answers
5k
views
Sending a digital signal from one Arduino to another to trigger an event
I am wanting to send a digital signal from one Arduino to another. The goal is for one Arduino send a HIGH signal to a pin on the receiving Arduino. While the pin is HIGH, do function
I initially ...
-1
votes
1
answer
182
views
Running multiple programs with one Arduino [closed]
Is it a problem to use multiple softwares to read the data that came from the same USB port simultaneously?
I have a board connected to a PC by USB, which is read by an application developed in C#. I ...
0
votes
2
answers
6k
views
Unable to use Keyboard library with Arduino UNO even after changing the firmware
So I'm trying to use my UNO as an HID device. I followed this tutorial, flashed the firmware and got the UNO to be detected as an HID device.
However, I am still getting the error
'Keyboard' not ...
0
votes
1
answer
4k
views
Programming Arduino with FTDI via Tx and Rx pins
How program Arduino with a FTDI cable/breakout_board via pins 0 (Rx) and 1 (Tx)?
In case the USB to UART chip (16U2 or other) is broken, you can program Arduino with a FTDI instead of 16U2 or other ...
-2
votes
2
answers
634
views
Conversion of Arrays into Matrix? [closed]
I'm going through problem in Arduino code. I have three Arrays and want to convert them into a matrix. I have tried hard but couldn't solve issue.
float lb1[24]={1580,480,1580,1580,580,1950,3125,...
0
votes
1
answer
401
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 ...
6
votes
2
answers
11k
views
A question about resistance measurement with arduino
Lately I was asking myself about the possibility of measuring a potentiometer resistance with Arduino.
My questions are:
Is it possible?
If it's possible, what kind of restriction does the Arduino ...
1
vote
3
answers
8k
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:
...
2
votes
7
answers
7k
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
1
answer
71
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 ...
67
votes
2
answers
228k
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 note: ...
-1
votes
2
answers
8k
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 ...
2
votes
2
answers
15k
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 ...
1
vote
3
answers
822
views
How big of a difference is there between an Arduino Uno and the rest?
Lately I've been fooling around with a project for my Microsoft Sidewinder Force Feedback Pro Joystick. I've found out that there is a project currently for it built for the Teensy 2.0. On the page ...
0
votes
1
answer
1k
views
How would I establish a serial connection with python without using the serial monitor? [duplicate]
How would I establish a serial connection with python without using the serial monitor?
What I want to do is give my python script some input and have the arduino do something (blink for example)
I ...
1
vote
1
answer
213
views
Arduino Controlling through C#
i would like to measure some signals from arduino and send it to a pc using USART and display the results in a c# winform application. Does anyone have such a project example ?
Besides, i want to send ...
1
vote
1
answer
9k
views
Why PIN3 stays at 1v3 in a IR emitter project?
Here is my very simple IR emitter circuit.
OSI5FU5111C-40 is an infrared LED.
I am using the IRremote library from here
in this simple sketch,
#include <IRremote.h>
unsigned int raw[100]={... *...
0
votes
2
answers
85
views
Keyboardmessage on Arduino UNO
Can an Arduino UNO and Arduino Leonardo do the same things?
Some of the examples in the Arduino software say to use Leonardo e.g. KeyboardMessage.
2
votes
1
answer
352
views
Arduino Uno and Leonardo SPI clock can't be measured
I want to measure the SPI clock (pin 13) using the Arduino example code for the SPI library (very simple example). Basically independent from the loop function, the clock should be fired continuously.
...
22
votes
2
answers
28k
views
Why do some pins have a different PWM frequency?
According to the Arduino reference for analogWrite(), the PWM frequency on most pins is ~490 Hz. However, it's ~980 Hz for pins 5 and 6 on the Uno, and for pins 3 and 11 on the Leonardo.
Why are ...