Most Popular
1500 questions
5
votes
1 answer
Reading SD card with Sparkfun MP3 Shield
So I am using an Arduino Mega with the Sparkfun MP3 shield. And I can't seem to read the µSD card. It's formatted in FAT32 and it has a single .txt file on it. I always get this error:
SD initialization failed.
Do not reformat the card!
Is the card…
Michidez
- 83
- 4
5
votes
4 answers
Arduino PRO Mini - The pads [was "jumpers"] on the back and Low Power Consumption
I've noticed that on the back of an Arduino PRO mini are two Jumpers next to the A4 and A5 pins, marked with red in the following :
Looking at the leads one seems to be a bypass for the POWER Led and the other a bypass for the regulator, but not…
Tiberiu C.
- 161
- 1
- 6
5
votes
2 answers
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 states that the typical bitrate for recording…
Cerin
- 1,618
- 2
- 24
- 41
5
votes
1 answer
Library LiquidCrystal_I2C don't work in other class (Composition)
Good afternoon, I'm trying to use a class to streamline the writing on the LCD. In this class I have an private attribute (it's a pointer, do not know how I call him) called LiquidCrystal_I2C* _lcd, I instantiate it in the constructor, so far so…
Natalia Kelim Thiel
- 53
- 5
5
votes
4 answers
Employing C++ code for Arduino
I have Googled quite a lot regarding using a C++ program for uploading to Arduino and related, however I am confused now. Right, my problem is this:
I have written a C++ program which imports RGB data of a 24 bit bitmap (which was generated using…
panda_the_great
- 97
- 2
- 10
5
votes
1 answer
Arduino on breadboard, and then soldered using a board made on Eagle but won't work
So I'm looking to create an arduino clone to mount on one of my robots. I started off making the arduino on a breadboard, using the instructions found on Arduino's own website and I succeeded. It works as well, I've checked it with the "blink"…
Hassan M
- 171
- 5
5
votes
2 answers
What does serial monitor send with 'Both NL & CR'
There is something I don't understand about serial monitor.
As far as I know the Newline option is \n.
The Carriage return option is \r\n.
But does that make the Both NL & CR option \n\r\n?
clankill3r
- 219
- 2
- 6
- 12
5
votes
2 answers
Which tft works on both Arduino Uno and Raspberry pi
Ideally I'd like a 2.8 inch and it to be touch screen.
But most of all I'd rather it work on both boards without much hassle.
Sean Bradley
- 151
- 4
5
votes
2 answers
How can I power an Arduino Nano with a LiPo battery, preferably 3.7v
I am a newbie to Arduino, so please bear with me. I am trying to figure out how to power an Arduino Nano with a LiPo battery. I want to use a 3.7v if possible, as my project needs to be lightweight. There are two possibilities I know could…
saddlepiggy
- 51
- 1
- 1
- 3
5
votes
2 answers
How to generate true random numbers over Arduino Uno without any external hardware?
Using a 'random' function in sketch gives same pattern of numbers every-time. But, I need to generate different numbers such that any number to repeat itself should have a very less probability.
Ravulapalli Vineeth
- 51
- 1
- 2
5
votes
1 answer
Non-blocking MQTT library
Are there any MQTT libraries that do not block while connecting?
I'm currently using PubSubClient, and the connection part contains this code:
https://github.com/knolleary/pubsubclient/blob/master/src/PubSubClient.cpp
while…
Stephen Denne
- 151
- 1
- 6
5
votes
2 answers
Can the Arduino Eclipse plugin use the libraries installed by the Arduino IDE?
In Arduino Eclipse (v3, nightly build) I have not been able to load 'foreign' libraries, those written by me or someone else, so they are not among the available choices in the include-library dialogs.
I've tried adding them to a project as well as…
JRobert
- 15,246
- 3
- 23
- 51
5
votes
2 answers
Can I specify custom port names in the Arduino IDE on Linux?
On Linux, if you have more than one USB TTY device, the USB port name (/dev/ttyUSBx) changes every time one is plugged in, and there's no easy way to know the new name without going and looking through dmesg. It's trivial to set up a udev rule that…
Autumn
- 193
- 1
- 6
5
votes
3 answers
How do I run a loop for a specific amount of time?
I currently have a for loop that loops 300 times and then moves on.
Instead, I'd like that loop to run for a specific number of minutes, instead.
Here's the current loop, for reference.
for(int i = 1; i<300; i++){
if (kill() == true){ break; }
…
Shpigford
- 484
- 2
- 8
- 23
5
votes
3 answers
Array + Serial Monitor Problem
I've written a Arduino sketch that converts an analogue voltage to a temperature using a lookup table - code below. I've recently changed my LUT to include more values but ever since that my Serial monitor won't print out my debugging statements…
EoinScully
- 55
- 8