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.

533 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
0
votes
1answer
448 views

Detect power interruption on NodeMCU

Im using a 5v 1A power supply and connected to VIN pin on the NodeMCU. I also use 18650 battery to keep NodeMCU running in case the power supply shuts off due to power interruption. I'm planning to ...
0
votes
1answer
143 views

Cannot get esp8266 - 12 wifi module to always read analogRead incoming voltage accurately

So I have and arduino uno that is firing an output on pin 8. This code is not in this file just to be clear. From there Im taking that output and using it to fire pin 0 on the wifi module. Im using ...
0
votes
0answers
86 views

Garbage output/ not running at start up nodemcu

I have a nodemcu acting as a thermostat home office. The wall heating element is controlled with a solid state relay on D2. If i have it connected, I cannot program the board from the arduino ide. I ...
0
votes
0answers
117 views

Sensors are not function with ESP8266 WeMos-D1R2

I attached all sensor into the Wemos-D1 for uploading the sensor data to the server. but when I upload the data to the server, it connects to the server but cannot save the data into the database and ...
0
votes
0answers
113 views

Testing a capacitor with a nodeMUC Lolin V3

Apparently it's possible to test the capacitance of a capacitor with an arduino. In this thread, someone tries to do the same on a NodeMCU but the conclusion is that it's enough to get the change in ...
0
votes
0answers
350 views

Using an OV7670, Arduino Uno, ESP8266 and SD card

I am planning to create a project which will take a picture with OV7670 and Arduino Uno with SD card and send it to server with ESP8266. is it possible to use Arduino Uno(it has only 2k RAM memory)?
0
votes
0answers
57 views

Esp8266 -12E v3

So I have this ESP 8266 v3 board that has a program. Running on it currently, it’s the example scan Network Program. No matter what program I send to it now I get a error complaining for board NodeMCU ...
0
votes
0answers
700 views

Ov7670 (without FIFO) captures the images twice at the same time

I recently started working on an security camera system, with an arduino uno and an OV7670 camera without FIFO memory, and an ESP-8266 to transfer the images to a webserver. Everything is working, ...
0
votes
0answers
120 views

Arduino esp8266 EEPROM lag

Trying to save my LED-State to EEPROM. After every 5 seconds my EEPROM saves the value of white in this example (didn't put in RGB yet) When the EEPROM gets commited and the value changes the LED is ...
0
votes
0answers
18 views

controll intigers from webserver on nodeMCU esp8266

I would like to controll neopixel leds from over wifi with my nodeMCU but i dont know how to controll values over wifi, through a web interface would be perferable over url, but that also works. usinf ...
0
votes
1answer
46 views

ESP8266-01S Stopped responding after second launch

Here's the code: #include <SoftwareSerial.h> #define RX 6 #define TX 5 String AP = "..."; String PASS = "..."; SoftwareSerial esp8266(RX,TX); void setup() { Serial.begin(9600); Serial....
0
votes
1answer
943 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
1k 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& ...
0
votes
1answer
232 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
0answers
376 views

JSON woes: parsing JSON with esp8266, can this be more elegant?

A few years back I wrote a program that pulled bus time data from the NYC MTA's "bus time" API and posted it on a wifi-connected OLED on my wall. All was well for a few years, but they changed the ...
0
votes
0answers
2k views

Connecting to Eduroam WiFi

I have an ESP8266 board and want to connect it to WiFi. It works with usual home WiFi, but I can't get it to work in any way with eduroam (university WiFi). I tried this code and pretty much ...
0
votes
1answer
489 views

Updating Server using ESp8266 with Direction Button Pressed IN

I've connected a 5-way tactile switch to a ESP8266 module and am using the Arduino IDE to create an automatically updating web server that displays the direction that the button is pressed in when ...
0
votes
1answer
1k views

ESP send data to Arduino

I'm trying to send data from my esp to my arduino using serial using the following codes : esp : server.on("/drive",HTTP_GET, handleDrive); void handleDrive() { server.send(200,"text/html", "...
0
votes
0answers
91 views

Arduino loses communication with bluetooth when sending commands to nodemcu esp8266

i've been working on a project using an Arduino UNO, Bluetooth Module HC-06 and NodeMCU esp8266, the project consists on turning leds on via bluetooth and telling the esp8266 that the leds were turned ...
0
votes
0answers
2k views

Arduino ESP8266 Webserver SD

I connect Micro SD card adapter to my esp8266. I uploaded the SD webserver example sketch into the esp8266, everything works perfectly once I created index.htm, now I add LED to digital pin 4, now, ...
0
votes
0answers
418 views

Problem uploading code to ESP 8266-01 adapter

I feel like I've tried just about everything and it still doesn't work. There must be something I'm not seeing. I am using an Arduino uno, an ESP8266-01 wifi module, and an ESP-01 Adapter. The arduino ...
0
votes
0answers
453 views

what is the max frequency of external interrupt for esp8266 arduino?

i am using esp7 with AttachInterrupt() (Arduino) to count incremental encoder. I need to know what is the maximum frequency of pulses that esp7 can acquire. also, need to know what frequency atmega328 ...
0
votes
1answer
1k views

3 sensors and wemos d1 r1 and web

I need to build an app that will display on browser data from 3 sensors. My 3 sensors are: Humidity and temperature (DHT22), vibration sensor and distance sensor (HC-SR04). I want to connect these 3 ...
0
votes
0answers
64 views

DC Motor Not Braking

I have a brushed motor hooked up to a NodeMCU that moves a plate left (moveLeft) and right (moveRight). When a button (buttonOpen) is pressed, it turns to the left until the plate hits a limit switch (...
0
votes
0answers
549 views

Connect two D1 R2 (8266) via SPI with Github SPISlave Library

Problem: SPI Connection between two D1 (ESP8266) boards does not work properly, only master to slave transfers data correctly. What I did: I connected two Wemos D1 R2 via SPI and installed the ...
0
votes
0answers
330 views

Trying to use NodeMCU ESP-12e, a 5v relay AND a solenoid lock on same 12v power wall-wart

Noob here, so be gentle. Using a 12v-5/3.3v power board, NodeMCU powers relay fine, 100% of the time. Add in the solenoid by soldering a line from the wall wart into the COM spot on the relay, and ...
0
votes
2answers
351 views

Share I2C pins with other device when lacking GPIOs

We're Using ESP12E as our MCU and we have three functionality : SIM800 connected to TX(GPIO1), RX(GPIO3) Matrix Keypad connected to GPIOs: 14,13,2,10,0,4,5,16 GLCD connected to GPIOs: 15,12 And we ...
0
votes
0answers
1k views

Getting error with my Nodemcu

I have been trying to upload a simpley software code to my nodemcu arduino, but i keep getting this error : exec: "C:\Users\jean-claude\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-...
0
votes
0answers
246 views

ESP8266 and DHT22 frequent hangs

I have DHT22 sensor attached to an ESP8266. When running a sketch that read the sensor values, it suffer from frequent hangs (something like each 1 second). All outputs are stopped (Sound from ...
0
votes
0answers
262 views

Using TxD pin and NeoPixel library for RGB LEDs

I have no free pin on my ESP-12 but GPIO16 and TxD (GPIO1). I use Neo Pixel Library and this design: GPIO16 powers it on/off TxD uses to handle single-wire-based for LEDs (GPIO1) It works but it has ...
0
votes
0answers
516 views

Soft WDT with HX711 and PubSubClient libraries

I'm using NodeMCU 0.9 My sketch crashes if the following 2 include are present in the sketch: #include <PubSubClient.h> #include <HX711.h> I obtain a Soft WDT reset If I do not use ...
0
votes
0answers
544 views

Receive data on esp 01

I have um esp 01 on port 2 and 3 from my Arduino, I can send several characters, but I cannot to receive many characters, my code is this: #include <SoftwareSerial.h> //TX RX SoftwareSerial ...
0
votes
0answers
409 views

Error when moving stepper motor - Alexa curtain opener

I've hit a wall with my code and keep getting a Panic error like this: Panic /Users/lewisaburrow/Library/Arduino15/packages/esp8266/hardware/esp8266/2.3.0/cores/esp8266/core_esp8266_main.cpp:98 ...
0
votes
0answers
257 views

HTTP GET request only works sometimes

I am sending a HTTP GET request to a server I deployed on digital ocean (Ubuntu/Node.js). On the web browser when I go to my URL 'http://Server_Ip_Address/event/astarttime' or 'http://...
0
votes
0answers
98 views

Is there a equivalent to #define DEBUG 0 declare by VS2017 with VisualMicro (arduino) project?

Especially on ESP32*/8266, when you select debug (debug/release) : as a target, VisualMicro detect it and start the simple debugger (without JTAG). Do you know if when target is debug, is there a #...
0
votes
0answers
239 views

NodeMCU doesn't start

I have been trying to create a temperature/humidity logger using one of these ESP8266-based dev-kits. I wrote a simple sketch that sends a request to a (working) web server, using GET for simplicity. ...
0
votes
0answers
462 views

Synchronizing http GET and POST request

My project aims to send HTTP GET request to web page(using Arduino UNO and ESP8266-01) then receive response, extract wanted values from response and react with(for example turn on LED1,LED3) then ...
0
votes
0answers
422 views

ESP8266 doesn't connect to WiFi

I'm using an ESP8266 with the following pin configuration and it doesn't connect to my WiFi. The blue light on the ESP module is on and my LED is on. That's it. VCC - 3.3v GND - GND CH_PD - 3.3v GPIO ...
0
votes
0answers
7k views

NodeMCU (ESP8266) with SPI TFT, I2C RTC, & 2 Buttons, correct GPIO to use?

From all my research it seems that the NodeMCU only has 11 available GPIO (6-11 are used to connect flash memory chip), i'm wondering if anybody can help me with these final connections I have left ...
0
votes
0answers
583 views

Which board should I use with ESP8266 Lolin V3 in Arduino IDE?

I got some "NodeMCU V3" similar to this: https://www.aliexpress.com/item/New-Wireless-module-CH340-NodeMcu-V3-Lua-WIFI-Internet-of-Things-development-board-based-ESP8266/32683073762.html I have ...
0
votes
1answer
647 views

Problem of fetching data from web page using Arduino Uno and ESP8266

Project goal is to control a relay over web. I made a php page that receives the post data from Arduino then store the values sent into a mysql database (which is the relay status now). Now I need to ...
0
votes
1answer
166 views

Switch controlled power saving esp8266

I'm trying to build a door sensor with the esp8266. I want it to be battery powered and use deepSleep for power saving. I'm going to use a normally closed reed switch between D0 (GPIO16) and RST. I ...
0
votes
0answers
1k views

Decode PNG on an ESP8266

I'd like to decode a PNG on an ESP8266 and access to some pixels of the result. Has anyone got experience with PNG on Arduino? Is it feasible at all? I've done some research on PNG decoding libraries, ...
0
votes
2answers
2k views

ESP8266 + DHT11 AWS IOT Thing not updating thing shadow - was working before

I was able to get this working - https://www.youtube.com/watch?v=8hpro1olRK0 - send an SMS and email of temperature and humidity data from AWS IOT using esp8266 + dht11 but all of a sudden it stopped ...
0
votes
1answer
350 views

Wemos mini pro switch power from servo with mosfet bs170

I got a servo connected to a wemos/arduino with a capacitor(470uf). Before I didn`t use a cap. Now with the cap the device use to much power while sleeping(capacitor on the servo). I want to switch ...
0
votes
0answers
392 views

Why does the function esp8266.available() always returns FALSE?

I am trying to develop an Home automation system using Arduino and ESP8266 Module. But stuck at the very first step while checking is esp8266.available() available or not. This function always returns ...
0
votes
0answers
3k views

WEMOS D1 MINI NodeMCU, how to correctly powering it?

I'm developing a simple project using a WEMOS D1 MINI NodeMCU to drive an rgb LED strip so I managed to use a 12V power source to drive the current to the 12V pin of the led strip, a STEP DOWN ...
0
votes
0answers
2k views

Find public IP address of ESP32 using Arduino IDE

I am currently working on a project which implements communication between two ESP32 boards over the Internet. In my project, I want to get unlimited range communication by connecting one ESP32 (as ...
0
votes
0answers
483 views

DS18S20 (Not DS18B20) reading FF FF

I found a batch of DS1820 in my drawers; they worked 10 years ago on a DS9097U-09 onewire to RS232 converter. Note, not DS18B20 I use them in parasite power mode; pin 1 and 3 together to gnd. But ...
0
votes
0answers
886 views

ESP8266 ADC read analog

I have a 24CL256 external EEPROM, to which I wish to write 30,000 bytes of 8-bit data, reading from the built-in ADC of an ESP8266. Here is my code: void setup() { Serial.begin(115200); Wire....