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
1
vote
1answer
812 views

ESP8266 (D1 mini) fails to upload sketches

My Setup: 3.3v LiFePo battery attached to G and 3.3 pins. Serial-USB connected. Result: During the following code the blue on-board LED blinked rapidly for a few seconds then went off. I unplugged it ...
0
votes
2answers
1k views

Sensors go crazy on external power

For few days, I am trying to figure out, why my sensors do not work on external power. I bought NodeMCU along with couple different sensors etc. I was happily working with them, connecting them one by ...
1
vote
0answers
1k views

Problem in Serial Communication between nodeMCU and arduino

I am trying to send some messages from nodeMCU to Arduino using Serial communication (aka UART). Following is the code on nodeMCU side: #include <ESP8266WiFi.h> const char* ssid = "my-ssid"; //...
1
vote
0answers
937 views

Arduino Uno, ESP8266 HTTP request have no response

Firmware version AT+GMR AT version:0.21.0.0 SDK version:0.9.5 OK Connection ESP8266(ESP-01) <> Arduino Uno GND <> GND 3V3 <> 3.3V EN(CH_PD) <> 3.3V TX <> ...
0
votes
2answers
4k views

Arduino/ESP8266 to put PC to sleep and wake it up

I have a Wemos D1 mini that's connected to a pc with usb, I want to be able to sleep the pc and wake it up programmatically. Is there a way to do this? Like sending a simulated sleep keyboard button ...
1
vote
1answer
2k views

HTTP PUT method on NodeMCU

I am trying to update values to Firebase. According to Firebase: curl -X PUT -d '{ "first": "Jack", "last": "Sparrow" }' \ 'https://[PROJECT_ID].firebaseio.com/users/jack/name.json' We can update ...
-4
votes
1answer
7k views

Wiring when burning the bootloader of esp8266 [closed]

I want to burn the bootloader of esp8266. Assume I have esp8266 on esp12 in hand and an USB ISP programmer (or any other programmer like USBTinyISP). I (think I) know how to use the Arduino IDE to ...
5
votes
2answers
17k views

Simple GET request with ESP8266HTTPClient

I am trying to do a simple GET request. But I always get status code -1. Here is my complete code. #include <Arduino.h> #include <ESP8266WiFi.h> #include <ESP8266HTTPClient.h> ...
1
vote
2answers
1k views

does EEPROM.write() only writes changed data?

Do I understand the code in EEPROM.cpp / write() correctly, that val is only written to the EEPROM, if val differs from the current EEPROM contents at the given address? And if the answer is yes, ...
1
vote
0answers
3k views

WifiEsp client TIMEOUT when put on a loop

Hello I have been using the WifiEsp to send and receive data from Thingspeak. All is well until I put my http request on the Void Loop() section. My Goal: I want to receive data every loop not on ...
0
votes
1answer
435 views

Thingspeak Library returns 0 using ESP8266 on Arduino

I have tried using the thingspeak-arduino library and tested some of the examples: #include <WiFi.h> #include <WiFiClient.h> #include <SPI.h> #include <ThingSpeak.h> char ...
1
vote
1answer
2k views

How to connect Arduino with ESP8266-11 WiFi module to 000webhost (free webhosting)

I want to know how to connect my Arduino to my website on 000webhost.com (free webhosting account). I'm using ESP-11 WiFi module and it is connected to the internet. This is my Arduino code: #...
0
votes
1answer
4k views

Need help with sending Arduino data to web page with ESP8266

I am developing a system that reads data from an LM35 temperature sensor and forwards it to a web page using an Arduino Uno and a ESP8266 WiFi Module. The data flow is as follows: LM35 --> Arduino ...
2
votes
2answers
1k views

ESP8266 Soft Access Point: Timeout of request of resource when not responded to in set undocumented time

I'm experimenting with the ESP8266 chip on a Wemos D1 R2 board. I'm trying to write some code which will allow the user to input a username and password in an HTML form then get a response as to what ...
5
votes
1answer
7k views

How to optimise TX power for ESP8266?

I have multiple ESP8266 units programmed using Arduino SDK and I would like each one of them to adjust the transmission power to lower the power requirements. Arduino allows setting the TX power of ...
-1
votes
2answers
1k views

ESP8266WiFi library severely slowed down my embedded system project

I am trying to incorporate IoT to my embedded system project. I would call it soft real-time embedded system project. But because of these 'LAZY' lines, while (WiFi.status() != WL_CONNECTED) { ...
0
votes
2answers
623 views

How to connect Arduino Nano with ESP8266 and BMP180?

I have an issue with my application. Hardware used: ESP8266 Serial Wi-Fi Wireless Transceiver Module for IOT Robodyn Micro USB Compatible for Arduino Nano V3.0 ATmega168 CH340G SENSOR: BMP180 ...
0
votes
1answer
113 views

Code runs, then doesn't run after I add some routine code

I am programming an ESP8266-01. I have this code which I am using to operate an on-off switch, which is being used as an override switch for when the relay is turned on and off over the internet: ...
0
votes
1answer
3k views

digitalRead not reading input pin of ESP8266-01

I am trying to use a on-off switch with the ESP8266 to change whether GPI02 is HIGH or LOW. I am using GPIO3 as input. My circuit looks like this: The red area to the right is a relay, I wasn't sure ...
3
votes
2answers
177 views

Why is there a limitation in using Serial.println on ESP8266?

I'm trying to upload this code on ESP8266, and when I do, it just resets continuously. This also happens when you have memory bugs, but obviously, this code has no memory bugs! Here is the code: #...
0
votes
1answer
316 views

How to send HTTP requests using wifi of Arduino Primo board?

I have bought an Arduino Primo board. I have configured it to connect to my wifi router and changed it to STA mode. Now, how do I program it to send HTTP requests to a server? Which library file I ...
0
votes
2answers
1k views

ESP8266-01 wrong flow control settings

Changed ESP8266-01 to wrong settings by mistake. It was working ok at 115200 (its default settings). It was connected like this: PC->(USB)->Arduino->ESP8266. Using Arduino as bridge Pins 0 and 1 (...
-1
votes
1answer
1k views

How To Communicate Three NodeMcu In Access Point Mode

I'm working on project which for example 3 nodemcu connected with eachother in a line(1 connected to 2 and 2 connected to 3) and they are all in access-point mode (they are all server) and now my ...
0
votes
1answer
256 views

Will I be able send a HTTP request using the Arduino Yún?

After spending countless hours trying to get my wifi module to work only to fail, I've decided I might as well get an Arduino with built-in wifi. Would I be able to send HTTP requests (GET, POST etc) ...
2
votes
5answers
34k views

error: espcomm_upload_mem failed when uploading a sketch

I am new to the whole arduino scene. I have connected my wifi module (esp8266 v01) to my arduino Uno like this: http://www.teomaragakis.com/hardware/electronics/how-to-connect-an-esp8266-to-an-...
2
votes
2answers
13k views

How do you post json data to HTTPS endpoint from ESP8266MOD?

Board: ESP8266MOD module from AI Thinker. Using ArduinoHttpClient I am unable to send a post message to an Azure IOT Hub endpoint. The endpoint is listening on 443 and expects a shared key passed ...
1
vote
0answers
1k views

Why isn't ESP8266 connecting to wifi when calling yield()?

I'm experimenting with ESP8266 and I want it to cycle through various states: LED on/off, WiFi on/off and measure the connection time, deep sleep. I wrote the following script, using millis() to ...
1
vote
0answers
247 views

ESP8266-01 system param error

I'm using esp8266-01 connected to arduino nano. Every time I tried to upload code to the esp8266 chip I get this error in the serial monitor: system param error 56 45 52 31 00 00 00 00 ff ff ff ...
0
votes
1answer
708 views

mcufriend SPI connection

Bought a cheap LCD form china (mcufriend, pictured below) and I cant understand which pin is which to use it with the SPI interface (starting to get worried that I can't use it), I've figured out this ...
0
votes
1answer
317 views

ESP8266 sketch worked a few times but now doesn't seem to run

When I flash my code: /* Create a WiFi access point and provide a web server on it. Author: Lucio A. Rocha Last Update: 21 Aug 2016 */ #include <ESP8266WiFi.h> #include <WiFiClient.h&...
1
vote
3answers
2k views

ESP8266 blink sketch not blinking LED

After flashing the blink sketch to the ESP8266, I removed all the unnecessary wires from flashing - and my setup to try and run the sketch looks like this: Something to note about flashing - it would ...
0
votes
2answers
805 views

ESP8266 Blink sketch - does not blink / or stays constant

I uploaded the Blink sketch (from the ESP8266 examples, in the Arduino IDE) successfully. Depending on which wire configuration I am using two different things happen: wiring 1: CH_PD -> 3.3V ...
0
votes
2answers
441 views

Using an ESP8266 with an Arduino Uno - can't get AT command to work

I am trying to connect an ESP8266 to my Arduino Uno. Connections: RX -> RX TX -> TX CH_PD -> 3.3v (Arduino 5v using voltage regulator) VCC -> 3.3v GND -> GND I am running the RX and ...
3
votes
2answers
6k views

Use ESP-01 with Arduino Uno/Nano, with the ESP8266WiFi library

There is this library - https://github.com/esp8266/Arduino That provides a more user-friendly API for WiFi capabilities with the ESP8266. However, all tutorials that I found so far for this library ...
0
votes
1answer
1k views

DS18B20 setting resolution without addressing

As i understand the dallas library, there are two ways of referencing the sensor, one is to refer to the address, and the other is just to grab it as it is indexed.(gettempbyindex) I want to know ...
2
votes
2answers
986 views

Esp32 Https Problem

I am working on a project in which i have to send GET request to my Company's Https server. I have successfully sent the GET request using NodeMCU v 1.0 (ESP 12E). The NodeMCU 1.0 (ESP 12E) Arduino ...
1
vote
2answers
2k views

ESP8266: Client Server Based Home Automation System

I am working on a home automation project in which I am trying to use Star Topology, where one esp8266 acts as a server and can be accessed from web browser to receive commands from the user, while ...
1
vote
1answer
5k views

Unable to connect ESP8266 to WPA2+Enterprise network

I am trying to connect ESP8266 module to WPA2+Enterprise network with my ssid, username and password and the latest version supports such connection. I followed this link, and the code: #include "...
0
votes
1answer
6k views

ESP8266 as ISP program for ATMega16

I have used below program for ESP8266 as ISP to upload a program to an ATmega16. ISP program uploaded in ESP8266 #include <SPI.h> #include <ESP8266WiFi.h> #include <ESP8266mDNS.h> #...
0
votes
3answers
820 views

Use Arduino Uno digital pins instead of ESP8266

I would like to know if this is possible. I am using an ESP8266-ESP01, which only has 2 digital pins. I have a project that needs 3 digital pins so I have planned to use my Arduino, so I can use more ...
4
votes
2answers
1k views

ESP8266 not working properly

It's the first time I use an ESP8266 and I didn't manage to get a proper response in the Arduino serial monitor. I only see weird characters, when I move the 3.3V wire. You can see the connections in ...
0
votes
1answer
724 views

ESP8266 Wemos D1 Retrieving Wrong AP Mac Address

Using WiFi.BSSID and WiFi.BSSIDstr gives me some weird mac address. the code is: #include "ESP8266WiFi.h" #include "ESP8266WiFiScan.h" void setup() { Serial.begin(115200); //WiFi.mode(WIFI_STA); ...
1
vote
1answer
896 views

Error while uploading code to ESP8266 through Arduino Mega 2560

I am sorry for posting this question for the nth time but I am still not able to find a solution for this error. I am trying to upload the WiFiScan(Arduino IDE example program)program code to ESP8266 ...
-1
votes
1answer
185 views

Can I use ESP8266 WiFi features with Arduino Uno? [closed]

I want to have WiFi capabilities for my Arduino Uno. All the tutorials that I see online show how to program the ESP8266 directly. While that is fine, I still want to use my Arduino Uno. How can I "...
0
votes
1answer
2k views

How to use and retrieve data file from AT command in Arduino D1 Mini Wemos (With esp8266)

I stumbled upon an AT command for the ESP8266 that I really need. The following command is "AT+CWLAP", but I have no idea how to use it. I can't seem to find any resource on how to implement it. I ...
1
vote
0answers
2k views

Digital Vibration sensor on NodeMCU ESP8266

First Post. I'm using a NodeMCU esp8266 connected to a digital vibration sensor. My project is to detect when a pager vibrates to then trigger through the maker channel of ifttt an outcome. I'm ...
1
vote
1answer
9k views

DHT11 data in Arduino UNO to Firebase through ESP8266

Hello Good Day to Everyone. I have a project where I need to send DHT11 sensor data to a Firebase database using both Arduino UNO and Esp8266 esp-01 wifi module. Both of them must work together to ...
2
votes
3answers
4k views

Trying to flash ESP8266 with Arduino UNO

This is my first project other than some of the starter projects. I am trying to flash the firmware onto an ESP8266 wifi module using and arduino uno. It would be nice to know if anything is wrong/...
2
votes
4answers
7k views

Arduino ESP8266 direct/fast control of the digital pins

How does one control a digital pin directly avoiding the slow digitalWrite or digitalRead?
0
votes
1answer
2k views

Data from RC522 to firebase real time database

#include<ESP8266WiFi.h> #include<SPI.h> #include "MFRC522.h" #define RST_PIN D3 #define SS_PIN D4 MFRC522 mfrc522(SS_PIN, RST_PIN); void setup() { Serial.begin(9600); SPI.begin(); ...

1
23 24
25
26 27
36