Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
2answers
28 views

Fetching txt file's contents from a webhost using esp8266

I am trying to access a txt file in my website and fetch its contents that is hosted by 000webhost. I used this code: void sendGET() //client function to send/receive GET request data. { WiFiClient ...
-1
votes
1answer
26 views

esp8266 WiFi Cannot Connect to a PHP Server

I am using a magnetic float switch sensor to monitor water level in a tank. I am trying to send the data collected by it to a php page in a host called "weris.link". I've checked the WiFi ssid and ...
0
votes
2answers
28 views

Send data to a pc localhost with ESP-01 wifi module

i use a linux machine with a localhost php server installed. Wifi machine is connected to the ESP-01 module (access point mode) and i can send several datas to the Arduino via the ESP-01 set as: ...
1
vote
1answer
12 views

The ESP8266 connects to open WiFi hotspots, even If I supply a password

This question is more out of curiosity, then out of a need to solve something. I was trying out some experiments with the ESP8266 Arduino core when I realized that I had programmed an SSID and ...
0
votes
1answer
19 views

How to access a website running on my localhost(host/server) to Serial Monitor using ESP8266(Client)?

The following source code is from the official ESP8266 website(Explanation provided): https://arduino-esp8266.readthedocs.io/en/latest/esp8266wifi/client-examples.html This .ino code returns the html ...
0
votes
0answers
34 views

Connect an Arduino to a private WIFI with credentials

I know that an Arduino can be connected to private WIFI, I mean with SSID and PASSWORD, but I want to know if can be connected to a private WIFI with credentials, with SSID and after USER and PASSWORD....
0
votes
1answer
101 views

Arduino Uno with ESP8266-01 with AT [closed]

Here is the schematic I followed: Here also the link: https://www.circuito.io/app?components=10167,11021,12083,13678,13959 #include "DHT.h" #include "NewPing.h" #include <SoftwareSerial.h> #...
0
votes
0answers
28 views

WiFi.getTime() is repeatedly failing (returning 0) - why?

My WiFi is working, but for some reason the WiFi.getTime() function on my MKR1000 is repeatedly failing and returning 0. It has worked before. This is happening across multiple Arduino programs. Any ...
0
votes
1answer
23 views

Loops fail after ~5 minutes when making two API calls every 10 seconds using WiFi client

I am running into an issue with a loop call on an Arduino MKR1000. I have tried the solutions suggested in this question and it usually works for 5 minutes and then collapses. I am trying to make two ...
0
votes
1answer
35 views

ESP8266 Peer to Peer with AP and STA - Cache AP Clients, Flush Their Requests?

I'm fairly inexperienced with Arduino and entirely new to networking, so bear with me. I've programmed a couple of NodeMCU devices to communicate the use of an instrument via activation of an LED. I ...
0
votes
1answer
37 views

Websockets with the ESP8266 using arduino uno board

I'm trying to make an iot device that connects to my wifi, establishes a socket connection with my golang backend and then starts to send sensor data from the ardunio. I've got an ardunio uno board ...
-1
votes
1answer
24 views

How to copy IPAddress class into character buffer? Getting error: “inet_ntop' was not declared in this scope”

I am using the WiFi library and trying to store the IP address in a character buffer so that I can print it out to an lcd that only accepts character buffers. My code for doing this: char * IPAD = ...
0
votes
1answer
39 views

Bridging the wifi networks on nodemcu: how to set the esp8266 as wifi extender, simplest case

It seems to me that humidity is getting high in one room in the basement in my house. To monitor the situation temporarily, I would like to build a very small wifi-mesh network to exchange these ...
2
votes
1answer
40 views

Are there any Wi-Fi modules for the Arduino Uno that may connect to an external Wi-Fi Antenna?

I have an Arduino Uno I need to connect to Wi-Fi to make HTTP POST Requests to a Raspberry Pi Web Server. The Arduino is located only about 30 feet from the AP, but there is a brick wall in the line ...
0
votes
0answers
28 views

DIY Light Switch Trouble Shooting Help

Goal of the Project: DIY method of a smart light switch Process Used: Implement using IFTTP with: BLYNK Google Assistant NodeMCU (ESP8266 WiFi) High Voltage Relay Samsung Wall Wart for NodeMCU ...
0
votes
0answers
40 views

How to access WIFI from GSM 800 for NodeMCU 8266

In my project, I used NodeCU8266, for the internet purpose I need to connect WIFI with ESP8266. However, I don't have WIFI, but I have a GSM800 module. So with the help of GSM800 how can I connect the ...
0
votes
1answer
17 views

ESP8266 - 12F High consumption in led blink (with pictures)

My esp is consuming 180mA with a led blink. The same consumption happens when I put it in WIFI_STA mode with the WiFi.mode(WIFI_STA); function. What should I do to reduce consumption? Used AMS1117 CI ...
0
votes
1answer
69 views

ESP8266 - One server sending data to multiple clients

I have a few arduinos with ESPs, one of which is set up to measure temperature, and I'd like to have it send commands to other connected arduinos to perform various functions (open/close valves etc.) ...
0
votes
1answer
21 views

ESP8266-01S Stopped responding after second launch

Here's the code: #include <SoftwareSerial.h> #define RX 6 #define TX 5 String AP = "..."; String PASS = "..."; SoftwareSerial esp8266(RX,TX); void setup() { Serial.begin(9600); Serial....
0
votes
1answer
29 views

ESP8266 upload data to google cloud platform

I am trying to upload information to my appspot created with Google App Engine. I am able to do it when I in my browser type: http://myname.appspot.com/query?city=Copenhagen&temp=20&id=website ...
1
vote
1answer
74 views

How to establish a connection between an Arduino and a web server via ESP8266 [duplicate]

I'm working on a IOT project where three or more IOT device communicates with a web server. The IoT device will have Arduino UNO which is connected to a ESP8266 so internet access is available. ...
0
votes
0answers
45 views

WiFiNINA not connecting - return any errors

I am very new to Arduino and using the ConnectWithWPA example for WiFiNINA on my new Mkr1010. I inputed the pass and network id in the arduino_secrets.h file: #define SECRET_SSID "DenMember" #define ...
0
votes
0answers
35 views

Question on basics: Getting signal strength between ESP8266s as APs and Arduinos

Apologies for the potentially newbie question, but I'm quite new to the ESP8266 and wireless. My end goal is to have several Arduino-ESP8266 pairs, and to have the Arduinos able to access the signal ...
-1
votes
2answers
229 views

ESP-01S Relay V1.0 connection with Arduino

I am new to Arduino Let me ask you about IOT(internet of things). I want to connect ESP-01S Relay v1.0 Where does the NC port goes on Arduino? Is it TX or RX? Also, where does the NO goes on ...
0
votes
0answers
20 views

Can the Arduino WiFi shield connect to EAP networks?

I saw that the Arduino WiFi shield could connect to WEP and WPA networks, but I didn't see anything about EAP ones. If not, is there a way to connect the Arduino to an EAP network?
0
votes
2answers
78 views

Error running FirebaseDemo on nodeMCU

So I followed the guide on GitHub to run this demo which compiles and runs. It does warn of some deprecations and such in the firebase libraries : In member function 'const String& ...
0
votes
0answers
72 views

ESP8266 stops working after 5 requests

I am trying to implement a TCP server on an ESP8266. My code looks like this: void http_recvcb(void *arg, char *data, unsigned short int length) { Serial.println("Received data"); ...
0
votes
1answer
53 views

Is there any easy way to change Arduino Wifi shield to ESP8266?

My old question was put on hold. Probably wasn't too clear, sorry. As the title says, is there any easy way to replace Wifi shield with ESP8266, with as little as possible modification to code? ...
0
votes
1answer
59 views

The right way to find and understand the libraries

I am working on a project to send sensor values from esp8266's Wemos D1 mini to MySQL. I tried using the library MySQLconnection.h but I couldn't make it to connect to wifi. So I uploaded a simple ...
0
votes
1answer
110 views

Using Arduino wireless SD Shield to save data to sd card and send to PC over wireless network

new here. I'm using an Arduino Mega to monitor the current & voltage input to four different sensors. This works fine - the sensors work as expected and I can view the results via the Serial ...
3
votes
1answer
134 views

ESP8266 - does it really have terrible wifi range by default?

ESP8266 - does it really have terrible WiFi range by default?? First time to try this module out and we're disappointed with the range.. as per our testing we can only get max 5m WiFi range line of ...
0
votes
1answer
49 views

ESP8266 12-E can't connect to any Access Point with converted variables from strings to char arrays

I'm using an esp8266 12-E nodemcu I wrote a code that scans the available WiFi networks, print them through serial communication,ask the user which network he wants to connect to and then the password ...
0
votes
0answers
293 views

ESP32 Bluetooth and WiFi coexistence

After some research, I figure out that it's possible to use Bluetooth and WiFi for some special operations (As Espressif engineer mentions). In my case the Bluetooth operation is simple, it just ...
1
vote
0answers
33 views

How can I power MKR1000 and 25 NeoPixels 24hrs or longer?

I have an arduino MKR1000 which I would like to run off battery power for a few days with 1-3 dimly lit NeoPixels active. Every day for an hour there will be 10 NeoPixels active. Brightness for both ...
0
votes
1answer
16 views

Regain WIFI connectivity

I wrote a code to be implemented in a SONOFF device (ESP8266 chip). My question is regarding disconnection due to failure/ power fail in wifi network - when such event happens, does wifi connectivity ...
-1
votes
2answers
242 views

Arduino MKR WIFI 1010: WiFi101 shield: NOT PRESENT

A few days ago I received my MKR WIFI 1010 including MKR2UNO Board. Vin Connected via power plug, and USB to PC connected as well. The Blink example works fine. Or any example excluding WIFI. I tried ...
0
votes
0answers
18 views

Upload sketch to ESP8266 - both old and new sketch working in parallel [duplicate]

I am getting to know the ESP8266 by using a NodeMCU programming board. To upload sketches I use the Arduino IDE. Until now I have not done any programming myself, but simply tried the sketches that ...
0
votes
1answer
123 views

ESP8266 does not reconnect to WiFi on reboot

The ESP8266 is supposed to remember the WiFi credentials and reconnect to the network (if it is available) after each reboot. That was the topic of this question: Does the ESP8266 somehow remember ...
0
votes
0answers
52 views

How to debug NodeMCU?

my NodeMCU v.1.0 is running each 30 minutes. It gathers several data, uploads them on a server, and then it goes into DeepSleep for 30 minutes. I have deeply tested this process while connected with ...
0
votes
1answer
200 views

NodeMCU v1.0 high power consumption in deepsleep

I am using a NodeMCU v.1.0 ESP-12 for a small project. It is powered by 3xAA batteries (4.5v) in Vin, but to reduce power consumption I need to put in in deepsleep every now and then. Running this ...
0
votes
0answers
307 views

Connecting to Eduroam wifi

I have an ESP8266 board and want to connect it to wifi. It works with usual home wifi, but I can't get it to work in any way with eduroam (university wifi). I tried this code and pretty much ...
3
votes
1answer
170 views

Connecting an ESP8266 to WiFi without hardcoding the credentials

I've recently achieved connecting my board, an ESP8266 to my local WiFi, but I've had to hardcode the credentials to the code, just like in 99% of the tutorials online. My code looks somewhat like ...
1
vote
1answer
537 views

ESP32 AP max connections: 4 or 10?

I am using the SoftAP feature of the ESP to create a central node, and connecting five or six clients in the final application. However, I don't know if i can connect that many clients. One of the ...
0
votes
1answer
39 views

Fade effect analog RGB strip and NodeMCU

I have an analog or dumb RGB strip that I control with HTTP commands. I want to be able to make the strip fade between different colours when I call http://XX.X.X.XXX/fade. I want it to do this ...
0
votes
1answer
466 views

How to turn off or stop Access Point network in ESP8266?

I've created a code for ESP8266 12E with Arduino IDE, in which it'll operate as "Station Mode" or "Access Point Mode" on Wifi, depending on the situation. Everything works fine except when device was ...
1
vote
2answers
1k views

How to connect an ESP8266 using an ESP-01 adapter to an Arduino Uno?

I am pretty new to Arduino programming and wanted to learn how to connect an ESP8266 generic WiFi module to an Arduino Uno using the ESP-01 Adapter shown in the image below. I tried doing it on my ...
0
votes
1answer
118 views

ESP8266 working as station while in AP mode

I'm programming an ESP8266 via the Arduino IDE with Arduino libraries. I explicitly set the WiFi mode to WIFI_AP, but then, as described below, I'm still able to use it as both AP and station. That ...
1
vote
1answer
44 views

Why is my esp8266 still visible under “available connections” when connecting to WiFi?

I wrote a "Hello world" type of sketch using the Arduino IDE and uploaded it to an esp8266. I used no libraries, or any kind of WiFi commands. However, when I powered up the esp8266, it was visible ...
0
votes
0answers
86 views

ESP8266 consistent high ping vs NodeMCU very low ping

I bought a NodeMCU and two normal ESP8266 modules. I flashed new firmware from the official website for the modules and it worked fine. However, the ESP8266 module consistently goes over 300+ ms ping ...
0
votes
0answers
134 views

Arduino Uno WiFi - Not listing network port

I have Arduino Uno WiFi board, and it's listed as wifi network (Arduino-Uno-WiFi-cc7701), and I have board listed "Arduino Uno WiFi", and same board listed on serial port, but there's no network port. ...