Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [esp8266]

An IC that offers Wi-Fi networking compatible with b/g/n standards. It also has integrated TCP/IP protocol stack. Extremely popular along IoT community as a low cost and powerful board.

0
votes
1answer
91 views

DIP switches on RobotDyn Uno+WiFi

There are theses 8 small pins on the Uno+WiFi board. Can someone please give me a detailed table or something on the settings of these 8 DIP switches? I'm sorry if this question has already been ...
0
votes
2answers
119 views

How to Connect ESP8266 with ultrasonic sensor and dht11 without breadboard? [duplicate]

I want to connect the sensors in Esp8266 after I code those using arduino uno r3. The problem is that I don't have the idea on connecting those sensors without breadboard. Thank you
0
votes
1answer
49 views

Accessing one code using another code on RobotDyn Uno+WiFi board [closed]

Ok so I've been trying to do this for quite some time now. Still couldn't get it to work. I am trying to read a ESP8266 WiFi program from a normal Arduino Uno program. I've seen some people do this: #...
0
votes
2answers
171 views

NodeMcu pins and an RGB LED

I'm using a NodeMcu for my project and am running out of pins to use. I have a MFRC522 Module, IR Receiver, Buzzer and RGB LED connected. I am facing the problem that whenever I start scanning for ...
-1
votes
2answers
41 views

Fluctuating voltage coming out of arduino uno 3.3 output pin [closed]

Problem with my arduino is when I check voltage of 3.3 volt pin using multimeter , voltage varries a lot from 1.5v upto 5v. Due to which esp8266 wifi module connected to this 3.3v pin gets very hot. ...
1
vote
1answer
163 views

How do I get the request params from a ESPAsyncWebServer?

I currently have the following code server.on("/on", HTTP_POST, [](AsyncWebServerRequest *request) { Serial.println("ON hit."); String message; Serial.println(request->url()); if (...
0
votes
1answer
157 views

HTTP POST/ METHOD to Emoncms doesn't work

So Ive setup the emoncms on my server and posted the example power1:100…power3:300 JSON POST and it logged in my INPUTS. Now Im trying to send data from my arduino and it seems to post fine, but when ...
0
votes
1answer
106 views

ESP8266 SPIFFS not saving correctly?

Hey all I am having some issues with the SPIFFS for this Wemos D1 mini ESP8266 controller. This is my Arduino sketch: #include <FS.h> #include <ArduinoJson.h> struct RGBLA { uint8_t R;...
0
votes
1answer
33 views

ESP8266 01 wifi module

I have a weird problem , as I.m trying to connect to esp8266 01 with Arduino Uno when i try sending commands from the serial it doesn't work but if i send it in a function in the setup phase it works ...
1
vote
1answer
122 views

How to establish a connection between an Arduino and a web server via ESP8266 [duplicate]

I'm working on a IOT project where three or more IOT device communicates with a web server. The IoT device will have Arduino UNO which is connected to a ESP8266 so internet access is available. ...
1
vote
0answers
502 views

Connecting to Alexa with FAUXMOESP library not detecting the device

I am using NodeMCU (ESP8266 12E) module from somedays. I am trying to connect to Alexa for voice controlling. I have Amazon Alexa Echo 2 from which I am trying to discover my nodemcu as a smart home ...
-1
votes
1answer
156 views

Can't add more code to loop() when use server.handleClient [closed]

Here's my code void loop() { if (analogRead(A0) > 500) { statuss = true ; } if (statuss) { digitalWrite(D7, HIGH); if (millis() - lasttime > 500) { digitalWrite(...
1
vote
1answer
627 views

ESP 12 unusable pins

The ESP 12 board has 22 pins Are all of them usable? I understand that there is an external flash memory that is accessed through SPI, but I'm not sure what the impact on the pins is. And if it is ...
0
votes
1answer
116 views

Battery voltage monitor right after deep sleep

i have my esp32 module in deep sleep and i use it with a couple of buttons using a wake up that detect the button pressed now i'd like to have a battery level to send to a server right before going ...
0
votes
1answer
169 views

Using WifiUdp.h on Arduino Mega and ESP8266?

I was trying to run this library on Arduino Mega, using ESP8266 as replacement of Wifi Shield, as suggested on my older thread. The problem is, I got error in compiling, after with this code : #...
0
votes
1answer
43 views

Switch two or more digital outputs of ESP8266 at the same time [closed]

I'd like to control some digital ICs with a ESP8266-12. How can I switch 2 pins to HIGH in the same moment? How can I switch one to LOW and the other to HIGH in the same moment? Is it possible with ...
-1
votes
2answers
54 views

ESP8266 not accessing PHP file

I'm trying to control NodeMCU via Android application and I can control NodeMCU easily but when I added the URL to hit the PHP code to enter data in MYSQL, neither NodeMCU is controllable nor NodeMCU ...
0
votes
2answers
50 views

Using MQTT to send time stamp - to Arduino

In previous question in this forum - I asked about updating clock on an ESP8266, using MQTT broker to send a time stamp on demand, in following manner: 1) ESP8266 sends a publish containing the ...
-1
votes
2answers
599 views

ESP-01S Relay V1.0 connection with Arduino

I am new to Arduino Let me ask you about IOT(internet of things). I want to connect ESP-01S Relay v1.0 Where does the NC port goes on Arduino? Is it TX or RX? Also, where does the NO goes on ...
1
vote
1answer
90 views

Use MQTT to update internal clock

I write code to upload to ESP8266. I wish to use time stamp in order to log events. I found an NTP sketch, I can work with ( since it has a wifi connection ), but I wish to keep my code as simple as ...
0
votes
1answer
40 views

Arduino Uno - MQTT message using PUBSUB on ESP8266

I'm trying to write code involving MQTT messages to operate an ESP8266 relay ( a Sonoff device ), using PubSub library. For some, unknown for me, reason - messages larger than 99 chars are not sent. ...
-1
votes
1answer
298 views

Arduino sketch for NodeMCU v1.0 (ESP8266-12E) has no error of compiling but does not run on NodeMCU v1.0 (ESP8266-12E) Board

i compiled a Arduino Sketch for NodeMCU v1.0 (ESP8266-12E) which have no error while i test with verifiy button in Arduino IDE 1.8.6 but i don't know what is the problem when i upload and test it . it ...
0
votes
1answer
341 views

Connecting multiple topics- MQTT

I'm configuring an ESP8266 using Arduino Uno. I have several MQTT topics I wish it to subscribe, and I do not want to repeat code 3 or 4 times ( in Python I would have created a list - and make a for ...
1
vote
1answer
301 views

How to pass non-static class member to callback?

I am using the arduinoWebSockets library in my own Arduino library. I'm having trouble with trying to assign a class member as the websocket library onEvent callback function. MyClass.cpp: #include &...
1
vote
1answer
56 views

How to detect when intercom is ringing?

For my apartment, I need to check when intercom is ringing and call an API in that case. I was thinking about using an AC input / DC output relay, since the buzzer signal is an AC signal. Is there an ...
1
vote
1answer
112 views

How do I select Sensor using chip 74HC138 on Wemos D1 Mini?

I have a project for my graduate degree. It's about Monitoring Temperature and Humidity using Message Queuing Telemetry Transport on Serial NodeJS. To get sensor data to Wemos D1 Mini and NodeJS had ...
-3
votes
2answers
157 views

1-10 volt analog signal

I have an Arduino project where I am using an ESP8266 (Wemos D1 mini) powered via USB. I want/need to output an analog voltage from 0 to 10V. Goal: A solution that is pre-made (eg a shield or ...
1
vote
4answers
82 views

for() loop doesn't seem to break?

So I'm quite new to the whole Arduino coding but constructed a sketch that does work, but I think it doesn't work properly. So I'd love to get some advice on how to improve it. This script is ...
1
vote
1answer
172 views

Cannot run WiFi sketch on ESP-01

I can upload simple sketch on my ESP-01 like: void setup() { Serial.begin(115200); Serial.println("Hello there"); } void loop() { Serial.println("Hello from loop"); delay(1000); } I also ...
0
votes
1answer
144 views

How to avoid electromagnetic interference on ESP32 input

I've realized a simple circuit like the following, in order to implement a rain gauge that I can access via HTTP: With the following sketch: #include <WebServer.h> #include <WiFi.h> #...
0
votes
2answers
161 views

shift register 74HC595 enable specific pin

Its driving me crazy for some couple of days now and i don't get the answer. I'm busy to setup a irrigation system with a shift register 74HC595 and a 8 channel relay board. I see a lot of sketches ...
0
votes
1answer
286 views

Wemos D1 EEProm put/get not getting correct value

Hey all I have the following code in my Arduino IDE: #include <EEPROM.h> #include <ArduinoJson.h> bool debuggin = true; int brightness = 255; int ambientLight = 30; ...
0
votes
2answers
185 views

Error running FirebaseDemo on nodeMCU

So I followed the guide on GitHub to run this demo which compiles and runs. It does warn of some deprecations and such in the firebase libraries : In member function 'const String& ...
1
vote
1answer
90 views

Adafruit Huzzah ESP8266 Battery Power issue

I'm trying to connect a ~5.5V (2 x 3V coin cells in series, but their voltage drops a little) to the VBat (or V+) of my Adafruit Huzzah ESP8266 module (not the black Feather one, the smaller blue one: ...
0
votes
1answer
48 views

Can a DHT11+ESP8266 be powered by a Adafruit USB LiPo charger directly?

I have rigged up a small DHT11+ESP8266 combo which I'm currently powering from the 3.3v from an Ardruino. I've ordered a 3.7v LiPo battery and have a Adafruit usb micro LiPo charger, however, the ...
0
votes
1answer
65 views

Is there any easy way to change Arduino Wifi shield to ESP8266?

My old question was put on hold. Probably wasn't too clear, sorry. As the title says, is there any easy way to replace Wifi shield with ESP8266, with as little as possible modification to code? ...
0
votes
1answer
64 views

The right way to find and understand the libraries

I am working on a project to send sensor values from esp8266's Wemos D1 mini to MySQL. I tried using the library MySQLconnection.h but I couldn't make it to connect to wifi. So I uploaded a simple ...
0
votes
1answer
833 views

ESP32 : Disable Brownout Detector

I have an ESP-WROOM-32 and I'm using Arduino IDE to push code on it. My ESP is powered via 2 AA battery and got one power supply problem. It works well on new battery but after a bit, I will always ...
0
votes
1answer
313 views

ESP8266 fail to connect MQTT broker

I am using NodeMCU dev board with ESP8266 WIFI. Every time I try to connect to my local broker it returns this error: failed, rc=-2 try again in 5 seconds I am using Ubuntu 18.04, my local brokers ...
0
votes
2answers
192 views

Keep on getting scandone

I have a node server with express and socket io behind nginx reverse proxy at AWS. I am try to connect remotely from my NodeMCU esp8266 through websocket io client to my server using ...
0
votes
1answer
356 views

Secure HTTPS request fails 90% of the time

I'm using a NodeMCU, which is connected to an enterprise network at a school. The information given in the GET requests that the ESP8266 sends is sensitive, so naturally we want to make it secure and ...
4
votes
1answer
316 views

ESP8266 - does it really have terrible wifi range by default?

ESP8266 - does it really have terrible WiFi range by default?? First time to try this module out and we're disappointed with the range.. as per our testing we can only get max 5m WiFi range line of ...
0
votes
1answer
290 views

NodeMCU 12E V2 Power Saving

I'm powering a NodeMCU with 4 x AA batteries (6v, ~9,600mAh). I am running ESP.deepSleep([milliseconds]) to minimize power consumption. Even with deepSleep I am seeing a precipitous drop off in ...
0
votes
1answer
68 views

ESP8266 12-E can't connect to any Access Point with converted variables from strings to char arrays

I'm using an esp8266 12-E nodemcu I wrote a code that scans the available WiFi networks, print them through serial communication,ask the user which network he wants to connect to and then the password ...
0
votes
2answers
156 views

Memory leakage caused by String Concatenation

In this link, section "Memory, memory, memory" it's been told that doing many String concatenations in sequence, e.g.: using operator+() multiple times, will cause memory fragmentation, which may lead ...
0
votes
0answers
210 views

Communication between 2 ESP8266 devices using Arduino code

Perhaps it is a novice question (since I'm a Pythonist, and I'm new to Arduino), but I'm trying to implement my code in Arduino to test if it is more stable than MicroPython. I have an AC motor, that ...
1
vote
2answers
59 views

How should you predict the battery size required for a project?

I am using an Arduino nano along with an ESP8266. The nano is connected to an OLED display and a keypad. The ESP8266 uploads the data entered from the keypad onto a server. I wish to make the device ...
-1
votes
1answer
131 views

esp8266 and arduino pro mini [closed]

I have few sensors. Temperature sensor (DHT22), flow rate sensor, rpm optical tachometer sensor and a rgb led. I want to use adafruit IO to get values of these sensors and change the colour of the ...
0
votes
1answer
271 views

Problem with html code in ESP8266 WebServer

Here I have a small problem: I have an ESP8266, to which I have connected a matrix of LEDs to move text (the array of LEDs is made with the tape of LEDs addressable ws2812); when you turn on the ...
0
votes
1answer
66 views

sending and recieving data from esp8266

We're trying to make an network of connected cars in which the status of one car is continuously updated to the nearby cars (for example, speed, gear, brakes, etc.). Can I continuously send out ...