We’re rewarding the question askers & reputations are being recalculated! Read more.

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
20 views

Is there something I can add to my ESP8266 script to track how much data it uses on WiFi?

I want to set it up on a mobile hotspot but I'd like to get an idea of how much data my sketch uses first.
0
votes
0answers
60 views

HTTP and HTTPS server at the same time

I'm trying to set up a HTTP and HTTPS server at the same time on an ESP8266 NodeMCU V3. The compiler however doesn't accept any other name than client otherwise no new clients will be catched. But ...
0
votes
1answer
46 views

ESP8266 official library post request returns 400

Every time I try the post request I get a 400 error but the JSON and URL are identical to those that I used on an online API tester and it worked every time there. I am running this program in the ...
0
votes
0answers
62 views

ESP8266 reboots instead of completing HTTPUpdateServer update

I should first note that I have made some minor changes to the base code that is used by that library, instead using it as a reference. Basically, turning off unwanted actions during the update and ...
2
votes
1answer
245 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 ...
1
vote
1answer
64 views

Change data-type String

I'm currently working with an ESP8266 NodeMCU V3 and an IR transmitter breakout board. The module receives NEC IR commands trough a HTTP request and then sends them trough the IR transmitter. Getting ...
0
votes
0answers
38 views

More about Problems with using esp8266

I'm running a project under https://www.youtube.com/watch?v=2AL7HfiRlp4&t=23s I encounter a problem with "deadly error: ESP8266WiFi.h: No such file or directory", the code indicates '' #include ''...
0
votes
0answers
11 views

Problems with using esp8266 [duplicate]

I'm doing a project based on https://www.youtube.com/watch?v=2AL7HfiRlp4&t=23s I encounter a problem '' fatal error: ESP8266WiFi.h: No such file or directory '', code shows '' #include ''. I read ...
0
votes
2answers
93 views

Difference between these two relays (D1 Mini Relay Shield and Single 5V Relay)

I've setup my NodeMCU v3 with this relay and I got this: When using 3V to power the relay, I can hear coil when I turn on the board and I can only turn it on once. Then I can no longer hear the coil, ...
1
vote
0answers
48 views

My PIR sensor output changes but digitalread high all the time

This is my final project, I have to communicate with two wemos d1 mini by LAN. The problem is that when I read the state of the PIR sensor it is "HIGH" all the time, but when I connect the led light, ...
2
votes
1answer
45 views

esp8266 code not working anymore

hi i have developed year age an Adruino application that allows me send and receive data from a mobile application using esp8266 esp01 back then it worked really well but now i tried to rerun the same ...
0
votes
1answer
140 views

How to send data from firebase php to arduino?

In the project I am working on I want to send data to firebase going to arduino this specifically by sending an information to change the wifi SSID password materials I used: esp8266-01 ...
3
votes
1answer
161 views

Print unsigned long long in ESP8266

I need to print an unsigned long long variable: unsigned long long t = 1559072327000ULL; I have tried the following: Serial.println(t); // call of overloaded 'println(uint64_t&)' is ambiguous ...
0
votes
0answers
49 views

ESP8266 does not detect WiFi networks

I have an ESP8266-12E, I used it previously and it worked fine (approx 2 years ago) I can't seem to get it to detect WiFi networks or appear as an Access Point I can upload the blink sketch and the ...
0
votes
0answers
81 views

Can´t load a program into my ESP01 using an ArduinoUno

This is my problem, I´ve been trying to load a program(any program) into mi ESP01 and because I do not have the usb adapter, I decided to use my Arduino Uno to do the work. This is my first time ...
1
vote
1answer
91 views

Mega <> esp8266 comms sending baffling data

I have Wemos Mega-ESP8266 board. I have uploaded a simple WebSocket server on the ESP... #include <ESP8266WiFi.h> #include <WebSocketsServer.h> const char* ssid = "SKYNET"; const ...
1
vote
0answers
45 views

MKR1010 serial communication

Is communication using tx/rx from an arduino to mkr1010 the same as any other serial communication? I ask because I can't find any tutorials or info on connecting an arduino to mkr1010, but there are ...
7
votes
2answers
102 views

How to read high voltage (40-65v) from a Solar Battery bank

I would like to monitor the battery voltage of a 48v solar battery system. The expected voltage range is 40-65v. I have tried creating a voltage divider with 2 resistors but with all values I have ...
0
votes
2answers
88 views

Use Arduino to turn fan on / off

I have a simple fan. When I plug it to GND and Vin it spins. I'd like to have the ability to turn it on / off with code. Any example will do, as long as it gets it to spin. I have a NodeMCU board, if ...
2
votes
0answers
124 views

Cannot POST to server. HTTP code -1. NodeMCU

I am trying to make a POST request with NodeMCU, but I get a HTTP status code -1. Code: #include <ESP8266HTTPClient.h> #include <ESP8266WiFi.h> #ifndef STASSID #define STASSID "Wifi" #...
0
votes
0answers
64 views

Trouble uploading code to ESP12 with CH340g

I have a programming circuit for the esp12(see attached) enter image description here I have produced a pcb using this circuit. Upon plugging the pcb into my pc via the micro usb, the pc immediately ...
1
vote
1answer
157 views

driving an stepper motor using esp8266

I have an stepper motor, and a stepper driver Uln2003a which is connected to an esp8266. the esp8266 is powered via usb, and the stepper motor is powered via the driver, which is then powered by an ...
0
votes
0answers
76 views

Can't connect my ESP-12F to WiFi with my Arduino Uno

Recently I bought this wifi adapter for my IOT projects that I connected to my arduino uno that seems to not working. I have tried with the arduino ESP8266WiFi library with RX connected to pin 0 and ...
0
votes
2answers
119 views

esp8266 deep sleep timer slightly inaccurate?

I'm making a door open timer using a hall sensor and have a wemos d1 mini that uses a deep sleep to sleep for 1 minute after checking the hall sensor state and printing the value on the serial port. I'...
0
votes
0answers
47 views

ESP8266 remapping or UART boot

I am trying to make an DFRobot Wifi Bee sleep periodically. The first run executes fine, but after the wakeup a lot of gibberish is shown in the serial monitor. I changed to baud rate to 74880 to see ...
0
votes
1answer
68 views

How would you add Arduino WiFi Module using I2C or serial interface?

I am new to Arduino prototyping. I bought an Arduino Automatic Smart Plant Watering Kit 2.0 thinking it was a shield to use with my Arduino Uno WIFI Rev 2. However, it turns out to be a specially ...
0
votes
2answers
168 views

Speed Control of Brushless DC Motor

I cannot understand the code of controlling the speed of brushless dc motor using ESP8266 WiFi Module. I found it in- https://ubidots.com/blog/speed-control-for-brushless-motors-with-an-esp8266-2/ ...
0
votes
1answer
32 views

ESP8266 NODEMCU V3, HOW TO USE AND CONTROL V3 OUTPUT POWER [closed]

this is my very first post in here so I apologise if I am not giving you all the information that I should. I am creating this topic to ask you help regarding how to control and use the v3 output of ...
-1
votes
1answer
31 views

Serial monitor shows repeated CIPSEND and CIPCLOSE

I'm trying to build a heart rate monitor using ESP-01. The code compiles and uploads well but once uploaded, in the serial monitor it shows the following. It keeps repeat CIPSEND and CIPCLOSE over and ...
0
votes
0answers
30 views

ESP8266 accepts commands but returns nothing

I've been struggling for a couple of days now with the module ESP8266. I have tested it already with another Arduino (RX-RX / Tx-TX) and I could send some test commands and receive the corresponding ...
0
votes
1answer
519 views

How to compose an HTTP GET request URL with key/value parameters

I am experimenting with some code running on an ESP8266 board to retrieve data using a web API. I would like to store the host address and key/value parameters (API key etc.) of the GET request as ...
1
vote
0answers
662 views

Send file from ESP to server via FTP

I've a code which records sound to SD, then starts an FTP connection for a limited time. I want to make an automatic system which records then sends the sound file continuously. Now I'm recording ...
0
votes
0answers
76 views

ESP8266 http.get() issue due to wifi authentication failure

Facing a weird issue while reading data from esp8266. I am trying to read dynamic data from a demo text file on test server on same network in deep sleep mode. Case1: Joining new network I am using ...
0
votes
0answers
35 views

Using Arduino Motor Shield

I'm looking to create a blind controller and have set up the hardware and software as I think it should be. I had the software working fine using an IC motor driver, but as I am no great at soldering,...
0
votes
0answers
171 views

MQTT subscribe callback fails to be called in ESP8266 deepsleep mode

Refer to ESP8266 deep sleep and MQTT I executed the code in the given link. However i am not able to receive the subscribe message that are send from MQTT test broker(MQTT Lens) on the serial ...
0
votes
1answer
41 views

why sound appears between VCC and GND pins in esp8266 module?

When I use esp8266 as STATION mode and connect a speaker between VCC(3.3v) and GND pin a sound appears like "doop doop". what is this sound? I test this in version 01 and 12 of esp8266 module and this ...
0
votes
0answers
39 views

What firmware on ESP-WROOM 02 and how to change to AT firmware?

I just received a Wemos board with an ESP-WROOM 02 on it. I connected it via USB to my Windows PC and launched PuTTY. I set the baud rate to 74880 and the correct COM port. I pressed on the reset ...
0
votes
1answer
59 views

Nodemcu ESP12-E (ESP8266), Can I reprogramming when the UART pins are defined as GPIO?

I wonder if there may be any problems using the pins that the UART are using as GPIOs, if now I want to be able to reprogram the circuit? (Of course I will detach the ESP12-E from the mainboard before ...
1
vote
1answer
128 views

ESP8266 I2C datasheet pins not the same as several examples

According to espressif datasheet of the ESP8266 it uses MTMS (I2C_SCL) and GPIO2(I2C_SDA) for I2C. However in several examples I've seen the typically use is GPIO(4&5) or GPIO(0&4) to ...
0
votes
0answers
54 views

Serial monitor error message

I connected my ArduCam mini to es8266 board and opened serial monitor. Then this message appeared. It started to appear continuously. I used the code in examples "functions of ov2640". What does it ...
0
votes
1answer
74 views

Motor isnt spinning when using L298N motor controller

I have a L298 motor controller connected to a motor with a 6 volt power sources. the motor however isn't spinning any ideas I'm using a esp 8266 node mcu board. I would like to use pwm but for right ...
0
votes
1answer
222 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 ...
0
votes
2answers
98 views

How to get a list of IPs in a LAN using NodeMcu?

I'm going to create an IoT system. I use a Raspberry Pi as a MQTT broker and as a webserver. Every day, the Pi gets a new IP address, so I need to find its new IP address via ESP8266 to use this ...
0
votes
1answer
165 views

ESP8266 Bootloader Firmware (on the ESP8266)

It appears to me that there must be some sort of prepackaged firmware on ESP8266 modules that allows user firmware to be loaded via the Rx/Tx pins on the ESP8266. If that firmware is corrupted, the ...
0
votes
1answer
51 views

HUZZAH ESP-8266 (by ADAFRUIT): How to use with the ARDUINO R3

I have recently purchased a ESP-8266 HUZZAH by adafruit. I'm kind of new to the whole arduino concept. I would like to know how I would be able to utilise this breakout board with my Arduino to do ...
0
votes
1answer
41 views

Esp8266 Web based code and real button

0 I wrote a code in the Arduino IDE. With this code, i can control 4 leds on and off from the web page. In the web page 9 buttons. 2 buttons for led-1 on and off. 2 buttons for led-2 on and off. 2 ...
0
votes
0answers
77 views

Send data to API from Arduino with ESP8285 Strange Error

I have an Arduino with few sensors, and I want to send all of data to my API over ESP8285 what is connected to the wifi. Its almost working fine, except one thing. I have these AT commands: String ...
2
votes
3answers
326 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) { ...
1
vote
3answers
483 views

Convert byte* to int in Arduino

I am trying to convert byte* value to int here is how I have it. void mqttCallback(char* topic, byte* payload, unsigned int length) { String topicStr = topic; int* payload_value; int ...
0
votes
1answer
187 views

ESP8266 print DNS address (obtained via DHCP)

I've set up an Arduino Clone (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()); ...