Designing a Web Server Based on ESP-IDF for ESP32

Designing a Web Server Based on ESP-IDF for ESP32

1. Code The web server based on the ESP32 IDF framework includes WiFi connection, HTTP service, front-end interaction, and hardware control functions: #include <stdio.h> #include <string.h> #include "freertos/FreeRTOS.h" #include "freertos/task.h" #include "esp_system.h" #include "esp_wifi.h" #include "esp_event.h" #include "esp_log.h" #include "nvs_flash.h" #include "esp_http_server.h" #include "driver/gpio.h" #include "cJSON.h" // WiFi configuration #define WIFI_SSID "your_SSID" #define WIFI_PASS "your_PASSWORD" … Read more

How to Connect the ENC28J60 Ethernet Module to an Arduino Development Board

How to Connect the ENC28J60 Ethernet Module to an Arduino Development Board

Are you interested in Ethernet communication? In this post, we will explore the world of Ethernet communication using the ENC28J60 module and the Arduino development board. Whether you are a beginner or an experienced Arduino enthusiast, this will be helpful for you. In this article, we will learn how to connect the ENC28J60 module and … Read more

Stop Using the Antiquated HTTP/1, Upgrade to HTTP/2 with These Two Steps

Stop Using the Antiquated HTTP/1, Upgrade to HTTP/2 with These Two Steps

Recently, while analyzing SSE technology, I briefly mentioned HTTP/2, as the HTTP/1.x protocol has long been considered an “antique”. Reasons for Upgrade Upgrading from HTTP/1.x to HTTP/2 can bring various performance improvements and optimizations: Multiplexing In HTTP/1.x, each TCP connection can only handle one request or response, leading to the so-called head-of-line blocking issue. In … Read more

Gunicorn: A Practical Python Library for WSGI HTTP Servers!

Gunicorn: A Practical Python Library for WSGI HTTP Servers!

▼ Click the card below to follow me ▲ Click the card above to follow me In Python web development, server deployment has always been a headache. Is there a tool that can easily solve this pain point? Hey, today I want to introduce you to a super cool tool – Gunicorn! This is a … Read more

Step-by-Step Guide to Setting Up an Embedded Web Server on a Development Board

Step-by-Step Guide to Setting Up an Embedded Web Server on a Development Board

Follow+Star Public Account Number to not miss exciting content Source | Embedded Miscellaneous This article provides a step-by-step guide to setting up a web server on a development board in 10 minutes. The article “What are the Common Embedded Web Servers?“ shares several web servers that can be used in embedded systems. An embedded web … Read more