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
2
votes
0answers
3k views

ESP-01 not running custom firmware

I have two esp-01 micro controllers that I'm trying to flash using the Arduino IDE but found some problems in the process. I followed step 1 of this tutorial to install all the dependencies to the IDE....
0
votes
1answer
510 views

Adafruit Huzzah and SD card breakout

I have an Adafruit MicroSD card breakout board and an Adafruit Feather HUZZAH with ESP8266 WiFi I wired that up according to this link's last picture. The code I am using: #include <SPI.h> #...
-1
votes
1answer
1k views

WS2811 LEDs have the wrong color unless I touch the data wire

This is an electrical/hardware issue, but for background, here's my setup: I'm using a Wemos D1 mini in conjunction with Home Assistant running on a RPi3. The MQTT setup works fine and the commands ...
1
vote
2answers
572 views

Serial monitor in Arduino IDE for RobotDyn ESP8266-Pro via CP2102

I bought a couple of "ESP8266-Pro" micro-controllers from a Chinese company named RobotDyn. There's no real documentation with them, but I've bought a lot of other stuff from them in the past that ...
0
votes
3answers
120 views

Programmer only uploading with its own power source

Can anyone explain to me why the following occurs (See image below)? When I connect the pins according to situation 1, everything works fine and I am able to upload my project. However when I connect ...
0
votes
1answer
2k views

Why these specific voltage divider resisters needed for Arduino Uno RX TX pins?

I have an Arduino Uno attached to a Parallax Boe-Bot shield, and plugged into the shield breadboard, the Parallax WX ESP8266 Wi-Fi SIP. When I attach the DO/DI pins of the ESP8266 board to the RX/TX ...
1
vote
1answer
929 views

ESP8266 cannot connect to an existing network after using AT command

I followed this tutorial to connect the ESP8266 to a wifi network using AT commands. I used the below schematics (without the connection between ESP's CPIO 0 and Arduino's Ground): After that, I was ...
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 ...
1
vote
2answers
1k views

ESP01 + Arduino UNO

I spent on this question more than 2 weeks of googling with no success. I do not get a response from ESP8266 version 01 on AT commands. I need to access Wi-Fi from Arduino via ESP8266-01. I know that ...
0
votes
1answer
5k views

How to get ESP8266 firmware version?

I am going to update the firmware of an ESP8266 module, but first I would like to know the current version or name. How can I get it? Maybe with an AT command? This is my ESP8266 module:
1
vote
1answer
2k views

I change ESP8266 baudrate and now it doesn't work

I was trying some AT commands using the monitor of the Arduino Web Editor with an Arduino Uno and a ESP8266 module. It was working at 115200 bauds but then I changed it with AT+CIOBAUD=19200 and now ...
1
vote
2answers
9k views

Can I use a 3.3v GPIO to control an opto-isolated 5v relay board?

I am working on a DIY home automation project using a Wemos D1 Mini as the controller, and I ordered some 4-channel 5v-triggered relay boards. The ESP8266 that Wemos D1 Mini's are built on has GPIO ...
0
votes
1answer
158 views

ESP8266 only executes Sketch after switching on/off CH_PD pin

I started a new project with an ESP8266-01 module. I want to use it as stand-alone circuit to send an Email at the press of a button. The wiring is: VCC - 3.3v VCC CH_PD - 3.3v VCC GND - ...
0
votes
1answer
99 views

EEPROM and ESP8266 [closed]

I want to store sensor values on the arduino board. Can ESP8266 read the data from the board (Flash memory or the EEPROM)? How should I approach this?
-1
votes
1answer
2k views

Download and print data from Thingspeak

I opted to try doing this with Thingspeak Library instead, which @gre_gor suggested early on. Worked much easier! Here's working code for anyone else trying to do this. I used the MKR1000. #...
0
votes
0answers
306 views

ESP8266 vs. iPhone Hotspot

My Problem: ESP8266 wakes up --> takes measurement --> looks for known SSIDs --> uploads data --> goes back to deep sleep This whole process works with android hotspots and other "normal" wifi ...
1
vote
2answers
903 views

Communication with socketserver fails after specific number of packets

I'm trying to implement a full-duplex communication between my ESP8266 and a socketserver running on my laptop. In concrete I need each of the devices to initiate communication whenever it needs to. ...
1
vote
1answer
3k views

HTTPS with ESP8266WebServer?

I see many ESP8266HTTPClient examples, pasting in a fingerprint from an outside website, but I want to host an html page from the ESP8266 in AP mode using HTTPS. Judging by the lack of examples, and ...
1
vote
1answer
74 views

Not long tweets published using ESP8266-01 with Arduino UNO

I'm trying to create a setup with which an Arduino UNO sends out a tweet (one random quote) every time a button is pressed. I want to use it as a Mailbox Watcher. I'm not new to Arduino but ESP8266 ...
-1
votes
1answer
1k views

How to read data from client ESP8266-01?

I need help: my Arduino is not receiving or reading from an ESP8266-01 as a client. Actually, the ESP01-server and ESP01-client are successfully talking each other but if I attach the Arduino Uno to ...
0
votes
1answer
583 views

connecting 4 wire camera to esp8266 [closed]

I am looking for the arduino code to stream video to a webpage using the ESP8266. here is the 4 wire camera I have: https://www.ebay.com/itm/172272466793 The other tutorials I'm finding online are ...
1
vote
1answer
6k views

How to pass JsonObject from ArduinoJson to ESP8266WebServer object?

I am learning the ArduinoJson.h library and creating jsonOject: JsonObject& prepareResponse(JsonBuffer& jsonBuffer) { JsonObject& root = jsonBuffer.createObject(); JsonArray& ...
0
votes
0answers
51 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
2answers
141 views

I put some defines into a .h file, and get errors

I'll post the whole code if you really need to see it, but my question is pretty simple. In my sketch I define some parameters: #define SSID "Kaywinnet" #define PASSWORD "806194edb8" #define ...
2
votes
1answer
1k views

Control LED strip IR controller using Arduino

Is it possible to connect to one of these, which run at 12v, to turn on the LED strip using an ESP8266? It doesn't matter if it's an Arduino or the ESP8266, both should be able to do this. The board ...
1
vote
2answers
1k views

ESP8266 wifi mesh

I'm using 3 ESP8266 for my project: one ESP8266 is a server and controls any action. I want to be able to connect to any ESP8266 with a phone and if that ESP8266 is a client, send data to the server. ...
1
vote
2answers
193 views

Why do I have to open Serial Monitor to display what is in loop function?

Why do I have to open Serial Monitor to display non-NaN values retrieved from DHT22, what am I doing wrong in the code below? #include <DHT.h> #include <Wire.h> #include <...
0
votes
2answers
661 views

ESP8266-07 no work after reboot

I try move my projects from atmega to ESP8266-07 modules. I connect ESP8266-07 to FT232: (ESP) RX -------- TX (FT232) (ESP) TX -------- RX (FT232) (ESP) GND ------- GND (FT232) (ESP) VCC ------- VCC ...
-1
votes
1answer
5k views

'DynamicJsonBuffer' was not declared in this scope

I have this code: #include <ESP8266WiFi.h> #include <ESP8266HTTPClient.h> const char* ssid = "xxxx"; const char* password = "xxxx"; bool a = false; bool b = true; int heldVal = 0; ...
0
votes
2answers
5k views

Arduino Nano, ESP8266-01 communication

In my last question I got the suggestion to get a voltage regulator to power my ESP8266, so I went out to buy one and in the end my ESP8266 turned on. Then I started wiring the Tx/Rx pins through the ...
0
votes
0answers
525 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 ...
1
vote
2answers
655 views

Unstable ESP8266 - flickering lights

A while ago I have bought NodeMCU board along with few sensors to play with. I have coded everything, and, when powered via USB, works like a charm. Problem begins, when I try to use my contraption as ...
0
votes
1answer
240 views

MQTT (was WiFi) interference when using two nodeMCU devices

I have two nodeMCU boards, one from LoLin (192.168.1.52) and one from Amica (192.168.1.53). For each nodeMCU, I have mapped its MAC address to a fixed IP address using my Movistar WiFi router. I ...
-2
votes
1answer
219 views

esp8266 not defined in scope while using in class

Below code was working fine without using classes, after using class an error pops up: esp8266 is not defined in this scope #include<SoftwareSerial.h> #include<ArduinoJson.h> #include<...
2
votes
2answers
967 views

Arduino Nano problems with ESP8266

this is my first post here because I'm a bit lost at the moment. I currently have my ESP8266-01 hocked up to the Nano like this: The issue I'm having is that it won't even turn on, only when I'm ...
1
vote
1answer
906 views

How do I send tweets with flame sensor and ESP8266?

I want to send tweets with flame sensor and ESP8266. My flame sensor is digital. I think everything is good but it doesn't send. This is my code: #define ag_ismi "SSID" #define ag_sifresi "PASSWORD" ...
0
votes
1answer
736 views

SparkFun ESP8266 find out when on battery power and when charging

For one of my projects I use the SparkFun ESP8266 board with an additional LiPo battery in cases power supply goes down. Now I would like to communicate the power loss - or the fact that the board is ...
1
vote
0answers
678 views

Set EEPROM to initial values when flashing ESP8266

I have a variable uint8_t a_ram which needs to be initialized from the EEPROM variable a_eeprom when the ESP boots up. Whenever a_ram changes, the new value has to be stored to the EEPROM (a_eeprom), ...
-2
votes
1answer
2k views

unable to find string literal operator 'operator“” stylesheet' [duplicate]

I am new to programing in C and I get this error: unable to find string literal operator 'operator"" stylesheet'. I am making a website for NodeMCU 0.9. My code: String message2 = "<!DOCTYPE ...
-1
votes
1answer
597 views

NodeMCU and expected ';' before wrong ' " '

I am creating a home weather station but the Arduino IDE shows "expected ';' before 'viewport'". It detects wrong quotation marks. My code: String message2 = "<!DOCTYPE html>"; ...
0
votes
1answer
975 views

Send events to Azure IoT Hub combined with deep sleep mode

I use a Node MCU ESP8266. I have a working C app sending temperature and humidity sensor data to Azure IoT Hub continuously. I see events/messages coming in at Azure. Now I'd like the app to only ...
0
votes
1answer
549 views

Can't flash ESP8266-01 with Sparkfun FTDI basic - wrong direction/command

Connections: RX -> TX TX -> RX GND -> GND VCC -> 3.3v CH_PD -> 3.3v GPIO0 -> GND (flash mode) Click the picture to make it larger/more readable. I am trying to flash an ESP8266-01 ...
3
votes
1answer
7k views

How can configuration values be stored on an ESP8266?

I have a project that uses an MQTT service, and I'm wondering how to best store the configuration settings (server, user, password, port) for the service as right now they are just hard-coded into ...
0
votes
0answers
629 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
301 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
1answer
319 views

ESP8266 Websocket issue

I realize it might be dumb question, but I've been at it for a few hours and I'm going nowhere. I am trying to figure out the standard Websocket library, however I have an issue casting the uint8_t to ...
1
vote
3answers
4k views

ESP8266 and Python Communication

I'm new to networking and working with ESP8266. I have successfully setup my ESP8266 and can program it from Arduino IDE (tested a blinky code). I want to send some data from a Python script running ...
2
votes
1answer
867 views

Updating firmware on Adafruit Huzzah ESP8266

tldr: I'm trying to re-flash a previously working Adafruit Huzzah ESP8266 breakout module to use the latest AT firmware. The re-flash doesn't seem to be working and I'm getting rather confused. This ...
0
votes
1answer
1k views

How to keep a pin LOW for a small amount of time after pushing a button and while device is booting?

Context I keep the board in deepsleep mode and want to wake it with different buttons. I need to know which button has been pushed on boot. The board is immediately put back in deepsleep mode ...
1
vote
0answers
4k views

ESP8266 - AP+STA mode not working properly

I'm trying to have an ESP8266 ESP-12 to serve as Access Point and Station at the same time, delivering the same webpage in both cases. This is what I have: #include <ESP8266WiFi.h> #include <...

1
22 23
24
25 26
36