Questions tagged [wifi]
Wi-Fi is a trademark of the Wi-Fi Alliance. A Wi-Fi enabled device such as a personal computer, video game console, smartphone, or digital audio player can connect to the Internet when within range of a wireless network connected to the Internet.
672 questions
0
votes
1
answer
111
views
How do I ensure XIAO ESP32S3 reconnects to network?
I am writing a program for a XIAO ESP32S3 using ArduinoIDE.
The function of the program is to have the ESP open an Access Point (using AutoConnect) when it first starts up. Once the user inputs their ...
1
vote
2
answers
103
views
Can't sync ESP32 with Blynk
I was trying to display the readings of my dht11 sensor on the Blynk dashboard but I am struggling a lot. A little help would be really appreciated.
#define BLYNK_PRINT Serial
/* Fill in information ...
0
votes
1
answer
202
views
ESP32 (Arduino): WiFi.softAPdisconnect(true) gives error + Heap Corruption issues
I have NodeMCU ESP32s and I am using Arduino framework.
I want the ESP to connect to local Wifi, so I set AP on ESP and send to it UDP packet with WIFI credentials.
I am doing it in a loop until sent ...
0
votes
1
answer
128
views
WiFi credentials pulled from an SD card fail, but work hard-coded?
I'm trying to move my hard-coded wifi SSID/password credentials to an SD card so they can be more easily changed, but when passing the SSID to the WiFi.begin() function, I'm getting a status code 1 - &...
-1
votes
1
answer
102
views
WiFiManager library question (wm.setConfigPortalBlocking(false) + big delay = not working)
I'm trying to use the library in my project. An implementation with wm.setConfigPortalBlocking(false) is needed, but when a large delay is used in the loop, the portal either does not work at all, or ...
2
votes
1
answer
991
views
Very slow to connect to WiFi with ESP32 (minutes, not seconds)
I am having some issues with connecting to WiFi with an ESP32 board. It is very sloooooooooow. The first few times I tried, I left it alone for 20 minutes and it still wasn't able to connect. So I ...
-2
votes
1
answer
191
views
Which WiFi module is able to host a custom web UI and can act as a station and AP?
I am an Arduino beginner. I am searching for a WiFi module that can act as a station and access point. It should have a external antenna.
I need to upload a script that starts a web server, so I can ...
1
vote
0
answers
136
views
Problem with sending a GET request using the WiFiEsp library
Hello I am trying to make a request using WiFiEsp library but even the examples not working, I have searched a lot but never solved it. most of the solutions are outdated and do not solve anything, I ...
-2
votes
1
answer
234
views
Matter protocol with Arduino Mega/Giga
I would like to try matter protocol with Arduino mega or Arduino giga.
But I don't find any sample or library. I have only found libraries compatibles with ESP32.
Do you know how I can work with ...
1
vote
0
answers
445
views
WiFi.scanNetworks() sometimes triggers wdt reset
In my sketch for ESP32, I call the network scanning function:
WiFi.scanNetworks(true);
but sometimes it trigger a wdt reset:
E (372741) task_wdt: Task watchdog got triggered. The following tasks did ...
1
vote
1
answer
614
views
Connect to wifi works only without password (Problem around WPA security)
I have an ESP32 Joy-it - SBC NodeMCU-ESP32 that should be use with board "ESP32 Dev Module". IDE says : Chip is ESP32-D0WDQ6 (revision v1.0).
Website product: https://joy-it.net/en/products/...
2
votes
1
answer
628
views
How can I host a WiFi network from an Arduino getting a connection from a SIM card?
My friend and I are doing a project and we're stuck on a problem. We tried looking stuff up but it looks like no one documented something similar before.
Basically, what we want to do is have one ...
2
votes
1
answer
565
views
Arduino MKR wifi 1010 ssl certificate protection
I'm using Arduino IDE v2.1.1 and Arduino MKR wifi 1010. Everything works fine and at this moment I have a need to protect the wifi connection with ssl certificate. I have generated the ssl certificate ...
0
votes
1
answer
39k
views
RX and TX pins on esp32
hello guys i'm new to this field i really need your help i want to wire a GSM module (SIM808) to a ESP32 board using the TX and RX pins so the pins are labeled RX and TX no pin number like the others ...
1
vote
0
answers
37
views
DEVKIT V1 DOIT 30 pinout board could not read analog value when using wifi library [duplicate]
I am using DEVKIT V1 DOIT board and 30 pinout board.
When I upload this code for checking analog value from serial monitor:
// Define the analog input pin for the IR sensor
const int analogPin = ...
5
votes
0
answers
964
views
Internet in ESP32 is not working with IPv6
I am using ESP-WROOM-32D in STA mode with Arduino IDE(2.0.5) ESP32 board(2.0.9).
I am trying to do http post request with ESP32. Router that provides internet supports only IPv6.
Here I am getting ...
2
votes
2
answers
2k
views
Does ESP32 can support WIFIDirect
I would like to establish a simple P2P connection between an ESP32 and an Android device without the use of an access point. I should be able to send and receive data from the ESP32 through the ...
2
votes
0
answers
53
views
ESP32 WiFi server.send(); is it exclusive to ESP328266 modules, Arduino?
Is the function server.send(); exclusive to ESP8266 modules, Arduino? Where can I find documentation regarding the application of this function with an ESP32 module with WiFi?
3
votes
2
answers
863
views
ESP8266 Wifi connection problem
I have a Feather Huzzah, aka ESP8266, that I am trying to connect to the Wifi.
One major thing is, that my landlord decided to use the worst Wifi SSID and PW.
The SSID contains an ä and a whitespace, ...
1
vote
1
answer
411
views
stream a "big" array of measures to a server through wifi
I'm measuring accelerations at "high frequency" (4kHz) from an accelerometer (ADXL355/ADXL357) to an esp32. It's crucial that no sample is lost while performing a measure which last say 2 ...
1
vote
0
answers
209
views
try to send AT commands from Arduino nano to ESP01
I encountered an issue when I try to send AT commands from Arduino nano to ESP01 I tried to find any tutorial for more helps, but I find nothing. please someone can help me.
I tried the tutorial from ...
3
votes
1
answer
991
views
Mobile hotspot with wemos d1 mini
I recently got a wemos d1 mini and now am trying to connect it to my IPhone 13's hotspot, however it doesn't connect, I tried to run the wifiscan example - and it doesn't even detect it there.
I tried ...
1
vote
0
answers
139
views
ESP-07s only connects to my wifi very occasionally
I've got an ESP-07s and I used an example code from the internet. When I power it and the program starts, it should just connect to my Wifi network. It has a simple webpage that should be locally ...
1
vote
0
answers
415
views
ESP8266 + NodeMCU Motor Shield spinning motor only in one direction
I hooked my ESP8266 Wi-Fi module to an ESP-12E Motor Shield and connected it to an RC car. It works fine when connected to my laptop (Goes forward, backward, left, and right. Though the car doesn't ...
2
votes
0
answers
134
views
Static IP configuration failed in NODEMCU
I'm trying to connect NODEMCU to my home network and set static IP address, but the static IP didn't set properly this is the code:
#include <ESP8266WiFi.h>
void setup() {
// put your setup ...
0
votes
1
answer
438
views
Issues getting WPS working on ESP32 [closed]
I am trying to implement WPS on ESP32. A WT32-SC01 Plus to be exact.
It seems to working so far that I'll get the WPS connection but then it takes around 5 minutes [!!!] to get IP address from the ...
0
votes
0
answers
206
views
Adafruit Feather M0 WiFi - ATSAMD21 + ATWINC1500 Firmware updater
I have a Adafruit Feather M0 WiFi - ATSAMD21 + ATWINC1500 that indicates the firmware installed is too old for the Wifi101 library (Version 0.16.1). I have been trying to do a firmware update but ...
2
votes
3
answers
3k
views
WiFiClient.cpp:517 flush(): fail on fd 48, errno: 11, "No more processes" what it mean?
Hello i wrote this sketch that upload a temperature reading of a DHT22 sensor to a phpMyAdmin server in localHost, the sketch work fine, the data been upload every 5 min to the server than ESP go t ...
1
vote
0
answers
120
views
How to connect to AWS iot?
I am trying to connect esp8266-12f to aws iot core following this tutorial. Below is my code.
main.cpp
#include <Arduino.h>
#include <ESP8266WiFi.h>
#include "config.h"
#include &...
0
votes
0
answers
455
views
Forget WiFi ESP32
How can you make ESP32 forget all the Wi-Fi networks it was connected to? Or at least forget the one to which the board is currently connected?
1
vote
1
answer
2k
views
Slow WiFi reconnection after deep sleep (6 to 10 seconds)
With my ESP8266, I need to make a simple GET request to a server, and then go to deep sleep (the goal is 1 year battery powered)... until a signal comes on RST and then it starts again.
The following ...
-1
votes
1
answer
271
views
LEDs controlled by PHONE on ESP32
I am having doubts with a project I'm making.
My project involves a sets of LEDs stripes, among which some are controlled from a smartphone, and some automated. The LED strips are connected to an ...
1
vote
0
answers
623
views
ESP32-S3 - HttpClient only returns 200 status code no JSON payload data
I have a ESP-S3 board and am trying to get JSON data from our server. I am using the following code (see below) as a basis for mine.
This code works. If I change
http://jsonplaceholder.typicode.com/...
1
vote
0
answers
1k
views
ESP32 WIFI error when trying to initialize WIFI after stopping and deinit WIFI driver
I have a firebeetle ESP32 board and I use VScode with platformIO. My platform is espressif32 v5.0.0 and the framework is arduino.
I am currently implementing a WIFI connection as follows:
bool ...
3
votes
0
answers
2k
views
How to correctly synchronize time with NTP server?
I want to synchronize time with NTP server once in some time. I am using DOIT ESP32 DEVKIT V1, I tried with getLocalTime() function but it returned true even without wifi, but as I know without wifi ...
1
vote
0
answers
2k
views
ESP32 wifi server with multiple clients
I have a program where I configure my ESP32 as a server and it sent randomly generated data, the problem is that I can only connect 1 client at a time, what I want is that multiple clients can connect ...
0
votes
0
answers
168
views
Communication between two ESP32s using WiFi
I have two ESP32s. One is acting as webserver and the other is acting as a client that will send a GET request to the server ESP32. Both of the ESP32s are connected to the same WiFi AP.
For sending ...
-1
votes
2
answers
328
views
Read SD card on ATMEGA328 from ESP826
I have a ATMEGA328 with ESP826 (like this http://arduinolearning.com/hardware/atmega328-esp8266-arduino-board.php) and can successfully send information from the ATMEGA328 to the ESP826 via serial.
I ...
3
votes
1
answer
832
views
Why does Arduino Nano 33 IoT always choose the weakest WiFi BSSID?
I have an Arduino Nano 33 IoT configured to connect to my WiFi network with a pretty straightforward code:
#include <WiFiNINA.h>
int status = WL_IDLE_STATUS;
status = WiFi.status();
while (...
-1
votes
1
answer
2k
views
POST request (HTTPClient) with ESP8266 not working on localhost (http code = -1)
I've been looking around for a solution, but couldn't manage to find one. I'm looking to send a post request from an ESP8266 on a local API.
Here is my code :
#include <ESP8266WiFi.h>
#include &...
2
votes
0
answers
3k
views
ESP32 access point with an ENC28J60 ethernet module
Does anyone know if the following is possible? Any advice would be much appreciated.
I am programming an Ethernet connected Arduino to be a webserver. What would be ideal is a small portable "...
4
votes
1
answer
2k
views
ESP32 Wifi not working when powered by battery
I'm quite new to ESP32 development. I've been using this devkit for a few small projects and everything was going smoothly until I decided to run it on battery. In particular, the ESP32 devkit I'm ...
1
vote
0
answers
444
views
WeMos D1 losing WiFi connection
I have a WeMos D1 connected to an air quality sensor and publishing the value on a self-hosted website.
Initially everything works fine (although router UI does not display WeMos). After an hour or ...
3
votes
1
answer
2k
views
ESP32 ADC <-> WiFi issue
I'm using the ESP32's ADC1 (not ADC2, which conflicts with WiFi functionality) to capture some analog data received at IO36 (an ADC1 port).
As soon as I uncomment the WiFi.mode(WIFI_AP_STA) line (even ...
1
vote
1
answer
1k
views
esp8266 - server.handleClient() fails to call assigned function
I'm trying to get one esp to send integers to a second as a part of a simple remote control, but after multiple days I can't get it to work. The transmitter seems like it's connecting and sending ...
0
votes
1
answer
392
views
Using ESP8266 to program Arduino by serial comm
Since the 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.
2
votes
1
answer
816
views
failed log in attempts on softAP
I would like to setup an access point using the esp32 that logs any/failed access attempts
i have looked through some source files, and came across esp_event.h, which seems to allow registering an ...
2
votes
0
answers
661
views
HTTPClient works with localhost but not server
I started to work with HTTPClient and the WiFly library to connect to an SSID and then send POST data to a server. When I was sending the data to my localhost, it was working on localhost, but when ...
1
vote
1
answer
183
views
Problems connecting to WiFi101 access point
I currently have two Arduino Zero boards (using the SAMD21 microcontroller), each with an ATWINC1500 wifi module attached. I have established one of these units as a wifi access point with a server ...
-1
votes
2
answers
5k
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 ...