An Arduino board based on the ATmega32u4 chip with built in USB HID functionality
0
votes
1answer
9 views
Blend with SD Shield
Building a data logging and transmission system here. I've a RedBeadlab Ardunio Blend with built-in BLE capabilities and a (cheap) SD / Data logging shield that looks very suspiciously like it's ...
-3
votes
1answer
33 views
how to serially communicate the arduino leonardo to pc through hyperterminal
I have connected mc to a pc using USB. I need data on hyperterminal through serial to USB connection, hence I connected TX, RX and gnd pins of the Leonardo to the rs232 pins and one other side of ...
0
votes
1answer
32 views
Arduino hangs after 3-4 minutes on battery power, but not on USB
I have a simple sketch running on a BE Leonardo-compatible board.
It reads input from a potentiometer, and outputs to two RGB LEDs which change colour over time - in a different pattern if certain ...
1
vote
0answers
32 views
How do I troubleshoot Seeeduino GPRS shield?
I am trying to receive an SMS message using the code, below, copied from Seeeduino GPRS - Wiki, with no success. Although there are several versions of the Seeeduino GPRS shield, mine is identical to ...
2
votes
3answers
103 views
Explanation please, of hardware and software serial links
I am starting to use a Seeeduino GPRS shield (please see note), which is essentially an Arduino Leonardo that, among other things, can be used as a mobile 'phone for sending and receiving texts. I ...
1
vote
1answer
45 views
Unable to upload sketch to Leonardo
I'm really at my wits end. For a couple of hours I have been programming a custom board that uses everything as on the Arduino Leonardo. A few hours ago I am not able to upload anymore.
I get the ...
0
votes
1answer
44 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 ...
0
votes
0answers
53 views
Talking between Arduino and PC (Java)
I have to realize a communication between Arduino Leonardo and a demon which runs on a pc.
The demon has to tell Arduino informations about the operative system of the machine to which it is ...
0
votes
0answers
175 views
Pixy(CMUcam5) robot Distance code
Can anyone help me with the code-ing to allow the robot to stop at a certain distance when the robot is approaching the tracked object. I am trying to implement it as a colour tracking wheel chair. ...
0
votes
1answer
31 views
Over voltage on Arduino and Ardumoto
I am using Arduino Leonardo and Ardumoto to drive 2 12v motors running at 1.3 amps each.
I purchased a rechargeable battery of 12V with 5AH
I first started by plugging in the battery to the Arduino ...
0
votes
1answer
64 views
How to control android app with arduino
I'm trying to connect Arduino Leonardo to an Android tablet. I would like to make the Arduino send commands (using pushbuttons or a slider for example) to the tablet to switch between pages, to select ...
0
votes
1answer
47 views
Arduino IDE Unable to detect ZumoMotor.H ( PIXY PET )
recently i trying to make the pixy pet work for my project. (https://learn.adafruit.com/pixy-pet-robot-color-vision-follower-using-pixycam/playing-with-your-pet).
I used the given code for the ...
0
votes
0answers
129 views
USB MIDI HID with the ATmega32u4?
There are existing projects that allow the Uno and other devices using the ATmega8u2 to operate as a USB MIDI HID, such as MocoLUFA. Unfortunately, as far as I am aware, these require uploading new ...
1
vote
1answer
129 views
Confusing Arduino Leonardo PWM
I'm having problems with using Arduino Leonardo PWM outputs (I'm actually using YUN board).
I need 4 PWM outputs that generally have the same base frequency of around 10 to 20 Hz or so.
I'm using ...
1
vote
1answer
349 views
How to connect the INT pin of a MPU 6050?
I am using an Arduino Leonardo together with a GY-521 breakout board (like this one, schematic) for an MPU 6050.
I am currently trying to get the DMP Version of the examples from Mr Rowberg to work.
...
1
vote
1answer
234 views
Why is Arduino STINO upload function not working?
I'm using sublime text for editing and modifying my arduino libraries. Sublime text is pretty pretty, useful and embed a very powerfull plugin system. Someone created an Arduino plugin for it. The ...
0
votes
1answer
68 views
Wrong Mouse.move() output in Arduino Leonardo
I'm using my Arduino Leonardo as a Mouse but I'm experimenting a strange behaviour.
I put my mouse at (-1, -1) (absolute) coordinates and then I execute this code:
Move.move(com[curr_cmd_id].x, ...
1
vote
1answer
140 views
I2C seems to stop working when I attach an AF motor shield
I have a cheap MPU 6050 chip that communicates over 3.3V I2C. I can talk to it just fine on my Leonardo. If I add an additional Adafruit Motor shield (the old one), my MPU 6050 demo sketch hangs ...
0
votes
0answers
133 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 ...
1
vote
3answers
303 views
Leonardo: disable TX- and RX-LED
I have the (more or less) Leonardo-compatible board Olimexino-32u4. Both, the TX- and RX-LED are permanently on. To reduce power-consumption, I want to disable them by software. What is the reliable ...
0
votes
0answers
53 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 ...
6
votes
4answers
219 views
Leonardo (32u4): ways to brick it programmatically
When the Leonardo was introduced, I think, I've read some articles about being cautious to do some things, that could cause it to not load any new sketches any more, so one has to rewrite the ...
0
votes
2answers
119 views
Leonardo (32u4): Timer0 problems with CTC mode
I want to use timer 0 to generate a rectangular signal on OC0A (D11) without the use of Arduino specific functions (that use timers for themselves). When I toggle D11 manually using a loop, I hear a ...
1
vote
1answer
424 views
Problem loading sketch to Leonardo
Today I got Arduino Leonardo to replace my Uno. I've tried running one of sketches I use on the Uno, but with no luck. When I start the upload, RX LED on the Leonardo flashes few times, and after ...
1
vote
2answers
127 views
What's wrong with my undetected, unresponsive Arduino Robot?
I was wondering if someone could try and solve a major problem I've been having with a brand new Arduino Robot (similar to an Arduino Leonardo). Any input would be very much appreciated!
I've been ...
0
votes
0answers
64 views
Adafruit 2.8'' TFT Board SPI vs 8-bit Mode
is anyone out there who can tell me, if there is an extreme noticeable difference in using 8-bit or SPI Mode?
In later Projects I want to display values on it and refresh them in a 1 - 1/2 second ...
0
votes
0answers
171 views
Leonardo based Tachometer?
I'm new here. I'm not a native speaker, so pardon me for my English .
Just received my Arduino Leonardo today. I tried some basic calculations and stuff like blinking and lcd interfacing.
Its ...
0
votes
1answer
143 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 ...
3
votes
2answers
123 views
Arduino Leonardo timing Inconsistency
I've got a question regarding the use of Millis() on a Leonardo Arduino. I'm currently using it to time 4 seconds elapsed while sending a serial message every second. These messages play a sound. On ...
1
vote
0answers
68 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 ...
-1
votes
2answers
40 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
2answers
577 views
Uploading Sketches from Windows Command Line
The resources I've found regarding the Command Line interface seem to be out of date so I was hoping to find someone with experience using it. I'm currently running Arduino 1.5.6-r2 BETA on Windows ...
1
vote
2answers
240 views
Power small hobby motor using Vin pin on Arduino and 9V battery, safe?
I want to power a small motor with a 9V battery and control it with PWM using an Arduino Leonardo. I know I can power the motor separately, but this introduces the problem of needing a battery to ...
1
vote
2answers
214 views
portd not writing on digital ports 5 and 7
I try to build a function generator (preferably a sine) with an R-2R ladder and a Arduino Leonardo by Borderless Electronics.
For performance reasons one should use portd instead of digitalWrite.
...
2
votes
3answers
141 views
How Do I Properly Ground my Arduino Leonardo using Capacitive Sensor?
Hi we are using Arduino Leonardo with some electric paint and Capacitive Sensor Libraries. We have a lot of variance in our Serial output from our sensors, we believe if we grounded the Arduino we ...
4
votes
1answer
193 views
Can I speed up the Leonardo bootloader?
Inspired by an example question before beta, can I make the Leonardo bootloader take less that 8 seconds to run? It is very slow and I want to speed it up somehow.
2
votes
1answer
88 views
Arduino UNO and Leonardo SPI Clock can't be meassured
I want to measure the SPI Clock (PIN 13) using the arduino example Codes for SPI library ( very simple example ). Basically independent from the Loop Function, the Clock should be fired continously.
...
2
votes
2answers
245 views
How can I filter out noise from ADC lines without delay or signal change?
I'm working on a project with a joystick and I'm trying to keep everything a simple and low latency as possible. I am reading the pots with the onboard 10bit ADC on the ATmega 32u4 but may be ...
0
votes
1answer
101 views
How do I use a i2c port expander to read buttons with pull ups and inverting the resulting uint16_t?
I am using a mcp23017 to read button presses for my joystick project and am using the internal pullup to minimize complications. Is there a way to invert all the bits in the uint16_t so i can send the ...
1
vote
2answers
436 views
Serial.read has garbled data after a Serial.write
I'm using the Serial1 of the Arduino Leonardo to send and receive data with another MCU. The following code will always retrieve garbled data:
byte streamReadResponse;
Serial1.begin(115200);
...
12
votes
2answers
2k 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 ...
6
votes
3answers
707 views
How to really shrink a sketch
I want to make a sketch that is as small as possible, for test purposes. The problem is, when i compile the BareMinimum sketch (with an empty setup and loop), i get 466 bytes for the Uno and a ...