Most Popular
1500 questions
7
votes
1 answer
Serving binary file with ESP8266WebServer
I am currently using a Nodemcu ESP8266-12E with the Arduino IDE in order to control my boiler. Everything is working fine, however I haven't figured out yet how to serve binary files, eg. images. (I am hosting them on a server at the…
Force
- 173
- 1
- 5
7
votes
4 answers
Wire.h not found!
Here's the code that's making this error:
#include "Wire.h"
Here's the error:
fatal error: Wire.h: No such file or directory
#include "Wire.h"
^
compilation terminated.
Error compiling.
I also can't include any file from my…
None
- 211
- 2
- 3
- 7
7
votes
4 answers
Can you access the EEPROM of an ATtiny with Arduino Code?
I'm attempting to reduce the amount of RAM being used by my program by writing some values to the EEPROM of my micro controller. I'm currently programming on the ATtiny85 which has 512 Bytes of EEPROM. According to the documentation this is how you…
Isabel Alphonse
- 203
- 1
- 3
- 11
7
votes
2 answers
How to handle multiple simultaneous Arduino development environments?
I am developing for several different target microcontrollers (on OS X 10.11), which requires some unique combinations of (Arduino) IDE version, library versions, USB drivers, support software, etc.
What are the pros and cons of using separate…
pseudon
- 171
- 4
7
votes
3 answers
How much code can an Arduino board run?
I'm getting back up and running with microcontrollers after about 5 years of hibernation time, and I am trying to understand a lot of different things. I have been experimenting with Arduinos for the past few weeks and am having a ton of fun. I'm a…
Listen
- 85
- 1
- 1
- 4
7
votes
2 answers
Pin 13 fires relay when powering on... How to disable?
Pin 13 fires relay when powering on... How to disable?
I'm using pro mini 5v 16MHz and a DC 12V 2 Channel Relay Module Optocoupler. The relay Jd-VCC is powered by a 12V and it's VCC is 5V (the same as Arduino VCC). The relay is active low and I…
P-nut
- 71
- 1
- 2
7
votes
4 answers
Options for communicating between Arduinos
I'm looking to communicate between ~5-10 Arduinos to send commands and data between them. By "Arduino" I mean the ATmega328 programmed using the Arduino programming framework.
Each of the devices would be on the same PCB.
I know I2C and SPI can…
waspinator
- 225
- 4
- 11
7
votes
2 answers
How to convert string to long?
There is String.toInt(), but no String.toLong() or the many other variations. Do I have to resort to atol(String.c_str()) or is there a better way to convert a String to a long?
Ana
- 480
- 3
- 7
- 13
7
votes
4 answers
Breadboard for kids
I am interested in teaching young kids how to build arduino projects. I was thinking that using a breadboard may be difficult for them, as the holes are all very close together. It is easy to put the pins in the wrong hole.
Are there any breadboards…
Alex K
- 229
- 2
- 8
7
votes
2 answers
MicroSD interfering with ISP programming
I have a microSD connected to an Arduino and I can't program it over ISP without removing the SD card. Does anybody know how to prevent the SD card from interfering with the ISP programming?
Details:
This is the microSD breakout:…
mar1980
- 71
- 1
7
votes
2 answers
Is there a way to upload precompiled code to an arduino?
My company is developing a programmable remote control car which is driven by an Arduino Nano. We would like a way for the user to install software updates to the Arduino, but we don't want to give the user access to the code.
Is there a way to…
TheIronKnuckle
- 211
- 1
- 3
- 6
7
votes
3 answers
"EVERY_N_MILLISECONDS"
One of the FastLED examples that I've seen was using code that looks like this:
EVERY_N_MILLISECONDS( 300 ) { transition_step(); }
I've copied it and successfully used it in the same context - but I have no idea what it is or how it works.
A…
Lefty
- 345
- 2
- 4
- 11
7
votes
1 answer
Store String using F() Macro
I'm new to the Arduino and do not quite understand the F() macro yet.
In my code, I have a String, and as I want to transfer it via WebServer, I need to write it to the answer.
Somehow I need to convert the String, to fit it into the fastrprintln()…
user3260462
- 71
- 1
- 1
- 2
7
votes
4 answers
Multithreading with Arduino
Well I've just started learning the concept of multithreading with C++ and immediately a bunch of questions came to mind about the possibility of using multithreading with microcontrollers in general and Arduino specifically.
So, is it possible to…
Omar Hussein
- 101
- 1
- 7
7
votes
1 answer
On Arduino Due webserver, there is a 5 second delay on Windows, only when connected via native port
My Due webserver was working perfectly fine for months when connected to Linux via the native port.
But when connected to Windows 10 via the native port, if the Arduino webserver is idle for about 5 minutes (when no client calls a webpage), then…
Jerry
- 533
- 1
- 6
- 21