Most Popular

1500 questions
5
votes
5 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,688
  • 2
  • 28
  • 44
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…
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
  • 229
  • 2
  • 8
  • 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 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.
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,397
  • 3
  • 24
  • 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
  • 24
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
5
votes
3 answers

How to power an Arduino using automated mains/rechargeable battery switching?

I'd like to power my Arduino circuit like a smartphone. That is: When the device is unplugged, power by rechargeable battery When the device is plugged in, power by mains and charge battery at the same time I'd like to not go the expensive shield…
Ana
  • 480
  • 3
  • 7
  • 13
5
votes
2 answers

Arduino onboard LED pin number as a constant

To use the onboard LED on an Arduino one usually has to know the pin number (13 in most cases), but is there a constant in the Arduino IDE one can use as well? So is it possible to use something like int LED = ONBOARDLED; instead of using int LED =…
bastelflp
  • 189
  • 1
  • 1
  • 10