INT 21h

Hi, I am Vladimir Smagin, SysAdmin, DevOps and barely good guy. Telegram Email / GIT / Микроблог / Thingiverse / GPG

Wifi manager for ESP8266

№ 9737 В разделах: Программирование Электроника ESP8266 от 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:

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.

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

ESP8266 with Samsung VFD

№ 9733 В разделах: 3D printing Программирование Электроника ESP8266 от February 13th, 2019,

Clock and weather on VFD display, wifi networking, NTP synced.

How display looks, search words “samsung vfd 20×2” or “20T202DA2J”

Wiring ESP-01 and display port

You can also check out my library for AVR projects here.

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

NTP driven clock on ESP8266 and TM1640 (+ отдельная версия для Томска с погодой)

№ 9710 В разделах: Программирование Электроника ESP8266 от February 4th, 2019,

About 8 years ago I created wall clock with bluetooth synced time. Ok, its enough. Lets go to modern world with universal wifi driven devices! Today I trashed old AVR microcontroller from wall clock and used esp8266. 8 MHz and 80MHz… feel difference! At first steps I used ESP-12 NodeMCU module to develop and debug firmware. You can do final device with this module if you absolutely novice in mcu programming, if not you can do it with ESP-01 module.

If you want get own weather from service like OpenWeatherMap use xml library, look here example.

Do not forget turn on SPIFFS 1M option in Arduino IDE. At first run device will turn on own AP with configuring interface, connect it to your wifi network. With ESP-01 modules vendored by Puya problem, SPIFFS is not accessible! Saving parameters works only with ESP-12. This problem must be solved in future SDK versions.

Download source code

Wiring for NodeMCU ESP-12 development board

Wiring for ESP-01 board

Final device after moving to ESP-01

Checkout my another clock projects:

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

Микроблог перейти

# 2019-11-20 13:13:54

Говорят вещь хорошая, надо будет поковырять на днях keel.sh/ #kubernetes #devops

# 2019-11-16 02:02:31

Хорошая шпаргалка по пластикам для печати drive.google.com/file/d/1NKB3- В принципе, данные практически сходятся с моими blindage.org/?p=10199

# 2019-11-14 15:29:01

Код quay теперь открыт www.projectquay.io/ #devops #kubernetes


© Vladimir Smagin, 2005-2019. Копирование материалов без разрешения запрещено. GPG DA4CD0F5E222EA727D6A40C413BCE12E5618F071 *
Яндекс.Метрика

Fortune cookie: Today's spam: Big Ben in London will seem not so big in front of you.