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
1 answer
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
- 3
- 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
- 2
- 7
- 13
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
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
7
votes
2 answers
Using Arduino for simultaneous lighting effects
I am building a computer for my son (me). I'm trying to spark his interest in computer technology, so my idea is to drive multiple case lighting effects with a microprocessor or controller. I went with the arduino over the pi because of simplicity…
Jonathan Hart
- 71
- 1
7
votes
1 answer
ESP8266 & websockets
At the moment, I'm using various operating systems and devices like the Raspberry pi to control lights and other stuff over websockets. I use websockets since they added the support on Chrome. I write a lot of Javascript stuff for fun. Websockets…
cocco
- 431
- 5
- 7
- 15