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.

Filter by
Sorted by
Tagged with
0
votes
1answer
7 views

cannot connect ESP8266 web server after some time

I am new to ESP8266 and found an example about turning a LED ON/OFF using web interface. It works well but after some time (few minutes) i cannot open the web page (in my case it is http://192.168.100....
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
1answer
37 views

ESP8266-01 Resetting when DC motor runs

DC motor: 3-6v Servo sg90: 3-7.2v Esp 8266 01: 3.3v I have 2 Arduino Uno both has their own ac-dc power adapter. Lets say, 1st Arduino is Ard1 and 2nd is Ard2. The Ard1 communicates to a web ...
0
votes
1answer
50 views

Esp8266-01 AT Commands returns partially

Im trying to get html response from server via esp01 module when using the serial monitor in arduino studio everything works fine here is the serial monitor output AT+CIPSTART="TCP","aaaa.aaaa",...
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
1answer
278 views

Driving a stepper motor using ESP8266

I have a stepper motor, and a Uln2003a stepper driver, which is connected to an ESP8266. The ESP8266 is powered via USB, and the stepper motor is powered via the driver, which is then powered by an ...
0
votes
1answer
134 views

Detect DS18B20 sensors and correctly assign them to relays

I'm relatively new to microcontroller programming, so please excuse me if my question is dumb. I've created a simple device that allows me to control 4 relays based on temperature. I bought four ...
0
votes
1answer
96 views

esp32-cam publish image to mqtt

I want to publish image capture through ESP32-CAM to MQTT. Have following code : #include "WiFi.h" #include "esp_camera.h" #include "esp_timer.h" #include "img_converters.h" #include "Arduino.h" #...
0
votes
0answers
20 views

ESP8266 exception on Array access

I have code to run an SH1106 display that works perfectly fine on a Mega328 (basic Uno clone) and Sparkfun Redboard Artemis (ARM M4). The code for the ESP8266 (NodeMCU v1 clone) should be pretty ...
0
votes
1answer
39 views

ESP8266, sporadically no write access to the file system

I have an ESP8266 project which reads my gas consumption. The hardware and the project run satisfactorily. Sporadically, the ESP8266 can no longer write to its file system and therefore cannot save ...
-1
votes
2answers
249 views

Arduino & ESP8266

I connect my ESP to Arduino to my PC. If I send AT commands from my serial monitor, I receive full response. I use 115200 and both NL & CR in my serial monitor. ESP TX is connected to TX Arduino,...
2
votes
3answers
3k views

Trying to flash ESP8266 with Arduino UNO

This is my first project other than some of the starter projects. I am trying to flash the firmware onto an ESP8266 wifi module using and arduino uno. It would be nice to know if anything is wrong/...
0
votes
0answers
24 views

arduino and esp-1 stop workign after 1 day running

i'm trying to create a system that arduino and esp-1 send an GET request each 2 secs to a server and depend on server reply turns a LED on or off . system works good for 6-7 hours but stops after one ...
0
votes
1answer
41 views

Can the ESP-1 use SPI to communicate with sensors?

I wonder if I can use SPI to communicate between ESP-1 ESP8266 module and SPI sensors and other slaves. If so, do I need to install a library?
-6
votes
0answers
36 views

Error Compiling Exit Status 1, Using library ESP8266WiFi at version 1.0 in folder: C:\Users\HP\Documents\Arduino\libraries\ESP8266WiFi [closed]

[] Board: NodeMCU 1.0 (ESP12-E Module) CPU Frequency: 80Mhz Vtables: Flash Exceptions: Legacy (new can return nullptr) SSLSupport: All SSL ciphers Flash Size: 4MB(FS:2MB OTA:-1019KB) Builtin Led: 16 ...
0
votes
0answers
23 views

HC-12 modules stopped receiving, cannot understand why

I've created a simple transmitter with an HC-12 and an Arduino Nano (clone), where I send the values of DHT11 and LM35 sensors to a receiver unit made only of a Wemos D1 and another HC-12. Setup is ...
0
votes
1answer
192 views

Uploading Firmware to Atmega1284p using ESP8266 with AVRISP as programmer

I am trying to flash a new Firmware to my Ender 3 Pro. I am using the ESP8266 as an ISP via AVRISP over Wifi. I have a 10mF capacitor between the ground and reset of the ESP8266 I followed this ...
0
votes
3answers
3k views

How to post data to database using nodeMCU?

We created a website hosted by 000webhost and we're trying to post data from our nodeMCU to the database using the sketch below, but the database doesn't seem to show any received data. How do you fix ...
0
votes
0answers
51 views

Arduino cryptocurrency

The code is allow you to chose supplier service to get value of bitcoin through one push button like Binance , Getpr24 but the problem is when I press the push button, case 0 works according to the ...
0
votes
0answers
15 views

Wifi communication between ESP8266 (s) and ESP32: know if the client is alive (possibly without errors …) [duplicate]

I state that I am an amateur beginner and this is the first time I ask a question in a forum, so any criticism, judgment or advice is a pleasure for me! I am trying to build an automatic irrigation ...
0
votes
1answer
23 views

Detect the end of playback of a MP3 file with DFPlayerMini / DFRobotDFPlayerMini.h library

For a project I'm doing I've used an ESP8266/12e, a RTC Module DS3231 and a DFplayerMini Basically it's a caller for birds and it has to play a 12-minute long MP3. The MP3 file should be played for 2 ...
0
votes
1answer
30 views

ESP8266 reseted due to relay / AC plugged

My Wemos card is reseting for unknown reason. For example, the pump plugged on the relay works fine till 1am and then the pump stop. After a few research I figured out the ESP should reset because all ...
0
votes
0answers
48 views

POST request using WiFiEsp.h library

I'm using an arduino uno and ESP8266 (esp01) with the WiFiEsp library to connect to WiFi and POST data, connecting to WiFi works just fine. I need to send a POST request, but I can't get it to work ...
0
votes
0answers
21 views

ESP8266 and WPA2 PSK network

I'm having some issues with esp8266 connecting to a wifi network. I'm testing with a hotspot from a mobile phone. If I set the network to open (no security) my code below works without any issue. If ...
0
votes
1answer
89 views

HTTP Post data from Arduino uno using WiFi

Please help me to post data from arduino uno to a webpage using wifi(ESP-01) module. I try with AT commands it didn't give the response from my webpage #include <SoftwareSerial.h> #include <...
1
vote
1answer
47 views

Serialize JSON as response to HTTP request

I'd like my ESP8266 to provide some JSON endpoints. I want to use ArduinoJson for serialisation. While this works in general if I serialize into a String and return this String afterwards, I was ...
1
vote
3answers
142 views

Spiffs vs Eeprom on esp8266

In my project, i have some data to save permanently. After some research i got many examples and informations to do that with eeprom. I used it effectively. After all i decide to deep dive to esp8266 ...
1
vote
1answer
6k views

How to connect NodeMCU to NRF24L01

I need to connect NodeMCU and NRF24L01. where I'm receiving data from another NRF24L01 Transmission. I managed to connect to a WiFi network but the data receiving is not taking place as expected. Here ...
0
votes
0answers
30 views

How to edit code from Node-Red to Cayenne

I am working on a project to run some (relays or LED's) on an inputs (Pins) Arduino by esp8266-01s . now while searching on internet I found a video divided it two step that talks about the issue ...
0
votes
0answers
40 views

ESP8266 NodeMcu v3 CH340: error: espcomm_upload_mem failed [closed]

started with arduino last week and now after finally knowing how it works happened this: Arduino: 1.8.11 (Windows 10), Board: "NodeMCU 0.9 (ESP-12 Module), 80 MHz, Serial, 40MHz, DIO, 57600, 1M (512K ...
0
votes
1answer
41 views

setting a dc motor to work for a fixed amount of time [closed]

I am trying to set a DC motor to work for a fixed amount of time. For example if I will press left, I want it to work for a minute and after that to stop. If I will press right, to work for a minute ...
0
votes
2answers
35 views

Nodemcu powering with 5.2v and 2A?

I bought a this voltage regulator . DC-DC 5v 8A voltage regulator. ıts supported 8-35V input voltage . And i want to use this with 12v power supply. But i searched on the internet . Nodemcu max amp is ...
0
votes
1answer
45 views

Arduino ESP8266 - stack ERROR - ESPExceptionDecoder to debug - need help to find ERROR

i have one project that can ready compiled. The function is break on the hardware an i need help to finde the error. I am a beginner and ask for help. How can I narrow the error down? Sketch: ...
0
votes
0answers
38 views

Can ESP 32 use the wire library exactly like that was in Arduino?

Compare the YouTube video and this webpage, the former one made programming very different in ESP32 and that was in Arduino nano, while the webpage seemed to imply that they work exactly the same. ...
-1
votes
1answer
99 views

esp8266 ip address issues

I have android studio app and arduino codes they are connected to each other using esp8266 but it works only on one network when I use another network it doesn't recognise it's ip address instead it ...
1
vote
2answers
39 views

How can I power an ESP8266 using a 9V 1A barrel connector power supply?

I have a Huzzah Feather ESP8266 (pinout) and due to the requirements of my project, I need to supply it with a 9V power adapter with a barrel connector, such as this one. I'm REALLY new to all of ...
0
votes
1answer
448 views

Wiring ESP8266 and PN532

I'm trying the Android Hce example in this PN532 library. I can't find how to set SDA and SCL address in the code, so I tried connecting them in CLK and SD0 pins. The serial monitor gives me "Didn't ...
0
votes
1answer
32 views

Communication between three NodeMCUs such that one in in AP mode, second one in AP+STA mode and the third NodeMCU in STA mode

I am able to establish a connection between first and second NodeMCU, but unable to do so for the third nodeMCU. I used the IP address to establish connection. Should I assign a different IP to each ...
1
vote
0answers
37 views

StoreProhibitedCause Exception with linked list on ESP8266 [migrated]

I have implemented a linked list class as follows for storage of sensor data readings. (Note the total code is ~4000 lines so I can't provide it all, hopefully this gives an idea of what's done). ...
-1
votes
1answer
21 views

i want to make Node Mcu a bride for other devices but its self connected with home wifi not providing internet to others

i there! i have Node Mcu which i want to connected with my home wifi after it it made it own station mode then i want to make it access point for other but now problem is that it is now in both mode ...
0
votes
0answers
32 views

ESP8266 as ISP for Arduino Mega2560

I'm trying to use an ESP8266 Node MCU 1.0 (ESP-12E Module) as an ISP to program an Arduino Mega2560 over Wifi with no USB cable. (USB connected to ESP8266 module just for power). I used the sketch '...
0
votes
1answer
5k views

ESP8266 as ISP program for ATMega16

I have used below program for ESP8266 as ISP to upload a program to an ATmega16. ISP program uploaded in ESP8266 #include <SPI.h> #include <ESP8266WiFi.h> #include <ESP8266mDNS.h> #...
0
votes
0answers
26 views

NodeMCU hc05 Connection

I am using a NodeMCU from Amica. I tried interfacing the HC-05 module to the NodeMCU. The following code works fine without any errors #include<SoftwareSerial.h> SoftwareSerial btport(D2, D3);...
1
vote
0answers
1k views

Why isn't ESP8266 connecting to wifi when calling yield()?

I'm experimenting with ESP8266 and I want it to cycle through various states: LED on/off, WiFi on/off and measure the connection time, deep sleep. I wrote the following script, using millis() to ...
0
votes
1answer
33 views

Arduino Firebase ESP8266 Connection

I am working on a project that needs data to be stored in cloud db so that I can access the data in a mobile application. For database I have considered Firebase. I am following the following link. ...
0
votes
1answer
31 views

Code uploads successfully on esp8266-01 but doesn't run

I am using esp8266-01 board. It was working fine few days ago, the codes uploaded and ran successfully. But now that I upload code to it, it gets uploaded successfully but it doesn't work. I am using ...
0
votes
1answer
108 views

How can I switch from ArduinoOTA to ESPhome safely?

I have an ESP8266 (ESP-12F), which I flashed with ElegantOTA, a variation of ArduinoOTA with just a different interface. I never managed to flash anything else, so it's a bare OTA I flashed using a ...
0
votes
1answer
944 views

What is the use of reserved pins and SDD2, SDD3 pins of the NodeMCU?

How to use the reserved pins on the NODEMCU? What is their use? Also what is the use of SDD pins? Thanks.
1
vote
1answer
512 views

Arduino Nano and ESP8266

I am trying to use Arduino Nano with ESP8266 (01). I tried to follow a lot of online tutorial with no result. In particular this one http://www.martyncurrey.com/arduino-to-esp8266-serial-commincation/...
0
votes
0answers
33 views

How can I interface EEPROM in websocket via Arduino?

I am at beginner level and I wanted to implement EEPROM write after receiving data from a websocket. If the websocket doesn't receive any data within 5 seconds then I want to write to EEPROM the value ...

1 2 3 4 5 32