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
-4
votes
1answer
45 views

Plotting analogRead on OLED (128*64) - EspWemos D1 mini (Problem to upload this Sketch) [closed]

i want plot real time analog input on OLED . This code for arduino Uno .. i tested on arduino uno and take perfect answer. but i using OLED-Wemos D1 mini Shield board. and i want upload this code ...
0
votes
3answers
74 views

How far can a HC-SR04 can stand from the microcontroller?

I was wondering if I connect a HC-SR04 to an Arduino or any other microcontroller by normal cables, what would be the maximum length of this cable so that the measurements will still be true, and not ...
0
votes
3answers
92 views

Getting wdt reset + reboots every 5 seconds on simple button/relay code that has worked previously, now it does not and I changed nothing

I have some arduino code I adapted from a simple 2 button 2 relay code I found online. I just multiplied everything so I could have 5 buttons/5relays. I am using a NodeMCU (ESP-12E) for this. I have ...
0
votes
1answer
646 views

Streaming audio to ESP8266 over WiFi

I am thinking of making a wireless speaker using the ESP8266 chip. I have some questions regarding this. Which pin of the ESP8266 chip can be used as I²S output? I have an ESP chip of this type : ...
0
votes
1answer
36 views

Firebase.failed() returns 0 after Firebase.begin(), but returns 1 while reading or writing from/to firebase from ESP8266

The program was running fine, a few days ago, but now it just wouldn't read/write to the database. I'm running on ArduinoJson 5.13.5 and using FirebaseArduino library. I have set all the rules to true,...
0
votes
1answer
60 views

How to get Transmission package Timestamp from ESP8266

I am trying to make an Indoor positioning system using ESP8266 as a beacon, how do I get the transmission package timestamp from router to ESP8266 and vice-versa? Thank you in advance for any advice
0
votes
0answers
46 views

My esp8266 constantly reboots when I try to connect to WiFi

I made a post last week how my Wemos d1 mini lite kept rebooting whenever I tried to run WiFi.begin(). Somehow, the issue went away when I switched wires. I recently purchased a brand new Wemos D1 ...
0
votes
1answer
36 views

ESP01 to DC Motor powered via Battery with Power Regulator

Hi I'm wanting to control a dc motor through esp-01 and to have it powered by batteries. To keep my esp-01 safe, I have found the esp-01 adapter to regulate voltage. I am wondering if anyone could ...
0
votes
0answers
115 views

ESP8266 not posting to firebase, Firebase.error() does not return anything

Below is the code that i tried and it was working before i added NTP client and WiFiUdp . The credentials are all right. I even tried commenting the newly added portions, but now, all I am getting is ...
0
votes
0answers
28 views

Internet switching

is it possible to switch internet connection from esp8266 wifi module to gsm sim 900A internet if the arduino detects that the esp have no internet connection and vise versa? Thanks
0
votes
0answers
30 views

ESP8266 GPIO limitations with HC-SR04

I want to build a systems that measures if some parking spots are occupied or not. I chose to use an ESP8266 12-E NodeMCU Kit with multiple HC-SR04 ultrasonic sensors. In my project, it is essential ...
0
votes
0answers
26 views

How can I connect as many HC-SR04 as I can to my ESP8266

I have an ESP8266 to which I want to connect a few ultrasonic sensors. I need to poll them every second in order to calculate the distance they measure. Because ESP8266 doesn't have many digital pins, ...
0
votes
0answers
32 views

ESP8266 + Arduino Mega

I am currently carrying out a project where I am using an Arduino Mega2560, to recover data from two ultrasonics sensors (HC-SR-04). For the purpose of my project, I must add HTTP requests to this, ...
0
votes
0answers
33 views

ESP8266 - How can I detect unencrypted networks in authentication (hotspot)?

I list networks wireless networks with ESP8266. In this list I am detecting unencrypted networks. Some networks like Eduroam - Uni appear unencrypted. How can I detect unencrypted networks in ...
0
votes
0answers
38 views

adafruit rfm95w and sd card

I am looking to use the adafruit rfm95w(https://www.adafruit.com/product/3231) on top of the adafruit huzzah esp8266(https://learn.adafruit.com/adafruit-fea ... 6/overview) and an SPI sd card breakout....
0
votes
1answer
25 views

ESP-12 + FTDi + platformio

I have 2 questions. Why we have to put our functions before void loop and void setup into VScode+platformio? I switched from arduino IDE to VScode+platformio today, when I upload the sketch with ...
0
votes
0answers
88 views

ESP8266/Android app: slow response when using soft access point and keeps dropping connection

I have an ESP8266 which I'm using the Arduino IDE to compile a program which uses soft access points to talk to an Android App compiled using MIT App Inventor. The app seems to work the first couple ...
1
vote
0answers
118 views

ESP8266 NodeMCU CP2102 ESP-12E I2C with MPU 6050 Error

So the previous two questions could be found here: ESP8266 computtion error and ESP8266 not working with MPU 6050 over wire library and I2C However, it was not resolved, and with updates and debugs,...
0
votes
1answer
295 views

How to connect to MQTT broker with TLS?

I have ESP8266 which is connecting to MQTT broker and it is working ok using user+pass with following code: #include <ESP8266WiFi.h> #include <PubSubClient.h> const char* ssid = "...
1
vote
1answer
80 views

Does flashing ESP8266/ESP-01 firmware mean uploading a new 'sketch' and why different firmware?

Hi I am new to IOT and I am now in love with this. However I'm a little confused right now with the jargon. My question is similar to this. But I do have some extra questions though. When using ESP ...
0
votes
0answers
50 views

ESP8266 computtion error

The related hardware diagnostic could be found here: ESP8266 not working with MPU 6050 over wire library and I2C .But I'm not so sure it's a hard ware issue any more because I got the reading for ...
0
votes
0answers
26 views

Setting up Software serial connection between Esp8266 and Arduino

I have a Lolin Wemos D1 R2 and mini version of ESP8266 and an Arduino UNO. I have connected the pin described as Rx in Arduino to the pin described as Tx in ESP8266 and the same for pin described as ...
1
vote
1answer
59 views

Why ESP8266 slower than Arduino nano?

I'm using the same script(and standard wire and serial library only) one uploaded to Arduino nano one uploaded to ESP8266. However, despite ESP8266 running at 160MHz, 10 times faster than nano, it's ...
0
votes
0answers
89 views

ESP8266 not working with MPU 6050 over wire library and I2C

I'm trying to use this version of ESP8266 to access MPU 6050. However, it's not working. https://www.amazon.com/gp/product/B07HF44GBT/ref=ppx_yo_dt_b_asin_title_o07_s00?ie=UTF8&psc=1 i.e. ...
0
votes
1answer
54 views

Random characters transmitted from ESP8266 to Arduino

Below is the code for getting a value from Firebase and sending the received data to arduino for performing necessary action. The code here here sends a string "o" to arduino once //uploaded to ...
0
votes
0answers
46 views

Generate & Display QR using Nodemcu on TFT Display ST7789 240*240

I have NodeMCU & ST7789 TFT display. I want to generate QR Code of any dynamic input and display it on my TFT display. Not able to find any suitable reference. All Standard QR code libraries only ...
0
votes
1answer
45 views

Determining which raw IR code to use for AC

I'm new on this so go easy on me. I'm trying to make an IR blaster to control my TV and ACs. I realized that when I capture the IR code, power button/temp up and down/mode send raw codes that are ...
0
votes
0answers
59 views

How can I use Wemos D1's TX pin as OneWire?

I'm building a thermostat control with a Wemos D1 Mini. The ILI9341 display uses almost all the pins, and all I have left are the RX, TX, A0 and D0 pins. However I can't get any valid readings from ...
0
votes
1answer
55 views

Fixing serial communication , condition for serial data available checks out even after reading all the data sent

I have been working on monitoring an aquaculture , where I log the environment variables (temp. , humidity, gas sensor data) to firebase and control feeding mechanism via an app(where data can also be ...
0
votes
0answers
157 views

esp8266 WiFiClient Troubleshooting

I have a pair of ESP8266 modules: 1 Server running in (STA+AP mode or AP mode) and 1 client. The client cannot seem to make a TCP connection to the server. Only changing the wifi-networt, HOST, and ...
0
votes
1answer
255 views

ESP8266 compilation error: “previous declaration of 'HTTPMethod HTTP_HEAD'”

I have an ESP8266 program that used to work but is now failing to compile with this error: C:\...\Arduino\libraries\WiFiManager/WiFiManager.h:25:24: note: in expansion of macro 'PROGMEM' const ...
1
vote
2answers
57 views

cannot connect ESP8266 web server after some time

I am new to ESP8266 and found an example about turning a LED ON/OFF using web interface. It works well but after some time (few minutes) i cannot open the web page (in my case it is http://192.168.100....
0
votes
0answers
29 views

ESP8266 exception on Array access

I have code to run an SH1106 display that works perfectly fine on a Mega328 (basic Uno clone) and Sparkfun Redboard Artemis (ARM M4). The code for the ESP8266 (NodeMCU v1 clone) should be pretty ...
0
votes
1answer
71 views

ESP8266-01 Resetting when DC motor runs

DC motor: 3-6v Servo sg90: 3-7.2v Esp 8266 01: 3.3v I have 2 Arduino Uno both has their own ac-dc power adapter. Lets say, 1st Arduino is Ard1 and 2nd is Ard2. The Ard1 communicates to a web ...
0
votes
0answers
39 views

arduino and esp-1 stop workign after 1 day running

i'm trying to create a system that arduino and esp-1 send an GET request each 2 secs to a server and depend on server reply turns a LED on or off . system works good for 6-7 hours but stops after one ...
0
votes
1answer
72 views

HC-12 modules stopped receiving, cannot understand why

I've created a simple transmitter with an HC-12 and an Arduino Nano (clone), where I send the values of DHT11 and LM35 sensors to a receiver unit made only of a Wemos D1 and another HC-12. Setup is ...
0
votes
1answer
41 views

ESP8266, sporadically no write access to the file system

I have an ESP8266 project which reads my gas consumption. The hardware and the project run satisfactorily. Sporadically, the ESP8266 can no longer write to its file system and therefore cannot save ...
0
votes
0answers
15 views

Wifi communication between ESP8266 (s) and ESP32: know if the client is alive (possibly without errors …) [duplicate]

I state that I am an amateur beginner and this is the first time I ask a question in a forum, so any criticism, judgment or advice is a pleasure for me! I am trying to build an automatic irrigation ...
0
votes
1answer
64 views

Detect the end of playback of a MP3 file with DFPlayerMini / DFRobotDFPlayerMini.h library

For a project I'm doing I've used an ESP8266/12e, a RTC Module DS3231 and a DFplayerMini Basically it's a caller for birds and it has to play a 12-minute long MP3. The MP3 file should be played for 2 ...
0
votes
1answer
106 views

ESP8266 and WPA2 PSK network

I'm having some issues with esp8266 connecting to a wifi network. I'm testing with a hotspot from a mobile phone. If I set the network to open (no security) my code below works without any issue. If ...
0
votes
0answers
121 views

POST request using WiFiEsp.h library

I'm using an arduino uno and ESP8266 (esp01) with the WiFiEsp library to connect to WiFi and POST data, connecting to WiFi works just fine. I need to send a POST request, but I can't get it to work ...
1
vote
1answer
61 views

ESP8266 reseted due to relay / AC plugged

My Wemos card is reseting for unknown reason. For example, the pump plugged on the relay works fine till 1am and then the pump stop. After a few research I figured out the ESP should reset because all ...
0
votes
0answers
60 views

How to edit code from Node-Red to Cayenne

I am working on a project to run some (relays or LED's) on an inputs (Pins) Arduino by esp8266-01s . now while searching on internet I found a video divided it two step that talks about the issue ...
1
vote
1answer
112 views

Serialize JSON as response to HTTP request

I'd like my ESP8266 to provide some JSON endpoints. I want to use ArduinoJson for serialisation. While this works in general if I serialize into a String and return this String afterwards, I was ...
0
votes
2answers
1k views

esp32-cam publish image to mqtt

I want to publish image capture through ESP32-CAM to MQTT. Have following code : #include "WiFi.h" #include "esp_camera.h" #include "esp_timer.h" #include "img_converters.h" #include "Arduino.h" #...
0
votes
2answers
69 views

Nodemcu powering with 5.2v and 2A?

I bought a this voltage regulator . DC-DC 5v 8A voltage regulator. ıts supported 8-35V input voltage . And i want to use this with 12v power supply. But i searched on the internet . Nodemcu max amp is ...
0
votes
0answers
67 views

Can ESP 32 use the wire library exactly like that was in Arduino?

Compare the YouTube video and this webpage, the former one made programming very different in ESP32 and that was in Arduino nano, while the webpage seemed to imply that they work exactly the same. ...
0
votes
1answer
69 views

Arduino ESP8266 - stack ERROR - ESPExceptionDecoder to debug - need help to find ERROR

i have one project that can ready compiled. The function is break on the hardware an i need help to finde the error. I am a beginner and ask for help. How can I narrow the error down? Sketch: ...
1
vote
2answers
49 views

How can I power an ESP8266 using a 9V 1A barrel connector power supply?

I have a Huzzah Feather ESP8266 (pinout) and due to the requirements of my project, I need to supply it with a 9V power adapter with a barrel connector, such as this one. I'm REALLY new to all of ...
0
votes
1answer
42 views

setting a dc motor to work for a fixed amount of time [closed]

I am trying to set a DC motor to work for a fixed amount of time. For example if I will press left, I want it to work for a minute and after that to stop. If I will press right, to work for a minute ...

1 2
3
4 5
34