INT 21h

Select language

Wifi manager for ESP8266

№ 9737 В разделах: Electronics ESP8266 Programming от February 13th, 2019,
В подшивках: , ,

In Arduino IDE library you can find wifi manager (https://github.com/tzapu/WiFiManager). It will help you to connect your device to you home wifi without hardcoding credentials.

My projects where used wifi managers:

If you interested check whole tag.

Sample code:

#include <ESP8266WiFi.h>
#include <DNSServer.h>
#include <ESP8266WebServer.h>
#include <WiFiManager.h>

void setup() {
    ....
    WiFiManager wifiManager;
    wifiManager.autoConnect("my-device-name");
    ....
}

More examples here.

Нет комментариев »

Leave a Reply

Your email address will not be published. Required fields are marked *

*

Облачная платформа
Яндекс.Метрика

Fortune cookie: "I say that religion is the belief in future life and in God. I don't believe in either." [Clarence Darrow, interview, N.Y. Times, 19 April 1936]