Top new questions this week:
|
I've been experimenting with Arduino on both esp8266 and AVR chips. The structure of the .ino file usually looks like this:
#include "Arduino.h"
#include "ESP8266WiFi.h"
##Some includes
void setup()
...
|
A byte stores an 8-bit unsigned number, from 0 to 255.
I can understand the following line:
byte b = B10010; // "B" is the binary formatter (B10010 = 18 decimal)
But I also saw a use such as:
...
|
I've started to prototype something using an Arduino Mega and Yún Shield.
It's simple. It reads an ADC at 50Hz and sends data to a server through a socket. But because of that combination, I need to ...
|
In recent project, I'm working with light dimmer.
Let me explain with example of fan. In switch board, we have a fan switch which can able to ON/OFF our fan & FAN REGULATOR which vary speed of ...
|
I try to make a variable that can be modified from the server, using and ESP8266.
#include <ESP8266WiFi.h>
#include <WiFiClient.h>
#include <ESP8266WebServer.h>
#include ...
|
I'm trying to test AT commands (I am working with an Arduino Uno and a GSM/GPRS SIM900 shield; my system is ubuntu 14.10) . Yesterday when I was testing , all ran well.. For example after typing ...
|
I have an arduino thing, and the hardware I plan to connect to it (a triac zero-crossing based dimmer) provides a synchronization signal from the mains power phase it connects to.
Main power does of ...
|
Greatest hits from previous weeks:
|
Question: Where do I put code if I want it to execute only once per Arduino startup?
Background: I tend to use my Arduino to perform tasks that should be executed once per power cycle. (For example, ...
|
I can successfully see the Arudino Due when I plug it in, I can compile the code, but when I attempt to upload it to the board I get the following error:
...
|
Can you answer these?
|
I am trying to make an RGB LED with Fan Controller for PCs. It is an Open Sourced project. But I want to implement RTOS using this implementation of it as a function in it, namely rollColor(), takes a ...
|
I have an Arduino Pro Mini, 3v3, 8Mhz. I have in the past successfully programmed it over the serial line. I have two others, I can program them over the serial line. I can program the first one using ...
|
I'm using a heart rate sensor along with an Arduino for a project of mine. I have to determine whether the heartbeat is following a particular pattern (eg: when when heartbeat regularizes a lot after ...
|