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
10 views

command keeps echoing because web page tries refreshing

I want to execute a action only once when I press web page button but as the page tries refreshing the action gets executed in a loop. I am using the wifimanualwebserver example for esp8266. Please ...
-1
votes
1answer
79 views

Multiple dht11 on an wemos d1 r1

I am trying to connect three separate DHT11 to my Wemos d1 r1. I have each sensor hooked to a power pin which turns on and off, the sensor pin and a common ground. Here is my code: #include <...
0
votes
1answer
3k views

Creating a webserver on a Wemos D1 mini pro

I am trying to put a web server on my Wemos D1 mini pro. I am using this example for the Arduino code: https://github.com/wemos/Arduino_D1/blob/master/doc/esp8266wifi/server-examples.rst #include &...
0
votes
1answer
39 views

Pulse Sensor Working Bottom-Side-Up Better?

i recently bought me an pulse-heartbeat sensor. Connected him to my brand new M1 mini as well. I wrote a piece of Code which just outputs the Raw ADC Value from A0 (where the pulse sensor is ...
0
votes
0answers
27 views

ESP8266 WiFi doesn't reconnect

I've been reading this post while trying to optimize the usage of the WiFi module on my ESP8266. My main goal was to be able to connect/disconnect (respectively turn on/off) the WiFi module so I can ...
0
votes
0answers
21 views

how this problem can resolve? i am using esp8266 node mcu [duplicate]

Uploading 295424 bytes from C:\Users\ADMINI~1\AppData\Local\Temp\arduino_build_281128/dustbin-local-http.ino.bin to flash at 0x00000000 warning: espcomm_send_command: didn't receive command response ...
0
votes
1answer
545 views

Send data string from Arduino UNO to ESP8266-01

Is there anyway to send a string from an Arduino UNO to a ESP8266-01 (one with only 8 pins RX, TX, CH-PD, vcc, ground, reset, GPIO0, GPIO2) without using without using AT commands. I've looked ...
0
votes
1answer
39 views

How to check if a LED is on?

I have a circuit board / device that can be in different states. It indicates in which state it is by turning on one of three LED's. Now I want to use an ESP8266 to tell me (over the network) the ...
0
votes
1answer
28 views

ESP8266 Arduino MQTT callback with dynamic topics

I have a program that depending on user input, it creates one or several objects that will publish data to a MQTT broker, each one with a different topic. This is already done. The ESP8266 also has ...
0
votes
3answers
2k views

ESP-01 not waking correctly up after deep sleep

I have an ESP-01 that I want to measure pool temperature with. It will send the data over MQTT to the broker. I have connected RST to GPIO16 so I can use the deep sleep functionality. Currently I am ...
1
vote
0answers
20 views

esp8266 using thingspeak for iot light on project via google assistant fatal error everytime

fatal error timeout and unable to connect to thingspeak for fetching data sent via google assistant (ifttt) #include <LiquidCrystal.h> #include <SoftwareSerial.h> //ESP is connected to ...
1
vote
3answers
18k views

Serial Communication between ESP8266 and Arduino Uno

I want to send data from arduino to ESP8266. I have done all the RX and TX connections. The problem is that data is not sent every second, it stops after a single byte. When I remove the arduino cable ...
0
votes
1answer
26 views

Solar powered ESP8266. WiFi module usage optimizations

Above all, I am quite new to the ESP8266 and micro controllers development as a whole. I am now working on a project which is quite simple for now. It basically looks like this: As you can see, I ...
0
votes
1answer
82 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
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
29 views

Trouble with i2c on ESP8266

I have used with partial success I2C with the ESP8266. When it works, it works well, with many devices on the bus. I've examined the signals on a 'scope to assure Vlo, Vhi, Tr, and Tf. However, ...
0
votes
0answers
23 views

Arduino Uno R3 and ESP8266(ESP-01) serial connection

I have done everything i found but just nothing works, or maybe i just dont understand why it wont work. Im only trying to pass data(String) from Arduino to Esp through serial comms. Please I need ...
1
vote
1answer
5k 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
3answers
839 views

How to integrate nRF24L01 to esp8266 nodeMCU? [closed]

I can't seem to integrate an nRF module to my nodeMCU. I just want to verify my code but an error message keeps popping up Below is the sketch: #include <SPI_Class.h> #include <nRF24L01.h&...
0
votes
1answer
57 views

RtcUtility.h: No such file or directory

I have a problem with remaining headers. Can't seem to find the first header "RtcUtility.h". Anyone how to fix? I've provided a picture for you to see. Error Messages: Arduino: 1.8.10 (Windows 7), ...
0
votes
1answer
19 views

Using Library LoRa.h with Wemos D1 R2 for Lora Shield

I have been using Lora Shield for communication between server and multiple sensor with arduino . But recently i must save data received to Cloud . So i choose Wemos D1 R2 that have similar board with ...
0
votes
1answer
34 views

Serial communication from Arduino to ESP8266 NodeMCU works, but from NodeMCU to Arduino isn't working

My circuit connection is like: (I am following this tutorial) Code uploaded to Arduino: #include <SoftwareSerial.h> #include <ArduinoJson.h> SoftwareSerial s(5,6); void setup() { s....
0
votes
0answers
31 views

NodeMCU ESP8266 Returns IP address, but cant open the web with IP address

I have used the below code with proper Wifi Address and password. The Nodemcu connects to WIfi, and displays IP address, But the IP address cannot be used to open a web page. It says "This site cant ...
1
vote
2answers
54 views

Help to delimit and read specific contents of incoming HTTP string

I am sending strings to an Esp8266 via web browser. The below code returns the following in serial monitor if I send in browser: Send from browser to esp8266 - http://192.168.1.220/s1s2s3s4s5d1 ...
1
vote
2answers
10k views

ESP8266 not connecting to WiFi

I am trying to send the temperatures from an DS18B20 to ThingSpeak, using an ESP8266. You can see the code I am using for that. When I run the code I do not get any errors. In serial monitor it just ...
-1
votes
1answer
423 views

firebase arduino uno + esp8266

I am trying to make a project that can read data from usbsheild connected to arduino uno board then send them to firebase through esp8266. But the libraries of firebase and esp8266wifi that i found ...
0
votes
1answer
41 views

Sending the data for temperature and soil using esp8266-01 through software serial

The code I used was from online and I tried using it to send data to firebase through web server. But the ouput I get from serial monitor was just "ATE0" which means there's something wrong. Hence, I ...
-1
votes
3answers
74 views

Unused lines of code causing program to crash

I have a project which essentially involves WiFi, a web server, and an LED. I'm using the Inbuilt LED on my ESP8266 for testing at the moment. I am using the Arduino IDE for programming. I had a ...
0
votes
1answer
24 views

ESP12E motorshield analogWrite issue when powering DC motor

I am relatively new to adruino and this whole space. I am currently trying to power a DC motor using an ESP12E motor shield and an ESP8266 Module Motor Shield - https://www.amazon.com/gp/product/...
0
votes
2answers
37 views

WifiManager and WiFi functionally

I’m considering using wifiManager mostly to have the ability not to hard code WiFi creditntials. But In my current code I use WiFi’s functions as WiFi.setAutoReconnect(true) and WiFi.status() != ...
0
votes
1answer
36 views

Measuring Battery level with ADC already in use

I have NodeMCU v3 with ESP8266 and I am running small project where I am measuring the input from IR phototransistor via ADC pin (A0) and everything is working flawlessly. But now I want to transfer ...
0
votes
1answer
25 views

Esp8266 + Atmega328p as flash

Being clear I'm not talking about How to flash ESP8266 using arduino. I want to ask how can I use atmega328p as flash with esp8266 (instead of that 8 pin small chip on ESP-01) so that I can burn ...
-1
votes
1answer
36 views

NodeMCU max draw

1) what is the max draw I can draw from NodeMCU V3 logic and 5v pins? 2) Also, I heard i draw with it more than 500mA, the PC USB port stops working. Is that information actual? Because USB 3 port has ...
0
votes
2answers
38 views

ESP-01 + UNO won't detect gateway

Apparently, this combination of hardware won't accept anything other than WiFiEsp.h together with SoftwareSerial.h (if anyone knows something better/newer than these two, please let me know). Thing is:...
-1
votes
1answer
39 views

MQTT with OLED realy :- display not coming properly

I am very new to Arduino/ESP and I am writing a code to activate 2 relays using MQTT. Also like to display status on OLED here is my code #include <ESP8266WiFi.h> #include <ESP8266WebServer....
0
votes
1answer
55 views

Deep Sleep Reset with Shock Sensor

I am trying to design a circuit that wakes my ESP8266 (Wemos D1 Mini) from deep sleep using a shock sensor. I can achieve this using the reset pin but I need it to ignore further requests to reset to ...
-1
votes
1answer
32 views

NodeMCU MQTT getting topic but not calling IF loop

I am very new to Arduino/ESP and I am writing a code to activate 2 relays using MQTT. My connection is successful and I am able to receive message/topic printed out on serial console. Here is my code: ...
1
vote
2answers
2k views

Arduino OTA port not updating in Arduino IDE

The OTA (from the ArduinoOTA library) on my ESP8266 does not show up in the programming ports on the Arduino IDE unless I restart the IDE. Even when I plug in a usb cable and the ports list updates ...
0
votes
0answers
21 views

WS2812B not fully working with NodeMCUv2 [ESP8266]

I have a problem with my NodeMCU v2 board and my WS2812B led matrix with 256 (32x8) LEDs. The Board cannot be able to turn on the 191th led and stops working after the 190th without changing the ...
0
votes
1answer
173 views

Where this function is defined?

This is the code for timer example in esp8266..(got from a website) My doubt is where the function timer1_enable(TIM_DIV16, TIM_EDGE, TIM_SINGLE) is defined ?? I am look in Ticker.cpp, but not ...
0
votes
1answer
51 views

How do I properly use the WiFi capabilities of ESP8266?

I am creating a project with an ESP8266 (Arduino IDE) which requires it to serve a webpage to a client. The module will be connected to a WiFi network by default, but when that WiFi network is not ...
0
votes
1answer
45 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",...
1
vote
3answers
471 views

Convert byte* to int in Arduino

I am trying to convert byte* value to int here is how I have it. void mqttCallback(char* topic, byte* payload, unsigned int length) { String topicStr = topic; int* payload_value; int ...
0
votes
0answers
27 views

WDT Reset with PubSubClient library for esp8266

I am using ESP8266 with arduino and PubSubClient library. With this library on esp8266, i can see esp8266 is resetting due to Watchdog reset. After google search get to know this is known issue. I was ...
0
votes
1answer
92 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 ...
1
vote
1answer
154 views

driving an stepper motor using esp8266

I have an stepper motor, and a stepper driver Uln2003a 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
0answers
21 views

Characters like '$' coming through weirdly (as in '$$amd4') when sent from ESP8266 to Uno via Serial

I am running a program on an Uno using data that an ESP8266 is sending via Serial (can't run directly on the ESP8266 due to not enough GPIOs) and I'm having a problem where characters like '$' on a ...
0
votes
0answers
19 views

Documentation for esp8266::polledTimeout?

I came across esp8266::polledTimeout for the ESP8266 Arduino core in the NTP example. But I could not find any documentation. It seems to be a template that is intended to eliminate manual time(out) ...
-2
votes
4answers
4k views

ESP8266 sends webpage to client, but html codes appears in browser instead of webpage?

I am using ESP8266 with Arduino MEGA. ESP8266 is powered 3.3v via voltage divider, which is taking 5v from arduino and converting it down to 3.3v with the help of 5K and 10K resistors. AT commands ...
0
votes
1answer
74 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 ...