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.
1,998
questions
0
votes
1
answer
215
views
Using ESP8266 to program Arduino by serial comm
Since ESP8266 can self program on wifi, can we use it to program arduino too with the binary sent via wifi? my arduino is connected with reset+RX+TX pins and shared power.
Has this been already done?
1
vote
0
answers
279
views
ESP8266: ESPASyncserver + client
I have project with an ESPAsyncWebServer with websockets working already. What I need to add is Client functionality to poll a site for a response. I looked at the ASyncTCP library and it has two ...
2
votes
0
answers
293
views
Uploading image to Google Drive with Arduino/ESP8266
I have a toucscreen tft connected to an ESP8266 the aim for which is to take a screeenshot (.bmp format) and upload to Google Drive. I have been following this tutorial.
Where I am stuck in how to ...
3
votes
1
answer
23k
views
Drivers for CH9102X serial port chip
Some ESP-family cheap boards manufacturers had recently moved to CH9102X serial port chip (from CP2102), and it seems the drivers for CH9102X are hard to find.
Where can I download them?
0
votes
1
answer
556
views
using RTC for storage
I keep seeing stuff about this: https://www.arduino.cc/reference/en/libraries/rtcvars/ when looking for storage for a few variables that survive turning off and on, but then it is only on ESP8266.
The ...
-1
votes
1
answer
4k
views
'D1' was not declared in this scope; did you mean 'y1'?
Even though i am mentioning everything in the beginning then too m getting out of scope error. Code Reference :- https://noisycarlos.com/project/how-to-turn-your-computer-on-and-off-remotely/
I dont ...
-1
votes
2
answers
4k
views
how to change a const char*
At the top of my arduino sketch, I have the following :
// softAp
const char *softApSsid = "abcdefg";
const char *softApPassword = "123456";
Those are the DEFAULT ssid and ...
1
vote
0
answers
315
views
Arduino websockets send id in connection
I am creating home automation using esp's and little home server. Idea is to connect arduinos to server, add each of them id and let them talk via websockets with server and server will forward (by ...
1
vote
1
answer
54
views
Selenoid motor not responding to NodeMCU instructions
I just start a project migrating from Arduino Uno to NodeMCU, basically this projects control some selenoid motors triggered by a website instructions. For example: if website returns 2, the motor #2 ...
4
votes
1
answer
787
views
Arduino ESP8266WebServer hangs after a while but responds pings
I have an ESP8266 module that I use to be able to power on three computers if they are off. The ESP8266WebServer has what I needed to have a POST method rather than a simpler GET one since I am ...
-1
votes
1
answer
2k
views
How to use ESP-01 GPIOs for input?
I'm trying to use one of ESP-01 GPIOs as an input, however, I'm always reading 1 and nothing attached to these pins.
Basically, I'm trying to detect high voltage from another sensor like a touch ...
1
vote
0
answers
187
views
Exception 29 when trying to display NTP time on an LED
I'm currently working with a "WEMOS D1 R2 & mini" and am trying to call the time from an NTP server and display it onto an OLED display. I've been stuck on an error code that I can't ...
2
votes
0
answers
377
views
How to fix this problem of invalid conversion from 'const char*' to 'char' [-fpermissive] [closed]
Im working with node mcu ESP 8266 and trying to make it a webserver but keep encountering this problem.
#include<ESP8266WiFi.h>
WiFiClient client;
WiFiServer server(80);
void ...
-1
votes
1
answer
919
views
ESP8266 module ESP-12F does not connect to esptool.py
I have bought some blank ESP-12F modules like this: https://www.aliexpress.com/item/1005001520382593.html
For these modules I have made my own adapter PCB to connect them, but now I don't get any ...
1
vote
0
answers
47
views
ESP8266 ESP-12E: SD2 (GPIO 9) causing reboot when pulled low [duplicate]
I'm working on a project with reed switches, which are connected between a GPIO pin (in pullup mode) and ground. With some of my NodeMCU ESP-12E boards (HiLetGo brand) that I ordered, whenever the ...
1
vote
0
answers
196
views
Fatal exception preventing flashing ESP8266 ESP-01
My issue arose when attempting to flash several of my ESP8266 ESP-01 module (https://www.aliexpress.com/item/33010444450.html?spm=a2g0s.9042311.0.0.27424c4dNkKYQZ). In the past and with the first chip ...
1
vote
0
answers
217
views
Can the Arduino-HomeKit-ESP8266 library be used with the WiFi101 library?
I am currently trying to create a project to setup a HomeKit remote control to control my smart home devices with the Arduino-HomeKit-ESP8266 library.
I am currently using a Arduino-based TinyCircuit ...
1
vote
0
answers
36
views
Robotdyn esp8266 interrupt from arduino timing
I use a Robotdyn, uno+wifi r3 atmega328p+esp8266. I need to control motor speed and operate few servos. Since the uno has a single timer, I use the esp8266 pin 2 to control motor speed, while the ...
1
vote
0
answers
733
views
Nodemcu Lolin v3 Timeout error
I am getting the Arduino console error "the selected serial port serial.serialutil.SerialTimeoutException: Write timeout
does not exist or your board is not connected". I recently upgraded ...
1
vote
0
answers
383
views
ESP8266 NodeMCU Lolin V3 and using Firebase to update its software OTA
I want to update software OTA on multiple of my nodemcu devices that are currently sending data to my firebase database. I found this tutorial (https://medium.com/firebase-developers/over-the-air-...
2
votes
0
answers
2k
views
MAX30102 not working?
I have a project to find the pulse oximetry rate. I used MAX30102 and ESP8266 as shown in the first picture.
Wiring
GND ------> GND
VIN ------> 3.3V
SDA ------> D2
SCL ------> D1
Code
I ...
1
vote
0
answers
479
views
ESP8266 How to run MQTT Client and Http Client in one loop
Scenario: Existing project: read soft serial then do http post
New project: MQTT player from other (MrDIY / MrDIY Audio Notifier · GitLab)
Objective: Combine together (Result: successful )
Issue: When ...
1
vote
1
answer
164
views
ESP8266 with HC05 : expecting to receive more bytes then the 63 received
I'm trying to read a Ant BMS 32H with a ESP8266 and a HC05 module.
BMS is sending 146 bytes when asking for these by sending DB DB 0 0 0 0 (HEX)
I did test with my android phone and the app 'Serial ...
1
vote
1
answer
171
views
Why does the send pin influence the receive pin with Arduino Capacitive Sensing Library
I'm trying to figure out how the Arduino Capacitive Sensing Library https://playground.arduino.cc/Main/CapacitiveSensor/ works. It says:
When the send pin changes state, it will eventually change the ...
1
vote
0
answers
316
views
RTC DS3231 always remember the old time
I try to change time on windows to test my programing condition but RTC usually keep old time when i change time on windows and re-upload the code . I'm also removing the battery and cut the power it ...
-1
votes
1
answer
303
views
How to save sensor value in EEPROM? (ESP8266)?
I would like to save the height of a tank in case of power outage with EEPROM and every time I reboot the board. However, I could not do so after using EEPROM.commit() , EEPROM.get and EEPROM.put as ...
0
votes
2
answers
4k
views
How do I find out the maximum current through VIN on a NodeMCU board?
I read this answer https://arduino.stackexchange.com/a/51878 to a different, but related question. It seems like VIN on the NodeMCU is directly or via diode connected to the USB connector.
Image ...
1
vote
0
answers
308
views
Connect ESP8266 with Android Studio App
Hey guys I have ESP8266 and want to remote control a sailboat with it. Till now it works fine but how is it possible to send continuous data between the Arduino/ESP8266 and my smartphone? If you need ...
2
votes
0
answers
487
views
esp8266 wifi/ read serial data with python
I'm trying to read some serial (ADC) data from my esp8266 nodeMCU v3 over wifi using python.
I connected the esp on my local wifi and set it with fixed local IP using arduino IDE, but I couldn't find ...
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 ...
1
vote
1
answer
5k
views
ESP8266: error: 'getLocalTime' was not declared in this scope
I am getting
error: 'getLocalTime' was not declared in this scope
when I am compiling this code for ESP8266, however works for ESP32:
#include "time.h"
void gettime()
{
static int16_t ...
2
votes
0
answers
55
views
Arduino compatible ESP32 and ESP8266 board power consumption at sleep state
I have data on smaller modules with ESP32 and ESP8266, but can't find anything reliable pertaining to the whole board power consumption (current) with 12V input and microcontroller at low power or ...
1
vote
2
answers
161
views
How Much mA dropped in ESP8266-01 Work in LiPo Battery if the WIFI function is continuously on
I working on the system where ESP8266-01 should continuously on because I want to get the Wi-Fi function on. In that case ,I can't use the Sleep mode which is given in the Esp8266-01 . So, My Question ...
0
votes
0
answers
53
views
I'm looking for the StreamSend.h library for use in Arduino/ESP8266 serial communications using struct [duplicate]
I've come across an interesting yet old article within StackExchange which has great examples of sending structured variables over serial communications. The library StreamSend.h and it's source code ...
1
vote
0
answers
155
views
ESP8266 MCU not clearing memory?
I am still new at this.
Using Arduino IDE
My MCU was working as a web server with HTML code on SD card using the Webserver sketch. After trying to include other inputs it stopped working with "...
2
votes
1
answer
608
views
Swap Serial pins of ESP8266?
I have designed and manufactured a PCB which contains an ESP8266 (ESP-WROOM-02D) chip with the serial uart pins connected to a 30pin connector. I made a mistake on the layout (first time designing a ...
2
votes
1
answer
3k
views
OTA over MQTT for ESP32
Before starting working, I am just researching around how can I achieve OTA over MQTT in ESP32 in using Arduino IDE.
The process I understand the esp listen to MQTT messages and then received that ...
0
votes
1
answer
195
views
Error saving SPIFFS on ESP8266 - only after 3rd entry
EDIT1 - This phenomena occurs only after reboot using button or ESP.reboot()
I'll try to make my question more focused:
I have library that saved log events to SPIFFS.
From 3rd entry (in the ...
3
votes
2
answers
505
views
How can I check if my thermostat is on?
I'm working on a project to better understand how my home cooling system behaves. I'd like to produce graphs of temperature in various areas, overlaid with when my existing thermostat turns the A/C ...
2
votes
2
answers
242
views
Update the ESP to espduino via NodeMCU Flasher
I am using Cactus Micro Rev2 and I'm trying to communicate with ESP via Mega32U4. I guess I have to update to espduino to be able to program the ESP side.
And I don't know current ESP firmware version....
2
votes
1
answer
362
views
Arduino ESPTelnet.h library read data from cmd screen
I am new to Arduino. I used Arduino IDE for upload code to ESP8266 module. I wrote an ATM application on the tiva-tm4c123 board. I am trying to connect to the application from the internet using ...
1
vote
1
answer
134
views
NodeMCU ESP32 as a replacement for my arduino project
I would just like to ask if this microcontroller can power or can manage 2 servos, 2 motors, and 2 hc-sr04 ultrasonic distance sensor combined? Also, does this board come with a bluetooth module?
1
vote
2
answers
286
views
How to read wireless doorbell's indicator LED circuit
I have a cheap wireless doorbell. My plan is to include an ESP8266 and power the doorbell from the microcontroller 3.3V output as the doorbell also runs on 3V
I specifically chose a model with a LED, ...
1
vote
1
answer
179
views
Arduino Uno Esp8266 AT commands [closed]
I am trying to send AT commands to esp-01 through serial monitor I have uploaded a blank sketch to Arduino , whatever command I send to ESP I get reply ERROR.
After reconnecting esp-01 I got some ...
2
votes
1
answer
160
views
Connecting Arduino Uno's TX pin directly to Esp8266 esp-01
I am new to esp8266 esp-01 and trying to figure out how to use it, in many tutorials on internet, I have seen people have connected Arduino uno's TX pin directly to esp8266 esp-01 without any voltage ...
1
vote
2
answers
723
views
How to send data from esp-01 Wi-Fi module to arduino
The L1 is the value i will get from firebase database, but now i wanna send the value that i receive in realtime database to arduino to on LED, how to solve? any suggestion? which mean when arduino ...
0
votes
1
answer
206
views
ESP32 WROOM32 SPI EMF issues
I'm trying to run Waveshare SSD1327 128x128 screen via SPI on ESP32 WROOM32 board. On ESP8266 (D1R1?) it works flawlessly while using HW SPI but when I run it on esp32, anything connected to mains ...
1
vote
1
answer
272
views
Sending Data Between Arduino Nano and D1 Mini
I am sending data from Arduino Nano to D1 Mini,
Transmitter is Arduino Nano
Transmitter Code:
#include <DES.h>
#include <SoftwareSerial.h>
SoftwareSerial link(2, 3); // Rx, Tx
DES des;
...
0
votes
1
answer
280
views
Pass Byte Array to Char and Send to a Separate Arduino
I am trying to send data between Arduino Nano and D1 Mini (ESP 8266 Module)
My Code as below in Nano which will be the transmeting ,
#include <DES.h>
#include <SoftwareSerial.h>
...
1
vote
1
answer
915
views
esp8266 analogRead of 5.5V soil moisture sensor input using voltage divider
On an ESP8266 I try to analogRead(A0) my soil moisture sensor using a voltage divider but I get unexpected low values.
The MT3608 increases the esp's output voltage from 3.3V to 5.5V which is the ...