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.
2,002
questions
3
votes
1
answer
4k
views
Data transmission Serial to TCP
I am trying to send numeric data using ESP8266 to local network python server. Before that I am collecting data from sensors using Arduino UNO and then send it to ESP using hardware serial.
ESP8266 ...
3
votes
1
answer
7k
views
Uploading Arduino code, OTA, via connected ESP8266-12E running Esp-Link
1. A short preliminary introduction
I'm deploying a small network of three MEGAs connected trough an RS-485 bus.
Each MEGA is connected to up to 16 push-buttons (wall-mounted) and two relay-module (...
3
votes
1
answer
2k
views
3.3v inductive proximity sensors
I'm using an ESP8266 so I'm limited to 3.3v. I've found a number of inductive proximity sensors but they require 5v or more. Does a 3.3v sensor exist?
I recently dropped some tiny screws on dark ...
3
votes
2
answers
2k
views
Arduino Uno and ESP01: can't issue AT commands [Solved]
I would like to connect an Arduino Uno and an ESP 01 module. I use the Arduino IDE and I tried to test communication via serial monitor. I get the "ready" message from the ESP 01, but I am not able to ...
3
votes
2
answers
908
views
Shield:FAIL problem in ESP8266-01 with Arduino UNO
I have been working on a Security System project wherein I should get an email if the PIR sensor detects any human presence.
I have used an Arduino UNO, ESP8266-01 WiFi module and a PIR sensor.
Power ...
3
votes
1
answer
1k
views
Uploading sketch to ESP8266
I'm managing to upload a sketch to the ESP8266 01. I have been researching on internet but I'm not able to get it.
I have installed the libraries for Arduino IDE and my circuit is the ESP powered by ...
3
votes
1
answer
2k
views
Wiring Lilypad USB + ESP8266 Serial WiFi Module
I am trying to solve the following scenario:
Lilypad USB connected to WIFI through ESP8266 Serial WiFi Module.
http://arduino.cc/en/pmwiki.php?n=Main/ArduinoBoardLilyPadUSB
http://www.seeedstudio....
3
votes
0
answers
32
views
is it possible for a client esp8266 to control the esp8266 that set as an access point?
Im creating a project where i need to set one of my esp as a hotspot or access point but i would like to put a function where i could control the connected esp8266 client using the esp8266 that set as ...
3
votes
0
answers
187
views
ESP8266 01 doesn't react after baud rate change
Hello guys I have my ESP8266 connected to my Arduino. Then I typed in AT in the serial monitor. It confirmed this command with OK. After that I typed in AT+UART=9600, 8, 1, 0, 0 which gave me the ...
3
votes
0
answers
1k
views
ESP8266 Webserver does not respond
I am trying to reach the webserver running in my Wemos D1 Mini compatible board.
I am trying one esp8266 example using Arduino examples "WifiManualServer" code below.
I have replaced the SSI ...
3
votes
0
answers
72
views
ESP8266 requires two resets to wake up from deep sleep [duplicate]
I'm working with the following circuit using a NodeMCU:
I have the solder jumper bridged between RST and BTN. In addition to what's in the schematic, pins 2, 3, and 4 of J1 are connected to the ...
3
votes
0
answers
2k
views
Using or creating Wi-Fi Direct (P2P) connection on ESP8266
I want to make a Wi-Fi Direct connection with an android device using my ESP8266. According to ESP8266WiFi Documentation and ESP8266 datasheet, the board has a SoftAP mode which is I think what is ...
3
votes
0
answers
2k
views
Getting a Wemos D1 Mini to work with a M1 Mac
The Wemos D1 mini won't show up on the new M1 Mac. I know it's related to the drivers but I just can't find a viable solution to the problem. Has anyone solved this?
3
votes
0
answers
8k
views
How do I interpret the esp8266 "boot mode" message?
Everytime the chips resets, we get the reason and the next boot mode.
ets Jan 8 2013,rst cause:XXX, boot mode:(YYY,ZZZ)
For XXX we can check the meaning here.
For YYY and ZZZ I am not sure but I ...
3
votes
0
answers
3k
views
Converting between NEC and HEX values from IR receiver
I jacked one of the IR receivers from my LED strip and hooked it up to my ESP8266 NodeMCU (running Arduino code). I found a great library called IRremoteESP8266. With this library, I can basically ...
3
votes
1
answer
2k
views
Using SCL and SDA of ESP8266-01 with GY-30 BH1750FVI for lux measurement
I followed this tutorial to get lux measurement from GY-30 BH1750 with Arduino.
It's working fine. But now I want to use it with ESP8266-01.
I read Pin 4 is SDA and 5 is SCL for it. But it's not ...
3
votes
1
answer
7k
views
WiFi repeater using ESP8266 [closed]
I have a ESP8266 and I wonder if it is possible to create a Wi-Fi signal repeater using this module.
I can create a network so that devices connect it.
I can connect to an existing network.
But I ...
3
votes
2
answers
3k
views
ESP8266 Returns 'invalid' - Cause 4
I have tried to get the Ai-Thinker ESP8266 working at all. If you hook it up to an Uno you have garbage returned no matter what the baud rate is. Tried softwareSerial on D3 and D4 (switching pins ...
3
votes
0
answers
634
views
ESP8266 and Arduino bidirectional streaming from and to a website
I was looking for some easy tutorial on bidirectional communication via ESP8266 connected to Arduino UNO. I want to send and receive strings from and to JQuery based website.
However, I couldn't find ...
2
votes
4
answers
19k
views
ESP8266 failure to connect to router
I'm trying to get a ESP8266 board with 2x4 pins to work. I'm connecting it to an Olimexino 32u4 (Leonardo-compatible), configured to use 3.3V. This simple snippet I use to transfer everything to the ...
2
votes
3
answers
8k
views
Critical sections in Arduino, interrupt consuming data
We all know the interrupts, but how do they really work?
The problem:
In my sketch an interrupt method (invoked when pin goes high) is consuming data from a buffer and the main loop() is filling the ...
2
votes
2
answers
9k
views
Peer to peer communication
Hello guys ,
I want to perform a mesh network between 3-4 modules using ESP8266 . Any one have idea how to do it?
2
votes
1
answer
8k
views
How to pass non-static class member to callback?
I am using the arduinoWebSockets library in my own Arduino library. I'm having trouble with trying to assign a class member as the websocket library onEvent callback function.
MyClass.cpp:
#include &...
2
votes
2
answers
24k
views
EEPROM put and get not working on ESP8266 (NodeMCU)
The Arduino documentation provides two examples to store data in the EEPROM.
https://www.arduino.cc/en/Reference/EEPROMPut stores data in the EEPROM and the EEPROMGet example reads the data back and ...
2
votes
1
answer
712
views
When it says the Uno has logic level at 5 V is that also true of a bareduino/breadboard Arduino?
I want to hook up ESP8266, which has a 3.3v logic level to my bare-bones Arduino (basically a minimal interface for the ATmega382P IC).
I can power my circuit at 3.3 V without a 5 V regulator so will ...
2
votes
1
answer
11k
views
esp32 Stack canary watchpoint triggered
I am writing a program for esp32 on Arduino IDE. On some point of execution of code for File reading I am facing this exception,
Guru Meditation Error: Core 1 panic'ed (Unhandled debug exception)
...
2
votes
5
answers
3k
views
ESP8266 not responding after random intervals of time
4th Update:
I bought an ESP32 (the successor to ESP8266) and am getting the same problem. I used the same code except used the Wifi.h library instead, also removed the ESP8266WiFiGratuitous.h code. I ...
2
votes
2
answers
6k
views
How much numerical precision can the ESP8266 achieve?
Background: I am trying to port this solar tracker code by Gabriel Miller to run on the ESP8266. Now I'm not a particularly great coder, but I'd like to give it an honest try.
As of recently, the ...
2
votes
1
answer
12k
views
Which board to select in PlatformIO for ESP Wroom 32?
I'm quite new in this microcontroller topic and my next step is to make use of a wlan module, which is a ESP WROOM 32.
As IDE I'm using Visual Studio + PlatformIO and I can't figure out how to access ...
2
votes
2
answers
11k
views
Constant ADC sampling rate on ESP8266 or ESP32
I want to sample Sound input with either an ESP8266 (preferred) or ESP32. As I'm using a low pass filter anyway, a sample rate of 1000-2000hz would be totally ok. What is more important, is that it is ...
2
votes
1
answer
4k
views
ESP8266 print DNS address (obtained via DHCP)
I've set up an ESP8266 (Wemos D1 Mini) to get IP-information via DHCP.
Everything works fine and I can print the information :
Serial.print(WiFi.macAddress());
Serial.print(WiFI.localIP());
Serial....
2
votes
2
answers
3k
views
Software serial conflict with WiFi on ESP8266
I'm trying to use an ESP8266 (Wemos D1 mini) to read from a 19.2K serial port and report the results over WiFi. Programming is via Arduino IDE. The code to read the port works just fine if WiFi is not ...
2
votes
1
answer
12k
views
ESP8266 - Sending a software Reset Command
I have an ESP8266 running an Arduino code to control a dual relay device ( Up, Down, Off ), both from a physical switch and MQTT commands. After mounting the device in place I have no access in case ...
2
votes
2
answers
3k
views
ESP8266 GET request code -1
I've read several other posts but I still couldn't solve the issue. I'm trying to connect to a website which is HTTP (not HTTPS) but I always get code -1 as response. If I open the link in the browser ...
2
votes
2
answers
11k
views
NodeMCU (Arduino IDE) 'DynamicJsonBuffer' was not declared in this scope
#include <Arduino.h>
#include <ESP8266WiFi.h>
#include <ESP8266WiFiMulti.h>
#include <ArduinoJson.h>
#include <ESP8266HTTPClient.h>
#define USE_SERIAL Serial
...
2
votes
2
answers
3k
views
DAC to play audio samples
I have a buffer which contains 16000 PCM samples of 8Khz 8-bit mono. I am trying to play it using 12 bit MCP4725 DAC. I have tried using micros() to control the write interval for the DAC. Here's my ...
2
votes
2
answers
15k
views
Getting error ets jan 8 2013,rst cause:4,boot mode(1,6) wdt reset
I'm working on a project to send ultrasonic sensor data to my webserver. For that I'm using ESP8266 WiFi module, 3.3V regulator IC by giving input volt of 5v from aduino uno.
I successfully uploaded ...
2
votes
3
answers
9k
views
ESP-01 adapter and logic level converter
I read that I'll need a logic level converter like this to run an ESP8266-01 from the Uno.
But I saw this ESP adapter:
http://www.ebay.com/itm/ESP-01-ESP8266-Serial-Wi-Fi-Wireless-Adapter-Module-3-...
2
votes
2
answers
13k
views
Problems with I2C connection on ESP8266 - 12F, which pins should I use?
Previously I had pined the temp/hum sensor HDC1080 with an Arduino using this sketch and everything worked fine. Now I want to run it over an ESP-12F, I uploaded it but it has issues at the time of ...
2
votes
2
answers
2k
views
Powering ESP8266 from Leonardo's 3.3v pin
I'm new to Arduino, and I'm trying to connect my Leonardo via WiFi using a ESP8266 module. What I want to know is if I can power it directly from the onboard 3.3V pin like in the image:
Or do I need ...
2
votes
3
answers
495
views
why is my char array empty
following sketch will run totally fine and as expected :
#include <Wire.h>
#include "SparkFun_External_EEPROM.h"
ExternalEEPROM ExtEEPROM;
char username[33] = "";
char ...
2
votes
3
answers
1k
views
Send values from Arduino Uno to Wemos D1 R1
I have a weather project in which I have to measure the temperature and humidity (DHT22 sensor), the pressure, and other things, and then show them on a local web page (using a Wemos D1 R1) in either ...
2
votes
1
answer
2k
views
Voltage, current measurement from solar panel using INA219 and ESP-12F
I recently started tinkering with ESP-12F thus I am a novice here. As a standard novice project, I am making a standalone weather station for my living room. I want to use solar panels to charge the ...
2
votes
1
answer
324
views
Missing ACKs on I²C
I am using a GY-521 accelerometer as well as BMP280 pressure sensors via I²C on an ESP8266.
When I analyze I²C data with the oscilloscope, I can see missing ACKs on both of them as shown in the ...
2
votes
1
answer
5k
views
What are the best GPIO pins to use for my project?
I'm working on a home automation project to control my Sommer Base+ garage door opener through Home Assistant.
The project consists of a WeMos D1 Mini with two reed switches (to detect door open/...
2
votes
2
answers
1k
views
Crash when serving static files width ESP8266WebServer
For the past two days, I've been trying to set up an ESP8266WebServer to serve my static web app files from SPIFFS. But as soon as I make a call to serveStatic, the ESP crashes. This is the exact code ...
2
votes
1
answer
3k
views
What kind of antenna should i use for my esp8266 module?
I have an esp8266 module and i want to increase its range by adding an antenna to it. What kind of antena should i use. Can i use an antenna from a RC car remote?
2
votes
1
answer
533
views
NTP rollover-safe design with ESP8266 (Curiosity)
The Arduino NTP implementation is rather naive in some respects. It basically just grabs the time in seconds from the raw packet, and then converts it to Unix time via subtraction. How would it be ...
2
votes
4
answers
5k
views
PIR motion sensor (HC-SR501) false results with NodeMCU
I have a PIR sensor which I use to detect the motion and turn ON and OFF the lights on the basis of it.
I have PIR connected with NodeMCU (ESP8266) based board. I find that sometimes it trigger ...
2
votes
3
answers
4k
views
Arduino-IDE "while (!Serial)"
I have a Question regarding Arduino IDE:
Many old Arduino setup examples states that the Serial.begin() function always should begin with :
Serial.begin(9600); // (or 115200)
while (!Serial)
{
...