ES-28YuqoriPremium

ESP32 WebSocket Counter (2 Buttons + LCD + Real-Time Web)

In this project, two buttons wired to the ESP32 (GPIO 5 counts up, GPIO 4 counts down) change a counter. The value updates instantly both on a 16x2 I2C LCD and, through the WebSocket support of ESPAsyncWebServer, in every connected browser without reloading the page. Instead of HTTP polling a single persistent connection is used, and the ESP32 sends the new value to everyone with ws.textAll().

4.5(14)
23 bajarildi
ESP32 WebSocket Counter (2 Buttons + LCD + Real-Time Web)
You raise and lower a number with two buttons, and it changes at the same moment on the small screen and in your phone's browser, without refreshing the page. The ESP32 joins your Wi-Fi, opens a web page and writes its address on the top line of the screen, and everyone who opens that page sees the number change instantly. Live scoreboards and instant notifications work the same way.

Manba kodi

Premium kontent

Bu loyihaning manba kodi, blokli ko‘rinishi va ko‘p so‘raladigan savollari Premium a’zolar uchun ochiq.

  • Barcha loyiha kodlari
  • Blokli ko‘rinish
  • Ko‘p so‘raladigan savollar