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

WiFiESP constantly losing connection

I am working on a traffic light with a ESP8266-01 wifi module on an Arduino. The wifi card should act as a server and wait for a request to come in at /R (red), /Y (yellow), /G (green) or /O (off) and ...
-1
votes
1answer
1k views

Serial read in ESP8266-01 not working

I am new to programming. kindly bear with me. I am trying to use ESP8266-01 device for serial read and write application. Before writing the full program for my application, i wanted to test how it ...
0
votes
1answer
181 views

Using Youtube API with ESP8266 = redirection problems

I am using ESP8266 programmed from Arduino to get data from the Google Youtube API. API, of course, works great in a browser using URL: https://www.googleapis.com/youtube/v3/channels?part=statistics&...
1
vote
0answers
431 views

Can't Flash ESP8266 latest firmware, says “Fast Flashing error” and "Invalid head of packet(' ')

I can't figure out how to flash the firmware found on http://www.electrodragon.com/w/ESP8266_AT-Command_firmware. I am using ESP8266 Download tool v3.4.4. When I am adding a firmware in download path ...
0
votes
2answers
2k views

toInt error when converting character of string to interger

with the following code: int foo = bar[1].toInt; or int foo = bar[1].toInt(); I get this error request for member 'toInt' in '*(bar + 1u)', which is of non-class type 'uint8_t {aka unsigned char}'...
1
vote
2answers
1k views

Wakeup Pin ESP8266

Is there a way to put an ESP8266 into a sort of "sleep" mode where it draws less power than usual, and then wakes up on a pin going high? I've tried doing this with delay, which still draws 20 mA, and ...
3
votes
2answers
412 views

RTL8170 Web Server - client unable to connect

RTL8170 is a new module, which is in many ways better than the old ESP8266 module. We are able to flash this module with Arduino using an Ameba Writer, and it should be able to support any code that ...
0
votes
1answer
462 views

Slackbot integration using ESP8266 gets “ssl->need_bytes=16432 > 6859”

I'm trying to use Uri Shaked Slackbot code using an Adafruit Feather Huzzah ESP8266 WiFi. I have created the Slackbot integration and copied the API key. The code connects to the WiFi and does the ...
1
vote
2answers
4k views

Can I use NodeMCU with Arduino to connect to wifi or do I need a separate module?

I am just starting out with electronics. I got a Arduino Mega 2560 board and am able to do simple things like blink. Now I want to start a project on IoT and want to connect this board with internet. ...
0
votes
1answer
392 views

ESP01 unsuccessful code execution

I am trying to upload the Blink example from the Arduino IDE to a ESP8266-01 module using an Arduino Uno as serial programmer. Now, the upload is successful but, upon restart (and disconnecting GPIO0 ...
0
votes
3answers
26k views

fatal error ESP8266WiFi.h: No such file or directory

I want to turn my esp8266 into access point so that i would able to connect directly to it.i use the following sketch but when i select GENERIC module ESP8266 from menu the two libraries which is ...
1
vote
1answer
2k views

How to get response of issued AT command for ES266 on Arduino programatically?

I'm successfully running AT commands via the Serial Monitor. But now I'm issuing AT commands via Arduino code and facing problems getting the correct response. Goal: After issuing AT commands ...
0
votes
1answer
750 views

ESP8266 ASyncTCP class example

I am new to ESP programming on Arduino, as before I was developing on eLua. There were some memory problems in Lua, so I decided to move to Arduino. After looking at some examples, I found a library ...
0
votes
1answer
77 views

ESP8266 and Arduino integration

I am trying to upload a sketch and getting below error: error: failed reading byte warning: espcomm_send_command: cant receive slip payload data warning: espcomm_sync failed error: espcomm_open ...
1
vote
0answers
386 views

Connection between Arduino Mega 2560 , ESP8266-12F , PCF8574

Another start for achieving something new , I want to connect ESP8266-12F , Arduino Mega 2560 Board And the PCF8574 I/O Expander (I can use MCP23017 also) together , Where ESP8266-12F will take ...
0
votes
2answers
1k views

Arduino WiFi/ESP8266 WiFi Password Changed

I am working on a project for a friend who is not very tech savvy involving an ESP8266. It will need to be connected to his WiFi network. The issue is that he occasionally changed the password to ...
0
votes
1answer
3k views

ESP8266 Timing question / Do something in 2 seconds even

I am able to synch my ESP8266 running on Arduino core with the time.nist.gov-Server but how can I achieve to trigger i.e. a digital pin in 2 seconds even? What I mean is that following: The MC ...
1
vote
1answer
1k views

is it possible to power esp8266 with button cell

is it possible to power esp8266 wifi module with button cell for long period(1 year ) real time applications?? Needs only wifi features (no need of gpio) what will be voltage and current of the cell?...
3
votes
1answer
1k 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 ...
1
vote
0answers
380 views

Why does my ESP8266 making an HTTP request to an MDNS responder keep getting redirected to my ISP's search engine?

I have two ESP8266's trying to talk to each other, a 'host' and a 'client', if you will. I have the ESP8266mDNS.h responder running on the host at esp8266wifi.local. On sending an http GET request to ...
3
votes
2answers
11k views

Voltage changes but digitalRead always HIGH

I developed simple push button project I used wemos D1 mini I connected D3 pin to pull down 1K resistor. I used multimeter to measure D3 pin voltage. When i push the button, D3 pin voltage changes ...
0
votes
1answer
380 views

Powering ESP8266EX with batteries and a voltage divider

So I recently bought a ESP8266 chip, it requires 3V3 and a large current( around 210mA max which is more than that can be supplied by an arduino uno at least). I managed to connect it to my arduino ...
0
votes
1answer
902 views

NodeMCU Light Sensor

I'm using a -12E with three light sensors and a sketch I've successfully used with an Uno. I cannot get the -12E to print anything but 0 or 1023 for a light level (0 when I connect the grounds, 1023 ...
1
vote
1answer
397 views

esp8266-12e Nodemcu 1.0 board not starting uploaded data sketch from Arduino IDE

I've uploaded a sketch from the Arduino IDE to my (Amica) esp8266-12e board with the sketch data upload tool (ESP8266FS). This goes without any errors or problems. However, the code is never executed, ...
0
votes
2answers
2k views

Problem sending data from arduino with ESP8266 to a local mysql database

i'm currently trying to send a randomly generated number from Arduino via ESP8266 wifi module to a local mysql database estabilished with xampp, but having a problem with it. Here is my arduino and ...
0
votes
2answers
581 views

ESP01 flashing error

I am trying to program an ESP8266-01 WiFi module using an Arduino Uno as a USB to TTL programmer. I have removed the ATmega and grounded the RESET pin (quite useless without the uC though). Then, ...
0
votes
1answer
384 views

airduno mega 2560 and ESP8266-07 [closed]

As I am really newbie in the programming stuff I have maybe stupid question:( Is it possible to connect my airduno mega (collecting several data from sensors) via ESP8266-07 module to the internet to ...
-1
votes
1answer
4k views

Send commands to ESP8266 over WiFi [closed]

I want to send commands to ESP8266 over WiFi from my phone(I'm working on building an App using PhoneGap). I'm new to this module and WiFi. What I'm doing right now is that I communicate with the ...
0
votes
2answers
3k views

Is the DHT.h library compatible with ESP8266 Arduino IDE compiler?

I'm using the following 'compiler' to program my ESP8266-01 direct with Arduino IDE: https://github.com/esp8266/Arduino and I'm trying to read the temperature and humidity with the following library:...
2
votes
2answers
337 views

Aurduino Smart Wifi Wall Socket

i wanted to make a remote controlled wall socket over wifi (and maybe internet in the future) with an Arduino, i'm relatively new to Arduino, i know only the basics of programming. My idea was to use ...
-1
votes
2answers
2k views

I2C Arduino ESP8266 Bad Reading

I have a NodeMCU, which I program with the Arduino IDE. I have connected a VOC sensor to pins D1, D2, which are the SLC/SDA pins for NodeMCU. They have pull-up resistor at 4,3kohm to 3.3V. First I ...
-1
votes
2answers
2k views

ESP8266 doesn't respond to Serial.println(“AT”)

If I don't declare Serial.begin(115200), I can send AT commands over serial monitor and it replies me. But when I declare Serial.begin(115200) and send AT commands inside program or serial monitor ...
0
votes
1answer
150 views

ESP8266 & Initial State

Has anyone been successful in connecting an ESP8266 to the Initial State IoT platform? On the platform there is only one example with Cactus ESP. I tried it but it did not work because I have a ...
-1
votes
1answer
206 views

Implementing AT commands on ESP8266 [closed]

I am using ESP8266 node MCU board with arduino IDE. I want to use this module with an external micro-controller(STM32F/ATMEGA328) using AT commands. I am not using the AT firmware that comes with the ...
1
vote
0answers
663 views

Arduino Mega + ESP8266 - Post Data to website issue

I'm trying to post data to my SQL database and it seems that I'm not sending the data correctly. My PHP file is working since I have tried it and it writes to the database. I am getting an esp.find("...
0
votes
1answer
1k views

ESP8266-12E and MCP23017 , unable to identify the application

After googling much I have found that MCP23017 can be used with esp8266-12e for more number of output pins. I have tried all the programs from different tutorials on internet but could not make it ...
1
vote
0answers
2k views

How to define SoftwareSerial pins on ESP8266

I'am new to arduino yun and ESP. In fact, i have an arduino yun which has a sim808 dfrobot shield on it which uploads GPS data online at a regular time interval. I want to connect the dfrobot sim808 ...
2
votes
1answer
9k views

Can't get deep sleep to work on Wemos D1 ESP8266

I have a Wemos D1 (ver. 2015-08) and I am trying to get it to sleep. I've managed to get it generally up and running/got wifi to work etc, but the deep sleep function is beyond me. I tried connecting ...
0
votes
4answers
3k views

Wemos D1R2 - Onewire 2 DS18B20 passing to variable

I'm a beginer, did some tests with Uno and now have a Wemos D1R2 on my hands... I'm building a sort of weather station that will send data to thingspeak.com and log this data there. I managed to ...
8
votes
1answer
15k views

In ESP-12E NodeMCU, what's the pin number of A0?

In ESP-12E NodeMCU, all digital pins can be called with a number. Here is the list: static const uint8_t D0 = 16; static const uint8_t D1 = 5; static const uint8_t D2 = 4; static const uint8_t ...
1
vote
0answers
2k views

Load website from SD card

I combined two different codes together, a captive portal and a SD card web server. I encountered a problem which the website in the SD card doesn't load when I connect to the AP (captive portal page)....
0
votes
2answers
2k views

WiFi.status() hangs / resets board

Using one of the RobotDyn boards with onboard WiFi and a Generic ESP8266 module. I can load the sketch, but when WiFi.status() is called to see if WiFi enabled, the sketch hangs, rebooting the board ...
0
votes
1answer
491 views

Best way to send text to ESP8266 remote display

I need a remote display to show information sent via WiFi from another ESP8266. What needs to be sent is a string along with some variables, for example a string to be displayed along with two ...
1
vote
2answers
11k views

Comparing two char array

I modified a code which replies BAR when I send FOO. The problem is the if else statement always lands on else which prints Wrong command. I tried comparing it to string FOO(??) and also comparing it ...
0
votes
2answers
390 views

I can send AT Commands, but cannot upload sketch to ESP8266 via Generic ESP Module

I can send AT commands to the ESP8266 - 01 but I am not able to upload the sketch. I have connected TX-RX of module to TX-RX of Arduino, GND to GND, CH_PD, RST and VCC to 3.3V. Here is the code I'm ...
2
votes
2answers
9k views

'content' is not captured

I try to make a variable that can be modified from the server, using and ESP8266. #include <ESP8266WiFi.h> #include <WiFiClient.h> #include <ESP8266WebServer.h> #include <...
-1
votes
1answer
1k views

Flash Esp-01 and Esp-12 using NodeMCU module

I am building a test IOT architecture. At the moment I do have a NodeMCU "Amica" V1 module (more will come) and some ESP-01. I have not yet tried to flash the ESP-01 because the MCU is just so user ...
3
votes
2answers
216 views

What does an arduino sketch translate to before compilation?

I've been experimenting with Arduino on both esp8266 and AVR chips. The structure of the .ino file usually looks like this: #include "Arduino.h" #include "ESP8266WiFi.h" ##Some includes void setup() ...
2
votes
1answer
2k views

Convert LIRC config file to Arduino IR remote command

I have a LED 24 button remote with a few broken buttons and I want to simulate all the buttons with an esp8266 using an IR remote library. I would like to know if someone can help me translate the ...
-1
votes
1answer
1k views

Arduino to ESP8266 (SoftwareSerial) communication, does not receive full data

I have an Arduino Uno and an ESP8266, connected over serial through ESP8266 pin GPIO_2 (which is set as RX over espsoftwareserial) and 11 on Uno (which is set as TX over SoftwareSerial). I am trying ...

1
26 27
28
29 30
35