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.

513 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
0
votes
0answers
24 views

ESP-01 does not run code after Deep Sleep

When using the deep sleep functionality on several ESP-01 boards, the boards require two resets in order to wake up properly (regardless of whether the resets are done by manually bridging the rst pin ...
0
votes
0answers
49 views

NodeMCU ESP8266-12E and GPS Neo 6M

I have wired my ESP-12E and my GPS according to the wiring provided in this link. However, no GPS led turned on or blinked. Additionnally to powering the GPS directly with the 3.3V supplied by the ESP,...
0
votes
0answers
43 views

ESP-NOW host not receiving data

I'm trying to set up a network like the following: |Host| <-------> |Node x 3| I want to have a two-way connection between a host and each node, but each node cannot communicate with other nodes....
0
votes
0answers
32 views

ESP8266httpUpdate library built-in led blinking time

I have been working with the ESP8266httpUpdate library for a while now, I want to change the frequency of the blinking built-in led of the esp8266, I couldn't figure out how this library is commanding ...
0
votes
1answer
47 views

Problems with detecting button digital state

I am trying to start an event after pressing and holding the FLASH built-in Nodemcu button for a specific time, I wrote two functions, one for debouncing and detecting the state, the other is to ...
0
votes
0answers
32 views

NodeMCU LUA ESP8266 12E Issues with Programming

I recently bought the NodeMCU ESP8266 to work on an embedded project, and for whatever reason, the board will only allow me to upload Arduino sketches when I unplug and replug in the board via the ...
0
votes
0answers
25 views

how to serially off leds in an esp running mqtt

hi im using at tiny 85 to monitor dc switches and to serial print with this code below to esp8266 with local broker to turn leds on and off but its only working through mqtt but not with physical ...
0
votes
0answers
36 views

ESP 8266/32 - How to avoid immediately turning Off the device with RST pin conencted?

I would like to ask how to avoid the turn of the ESP8266/32 in case the door switch will be in the state closed? I am solving the situation when the doors are opened, the device is booted from the ...
0
votes
1answer
34 views

3 input (on/off/off with delay) to control 1device using ESP8266 as Web Server

I want to control one device in three ways : turn on / turn off / turn off with delay. To do that i use an ESP8266 web server + android phone app. The problem is that turn off with delay wont work. It ...
0
votes
0answers
39 views

ESP8266 NODEMCU V3 web server with MAX7219 and DS3231 RTC

I am using ESP8266 NodeMCU with MAX7219 and a DS3231 teal time clock. I want to display the time and some text. The display is made of 4 FC16 modules which are made of 4 8x8 MAX7219 led matrix modules ...
0
votes
0answers
35 views

Construct char arrays within function

I'm pretty new to C++ / Arduino code, please bear with me. Following code currently gives me a Exception (28): epc1=0x40201287 epc2=0x00000000 epc3=0x00000000 excvaddr=0x00000000 depc=0x00000000. I ...
0
votes
1answer
18 views

possible to preform VIO from two cameras/imu's on a dual-core esp32?

Like the title says, I want to take in the synchronised data from two NXP breakout boards and two Ueye 1220LE Cameras, and use VIO to fuse their data and get positions for both setups. Alot of people ...
0
votes
0answers
40 views

What methods are there for tracking presence in rooms?

Im wanting to automate the lighting in my house, e.g. turn on lights when entering a room without having to fumble around with my phone or switches. I have looked at audio, PIR and radar sensors, are ...
0
votes
0answers
32 views

Wemos D1 Mini Pro can't search my WiFi SSID

I'm using the basic example of ESP8266 called "WiFiScan", and it is very instable, my SSID appears only sometimes, as the serial monitor below: * ESP8266 board version: 2.7.1 10:50:36.057 -> scan ...
0
votes
0answers
18 views

CIPSEND Shows 404 error using aeduino + esp8266+01

I am trying to save data in the data base with the get method. my url works fine when used with browser but when tried with esp shows page not found expection. Arduino Code SoftwareSerial ESP8266(...
0
votes
0answers
42 views

NodeMCU EEPROM Stored Datas Deleted Suddenly

In my project i am using nodemcu board.It is clone of Adafruit's huzzah. Last days i faced a problem about eeprom. 1- I have some data and i have to save this datas on eeprom. 2- Data types are ...
0
votes
0answers
35 views

how to set up an ESP8266 as a webserver

I would like to set up an esp8266, connected arduino as a webserver, specifically, one that has its own IP, and is stand alone, not connected to other networks, and offers its sensor info as the ...
0
votes
0answers
49 views

how to write freerun analog samples to a file on MacOS

I've only just managed to get the Arduino IDE on MacOS set up with my ESP8266 board. My loop is running and I can see the lovely serial output in the Serial Monitor window in the Arduino IDE. I'm ...
0
votes
0answers
36 views

Blink doesn't work on pin D3,D4 and D0 but works on D7

I am facing a strange issue. I am trying to blink an external LED using Wemos D1 mini V2 board. But it is not working. My sketch is as below. int LED = D3; void setup() { pinMode(LED, OUTPUT); } ...
0
votes
1answer
34 views

How can i connect 01 ESP8266 to a shift register?

I am connecting this shift register to my esp8266 01 for more GPIO options. it appears there is a GPIO 16 but it's tied to a RESET pin. I checked both datasheets : i checked the esp8266 01 datasheet ...
0
votes
0answers
25 views

How can i send data to phpmyadmin database? using esp8266 nodemcu and max30100

i want to send data from my sensor to database phpmyadmin. but i only get zero values. please help me thank you. void loop() { pox.update(); BPM = pox.getHeartRate(); SpO2 = pox.getSpO2(); // ...
0
votes
0answers
22 views

LED goes off in nodemcu If I turn on other LED

I developed an android app to control a robot using nodemcu. I have added some buttons to on/off or blink some LEDs. It works fine but, if I on the one LED or drive the robot, the other LEDs goes off. ...
0
votes
0answers
25 views

Unable to initialize SD card

I am not able to initialize the SD card. Can't find figure out what the issue is. It fails at the condition if (!SD.begin(D8)) { Serial.println("initialization failed!"); return; } I am using D1 ...
0
votes
1answer
35 views

what is causing my esp8266 setup function to reinitialise?

Here is code I have written: #include <stdio.h> #include <ESP8266WebServer.h> #define MAX_WIFI_INIT_RETRY 50 #define WIFI_RETRY_DELAY 500 const char* wifi_ssid = "ssid"; const char* ...
0
votes
0answers
44 views

how to implement AES in LoRa Module with Hardware Flow control using ESP8266?

I am working on project where I have to do AES encryption of plain text received through normal UART port of ESP8266 create a cipher text and sending it to LoRa module (EByte E32 868T30D) through ...
0
votes
0answers
33 views

File Upload and sending Form data to the ESP using HTTP POST

i want to upload a file from my pc to the esp2966 webserver with sd card. all works fine. But i want to transmit some extra data from a input form field. The Upload works good. in the browser ...
0
votes
0answers
40 views

how to get file date and time (Timestamp) from a file on sd card with SD.h?

i want to get the date and time (Timestamp) of a specific file on sd card. How can i do this? I use the sd.h and can not use any other like SdFat.h
0
votes
0answers
52 views

ESP8266-01 & Arduino Uno Problem

I am having a problem when I want to run code like this on a Arduino Uno with esp8266-01. It's not working. In serial monitor nothing about esp. #include <SoftwareSerial.h> SoftwareSerial ...
0
votes
0answers
64 views

how can i download a file with http from sd card using the SdFat.h

I use the Arduino IDE 1.8.10 and the esp8266 core 2.7.1 and the Wemos-D1 with SD Card Module For the SD Card i use the SdFat.h library, because i need to set the timestamp for the uploaded file. I am ...
0
votes
0answers
35 views

Create and retrieve a log file- in SPIFFS

I'm using an ESP8266, to create certain tasks ( triggers from MQTT, or a physical button).I'm trying to create a log of events, store it (SPIFFS or SD) and retrieve it back( perhaps using MQTT ), on ...
0
votes
0answers
23 views

Arduino Uno with ESP8266-01 using PubSubClient with secure TLS

In my example, Arduino UNO (ATMEGA328p) connects using the SoftwareSerial library with the ESP8266-01 module. Then I used the PubSubClient library to connect to the MQTT broker. The connection is to ...
0
votes
1answer
39 views

NeoPixel Gradient sweep function

I'm trying to create a function that takes two colours and creates a smooth gradient between them one colour at the beginning and one at the end I just can't figure the math of mixing them evenly I'...
0
votes
0answers
27 views

Is there possible implement websocket using AT Command?

For example I have a sim800l module to communicate to a server using websocket (socket.io) but that module allows AT Command to operate. I have successfully made an HTTP request, but I don't know how ...
0
votes
0answers
31 views

Serial Monitor Interface is not working as intended

Hello everyone so for my job I need to basically code a fish that will have three input switches glued onto the fish. For each of the switches if they are pressed they will go left right and the third ...
0
votes
0answers
17 views

NodeMCU is not working. Only a little orange LED is turning on

Some time ago, i powered a NodeMCU with a 9 volt battery, it worked but the next time i tried to use the board, only a little orange led near the usb connector and reset button turned on. I can't ...
0
votes
0answers
17 views

DS3231 clock module with cascaded FC-16 led matrix modules + Arduino Nano

I am using a DS3231 real time clock module and 4 cascaded FC-16 modules(they are basically MAX7219 led matrices based modules). My goal is to display a timetable, a schedule for a classroom on the ...
0
votes
0answers
15 views

ESP8266 & 2x VL53L0X Sensors cause WDT resets

I have a system that utilises 2 VL53L0X sensors. This works fine for the majority of time, but after around 20 hours till 2 days (varying), the ESP resets due to Software a WDT, I've managed to do a ...
0
votes
1answer
32 views

What current is safe for Wemos d1?

I've got 12V / 400mA power supply for my Wemos D1 R1, and I'm using VIN output(I need 12V for led strip). I need to change this power supply because of color, and I can't find similiar with the same ...
0
votes
1answer
54 views

Can i exchange my arduino nano for an atmega328p-pu in my project?

Im currently trying to make a smart light switcher that is attached in front of my rooms light switches. It basically mostly consists of two servos (to turn on or off either switch), two button (to ...
0
votes
0answers
33 views

HTTP get with ESP8266 via a SoftwareSerial port

I've Arduino UNO and ESP8266 connected via a SoftwareSerial. Arduino UNO communicates with ESP8266 by sending AT commands. And I need to write a function to fetch HTTP responses and return a response ...
0
votes
0answers
14 views

Unreliable EspSoftwareSerial Bluetooth transmission for longer read/writes on ESP8266

I have a project which runs on an ESP8266 and one functionality is to do nothing else but to read what comes in from a HC-05 Bluetooth adapter via SoftwareSerial and outputs the read data to the ...
0
votes
0answers
35 views

Arduino UNO + ESP8266 fails when using char buffer instead of String

I have an Arduino Uno connected to an ESP8266 via an ESP-01 adapter. The adapter is powered from the Arduino 3.3V and GND pins and the Tx/Rx to the Adapter use Arduino pins 2/3. The purpose of the ...
0
votes
1answer
45 views

Esp8266: Linux - fatal: No names found and undefined reference to `app_entry_custom()'

as Gentoo user I build everything from sources, but I have problem with building toolchain for esp8266. I came up with this script: #!/bin/sh # note: eselect python2 before, because of gcc # ...
0
votes
0answers
22 views

SHT30 activating Fan control

I've a working hardware setup and two codes 1 to read the sht30 and push the data to my tft screen. And 2 a code to set a fan (2fans) on and off. I want to combine these whenever the humidity is ...
0
votes
0answers
41 views

Parsing Data from local websever

i´m trying to build a little monitor of an ESP8266 and an OLED display that displayes the Status of a Robotarm. The robotarm is controled by a RAMPSboard that has a webserver, so i can check the ...
0
votes
0answers
69 views

The Arduino Oscilloscope - Error message: 'ADCSRA' was not declared in this scope

Project: The Arduino Oscilloscope - published in The MagPi No. 71 July 2018 This is my first Arduino project! I'm porting over the sketch "Gather_A0.ino" but I'm encountering compile errors: Error ...
0
votes
0answers
24 views

D1 Mini + TFT & I2C Connector Shield not going into deepSleep

I'm trying to write a sketch to use a Wemos D1 mini connected to several shields including a LOLIN TFT & I2C Connector Shield (v1.1.0). This powers a small ePaper display (LOLIN 2.13" diagonal ...
0
votes
0answers
38 views

Uploading file via AJAX fails on ESP8266

I have an interesting issue. I have created a copy of the web-server OTA updater library that is designed to print the progress of the update. I cannot of course show the progress while it's rebooting ...
0
votes
1answer
277 views

OTA-program SPIFFS on the ESP8266

Something I'd like information on is whether it is possible to upload a SPIFFS filesystem image to the ESP8266. In theory it might work: It can be uploaded over USB, and according to the logs the ...
0
votes
0answers
60 views

Freezing ESP8266 after 4-8h

Build my own 'Artnet to WS2812b Neopixel' boxes for lighting in a club. Working fine. I have 20 stripes with 50 pxls each. One ESP8266(NodeMCU) is feeding 6 stripes, so it gets 2 DMX universes via ...

1 2
3
4 5
11