Stack Exchange Network

Stack Exchange network consists of 175 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.

-2
votes
0answers
27 views

Best way to make LED strip WIFI enabled [on hold]

I'm creating an addressable LED strip setup. However, I want it to be WiFi enabled and controllable through my iPhone. I've been looking at options such as ESP8266 to make this possible. My question ...
0
votes
2answers
33 views

WifiClient and aREST on esp32 - loop until new instructions recieved?

I've created a simple sketch for an esp32 that hosts a REST API that can be accessed via HTTP. Based on the instructions received from the client, the esp32 controls some neopixels with some various ...
0
votes
0answers
18 views

Arduino UNO and ESP8266-01 Wi-Fi cutting out after few seconds

I followed this tutorial: https://www.youtube.com/watch?v=2cjufbgOBYo My serial output in Arduino editor is this: AT AT AT AT AT AT AT AT+RST ATE0 AT+CWMODE=2 AT+CWDHCP=0,1 AT+CWSAP="RemoteXY","...
0
votes
1answer
27 views

WiFi connection times out if credentials retrieved via serial terminal

I've implemented a small WiFi connection procedure into my ESP32 project. The available networks get printed with index, then I'm entering the index and retrieve the network name from it. The password ...
1
vote
0answers
23 views

Easy way to store Wi-Fi data on Arduino and ESP8266

I'm using Arduino UNO and ESP8266 for my application which has to share data over a public network. At the moment, I hard code the ssid and the password of my Wi-Fi network directly in the Arduino ...
1
vote
3answers
89 views

REST API on Industrial 101 (Yún family) lags, then crashes

I have tried to set up a very simple REST API on an Arduino Industrial 101 (which is, as far as I understand, equivalent to a Yún). The Arduino is hooked up to a temperature sensor, which value is ...
0
votes
1answer
22 views

Not able to convert String to Integer when receiving data from pubnub?

I did managed to upload mpu9250 sensor data on PubNub and nodeMcu but not able to use the received data to control servo Look at the Port reading and see that servo angle is still showing '0' Code:-...
0
votes
2answers
31 views

My ESP8266 web server is only displaying text, even after ensuring content type is text/HTML

So I just got my two ESP8266/ESP-12E WiFi development boards in the mail as I am trying to set up a few home automation devices in my house. I've gotten much further than I thought I would today, ...
-1
votes
1answer
19 views

How to upload sensor data on pubnub IOT with JSON Format?

I am trying to send MPU9250 sensor data to Pubnub IOT platform using node mcu, but not able to do it since the sensor data is not in JSON format. I know about publishing string but don't know about ...
0
votes
1answer
53 views

How to interface MPU9250 and NodeMcu?

I am trying to send MPU sensor data to Pubnub IOT platform but not able to do it since there is some unknown problem. There is no error in code but following issue pops up in com port:- It looks like ...
0
votes
0answers
29 views

How to speak from a client to another client over a Server - ESP8266?

In the last few days, a problem kept me busy. I tried to communicate from a client to another client over a server, like that: Client1 -> Server -> Client2 Client1 sends a small message (like the ...
0
votes
0answers
22 views

Secure connection with ESP8266 and socket connection

I want my system to stay connected 100% of the time. I'm using a TCP Socket connection on ESP8266. So, I created a test Sketch like this below (and a NodeJS server app). Everything works fine, that is,...
0
votes
2answers
92 views

Parse a large json response with ESP8266

I'm doing a project where my Arduino uses an external ESP8266 wifi module (with AT firmware) to send http requests and receive server response. I'm trying to get an NBA scoreboard, and here's what my ...
0
votes
0answers
26 views

Memory management issues with Chars

new to C - I am struggling with a memory management issue which I think is related to the char array variable Cars in the following code. I can run this program once or twice just fine and print my ...
0
votes
0answers
14 views

Sending data to ThingSpeak with esp13 shield [duplicate]

Well, I am trying make a project which is reading motor RPM sending to ThingSpeak. with this I am planning to check my motors speed at home. I can made it with esp8266 modul but I saw original ...
0
votes
0answers
74 views

ESP32 dev board unable to connect to home WiFi

I just acquired an Arduino style ESP32 dev board, and have been trying it out. Everything hardware wise appears to work fine, however, upon trying the "HelloServer" example, the board appears to just ...
0
votes
1answer
39 views

Error - invalid conversion from 'char' to 'const char*', Not able to connect on pubnub server using node mcu [duplicate]

I have node mcu with ESP8266 wifi module. When i am trying to upload an example code then its not working. This is the Error:- inline PubSubClient* PubNub::subscribe(const char* channel, int ...
0
votes
1answer
52 views

How to publish on Pubnub with node mcu?

I have node mcu and i am trying to use the example code on github and pubnub blog to send a msg as an experiment but can't figure how to do it. I used 2 example as the reference - https://github.com/...
0
votes
1answer
92 views

How to find the MAC address using NodeMCU when connecting to WiFi?

I am new to using NodeMCU and IOT. I am testing the NodeMCU (ESP8266) so that I can connect with pubnub server. Have taken code from github but there is error saying 'mac was not declared in this ...
0
votes
0answers
80 views

ESP-13 WiFi shield - “error: espcomm_upload_mem failed”

I am creating a web server with Arduino and a ESP-13 WiFi shield. The wiring is as following: Arduino UNO || ESP-13 WiFi shield 5V || .5V GND || GND TX || RX RX || ...
0
votes
0answers
61 views

WifiNINA WebServer not receiving connections

I use a MKR 1010 (firmware 1.2.1), download WifiNINA library (version 1.3.0) and started to play with it. I can connect to my Wifi network, and WifiNINA library examples such a WifiPing (which ...
0
votes
0answers
59 views

ESP8266 client.connect() generates a memory leak [duplicate]

I have an ESP8266 that has to run 24/7, it sends some data to server every our, everything works fine for about 2-3 days after that it crashes. Sometimes it resets sometimes it freezes. I got to the ...
0
votes
0answers
75 views

Problem in the library blynk

there was a problem loading the sketch, writing that the BlynkSimpleSerial.h library is missing. I tried to find on the Internet I did not tell me how to fix this error. #include <SoftwareSerial....
0
votes
2answers
43 views

Software serial conflict with WiFi on ESP8266

I'm trying to use an ESP8266 (Wemos D1 mini) to read from a 19.2K serial port and report the results over WiFi. Programming is via Arduino IDE. The code to read the port works just fine if WiFi is not ...
0
votes
2answers
42 views

What is the typical form for a finished Arduino project?

I just started with Arduino. I am an experienced software developer so the programming side was already mostly known to me, and I am surprised at just how easy Arduino have made the hardware side of ...
0
votes
2answers
113 views

Mosquitto TLS over WifiMulti on ESP8266

With these few lines I am able to attach my certificate, tell it to WifiClientSecure the certificate, start the wifi as well as the mosquito pubsubclient: WiFiClientSecure espClient; WiFi.begin(ssid, ...
0
votes
1answer
104 views

WiFi.setOutputPower();

I'm trying to cut my esp8266 range down to about a meter to save power. I know that I can adjust output power but I don't know enough to understand what a given setting will actually yield. I can ...
-1
votes
2answers
64 views

Distance measuring utilizing (1 or 2) Arduino Nano's

I would like to develop a small-distance measuring device that will be primarily used in indoor scenarios to measure a distance with cm accuracy (mm if possible). The device would be in a small form ...
1
vote
0answers
147 views

OTA port not showing up

I am using the BasicOTA file and after uploading and rebooting the board everything works and I get a message in the serial monitor saying "Ready" and my board's IP address. However, the board doesn't ...
1
vote
0answers
33 views

How to read .txt file from the internet wirelessly [closed]

I am a complete beginner to Arduino, so I'm asking this moreso to see if a project will be feasible. My ultimate goal is to have this arduino (whenever powered) check this website "https://services....
0
votes
1answer
73 views

Fetching txt file's contents from a webhost using esp8266 [closed]

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
74 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 using a ESP8266 board. I am trying to send the data collected by it to a php page in a host called "weris.link". I've ...
0
votes
2answers
970 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
91 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
152 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
1answer
167 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
1answer
32 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
103 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
81 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
26 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
174 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
90 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
1answer
36 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
669 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
29 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
193 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
172 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. ...
-1
votes
2answers
1k 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
2answers
393 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
1answer
108 views

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

As the title says, is there any easy way to replace WiFi shield with ESP8266, with as little as possible modification to code? Here is my ESP: