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.

452 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
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
82 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
387 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
362 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
57 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
484 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
320 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
317 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
968 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
223 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
253 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
495 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
496 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
368 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
223 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
2answers
2k views

ESP8266 doesn't detect WiFi

I try to connect my NodeMCU Amica to my WiFi network, but it doesn't detect any networks around. I chose Board "NodeMCU 1.0 (ESP - 12E Module)", upload speed of 115200 and I have the correct port ...
0
votes
0answers
96 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
212 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
383 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
369 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
6k 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
563 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
584 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
137 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
304 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
334 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
406 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
859 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....
0
votes
0answers
198 views

ESP8266 odd HTTP GET request

I'm using an Arduino Uno to send HTTP requests to my local webserver. To communicate to the ESP8266 I created a SoftwareSerial which is set to a baud rate of 9600. Whenever I send a HTTP request, the ...
0
votes
0answers
22 views

AT response clean-up

I am trying to get the response from server using AT commands. This is my program #include <SoftwareSerial.h> const byte rxPin = 2; // Wire this to Tx Pin of ESP8266 const byte txPin = 3; // ...
0
votes
0answers
854 views

How to uniquely identify NodeMCUv2 board?

I have several NodeMCU boards, each one is sending temperature measurements to web server through WiFi. As they are gathering data from different palces, it's crucial for server to know exactly from ...
0
votes
1answer
4k views

Which input pins can I use on the ESP8266 NodeMCU

On the ESP8266 NodeMCU I have GPIO2 , GPIO3 , GPIO1 , GPIO9 free but when I assign them to a button they do not work. I assume it is because those pins have other function behind them. When I look at ...
0
votes
0answers
1k views

Communicating between ESP and Atmega on Arduino Uno + Wifi

I got this board: And I am trying to communicate between ESP and ATmega. I have looked up tutorials for this except the boards are separate and you need to connect wires between the ATmega and ESP. ...
0
votes
0answers
47 views

checking if user is opening root entry point of the IP address on esp8266 webserver

I am trying to open load a webpage from ESP8266 that displays temperature and humidity of my room if I only type root URL:192.168.1.89 GET / HTTP/1.1 Host: 192.168.1.89 Connection: keep-alive Upgrade-...
0
votes
0answers
503 views

NFC/RFID module multiple cards

I have this NFC module. When i read ONE card at a moment everything works fine, but i need to read more that one cart at a moment. One card lays on a module - module reads it ok, when I move another ...
0
votes
0answers
606 views

Arduino Digital Pins Control with ESP8266

I am currently working on my FYP. I need to control 15 servos (13 for x2 Robotic Arms + 2 for Camera) and 4 motors of my Robotic kit via webserver. I have the following options: NodeMCU Arduino Mega ...
0
votes
0answers
293 views

Use mobile charger as power suppy to ESP8266 wifi module with 3.3v converter

I am using this FTDI connector to power and flash code inside ESP8266 module. Now I am done with adding code to ESP8266, now I just want to power it. but when I connect the mobile charger(5v output) ...
0
votes
0answers
1k views

Problem in Serial Communication between nodeMCU and arduino

I am trying to send some messages from nodeMCU to Arduino using Serial communication (aka UART). Following is the code on nodeMCU side: #include <ESP8266WiFi.h> const char* ssid = "my-ssid"; //...
0
votes
2answers
396 views

Using an ESP8266 with an Arduino Uno - can't get AT command to work

I am trying to connect an ESP8266 to my Arduino Uno. Connections: RX -> RX TX -> TX CH_PD -> 3.3v (Arduino 5v using voltage regulator) VCC -> 3.3v GND -> GND I am running the RX and ...
0
votes
1answer
766 views

Error while uploading code to ESP8266 through Arduino Mega 2560

I am sorry for posting this question for the nth time but I am still not able to find a solution for this error. I am trying to upload the WiFiScan(Arduino IDE example program)program code to ESP8266 ...
0
votes
0answers
859 views

Connect ESP8266 ESP-12 with 2 arduinos

I understand how to connect one ESP-12 to an Arduino, but it's possible to make the ESP-12 connect to two arduinos? I found a lot of information about the gpio as txd-rdx but not at the inverse. Is ...
0
votes
0answers
36 views

Arduino Uno wont power up when GND is plugged in Logic Converter

Good day. I am trying to use an ESP8266 12e Wifi Module that requires 3.3V I used a Logic Converter to reduce the 5v to 3.3v My problem is when I plug the GND from the arduino to the GND on the Logic ...
0
votes
0answers
300 views

Esp <--> Esp Communication

I'm aware of and currently using an MQTT network to facilitate communication between several Wemos D1 Mini's but that method obviously relies on having a MQTT broker. Is there a way to have the ESP's ...
0
votes
0answers
342 views

How do I send HTTP request using ESP8266 to other port than 80?

I currently have a working connection to my ESP8266 module. However, I can only connect to a server using the port 80, is it possible to choose a different port? I can connect using AT+CIPSTART="TCP"...

1 6 7 8 9 10