INT 21h

Hi, I am Vladimir Smagin, SysAdmin and Kaptain. Telegram Email / GIT / RSS / GPG

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: QOTD: "Whip me, beat me, come all over me, tell me you love me. Then get the fuck out."