INT 21h

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

Weather and time on matrix display

№ 10974. В разделах: Electronics ESP8266 от April 2nd, 2020

В подшивках: , , ,

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.

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

ESP8266 with Samsung VFD

№ 9733 В разделах: 3D printing Electronics ESP8266 Programming от 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 В разделах: Electronics ESP8266 Programming от 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:

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

Яндекс.Метрика

Fortune cookie: There was a young man of Calcutta, Who tried to write "cunt" on a shutter. When he got to c-u, A pious Hindoo Knocked him ass-over-head in the gutter.