ESP32 MicroPython MQTT Development and Testing

ESP32 MicroPython MQTT Development and Testing

1. Connecting ESP32 to the Network Before performing MQTT communication, the ESP32 needs to connect to a WiFi network. Below is the code to connect to WiFi: import network import time def connect_wifi(ssid, password): # Create WiFi client interface wlan = network.WLAN(network.STA_IF) wlan.active(True) # Check if already connected if not wlan.isconnected(): print('Connecting to network…') wlan.connect(ssid, … Read more

Technical Insights: Use Ruijie to Enable WiFi Even When Your Computer is Shut Down!

Technical Insights: Use Ruijie to Enable WiFi Even When Your Computer is Shut Down!

Are you still troubled by poor signals from CMCC or China Unicom? Are you worried about running out of data at the end of the month? Now, you only need a Phicomm K1 router and a Ruijie account password to provide 24-hour WiFi coverage for your entire dormitory! Download the required files: -TFTP32/TFTP64 (depending on … Read more

Tips for Finding the Strongest WiFi Signal When Tethering

Tips for Finding the Strongest WiFi Signal When Tethering

The strength of the signal does not necessarily equate to fast internet speed, but to achieve fast speeds, a strong signal is essential. Therefore, when trying to use WiFi at Starbucks, cafes, McDonald’s, shopping malls, sports venues, hospitals, buses, or subways for a day of work (as the author only thinks about work), finding a … Read more

Disassembly Report: Wireless Cat Spirit Portable WiFi Power Bank

Disassembly Report: Wireless Cat Spirit Portable WiFi Power Bank

—– Charging Head Network Disassembly Report No. 2224 —– Introduction Portable WiFi has emerged as a popular networking device in recent years, converting mobile networks into WiFi output through an integrated wireless connection module, allowing smartphones and laptops to connect. The built-in large-capacity battery provides extended battery life, preventing smartphones from running out of power … Read more

Resolving Smart Home Network Conflicts: Zigbee and WiFi Protocol Networking Techniques

Resolving Smart Home Network Conflicts: Zigbee and WiFi Protocol Networking Techniques

The essence of smart home network conflicts lies in the competition for resources in the 2.4GHz frequency band. Establishing a system of “complementary protocol characteristics + three-dimensional network planning” can achieve stable operation. When Zigbee (2.4GHz) and WiFi (2.4/5GHz) interfere at the same frequency, the data transmission error rate increases by 40%, necessitating a comprehensive … Read more

Implementation of Dual WiFi Functionality on RK3399 with Android 10

Implementation of Dual WiFi Functionality on RK3399 with Android 10

Starting from Android 9, the WiFi concurrency feature has been supported, with the following official description: Android 9 introduces a feature that allows devices to operate in both STA and AP modes simultaneously. For devices that support Dual Band Simultaneous (DBS), this feature enables new functionalities, such as not interrupting the STA WLAN when the … Read more

Zigbee/Z-Wave/WiFi Tremble Together! Three Major Advantages of the Matter Protocol Disrupt Industry Standards

Zigbee/Z-Wave/WiFi Tremble Together! Three Major Advantages of the Matter Protocol Disrupt Industry Standards

The Matter protocol is the ultimate next-generation smart home protocol. But how does it compare to other protocols like Zigbee, Z-Wave, and WiFi? What advantages and disadvantages does it bring? Let’s explore in this article: Smart home protocols refer to the guidelines and regulations for transmitting information between internet-connected appliances and devices. Although some protocols … Read more

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

ESP32 MicroPython WiFi Testing

ESP32 MicroPython WiFi Testing

Development Steps: Connection Process 2. Core Functions Station Mode (Connect to Router) AP Mode (Create Hotspot) Network Scanning HTTP Requests Socket Communication Test Code: 1. Connect to WiFi (Station Mode) import network import time # Configure WiFi SSID ="your_wifi_ssid" PASSWORD ="your_wifi_password" sta_if = network.WLAN(network.STA_IF) sta_if.active(True) if not sta_if.isconnected(): print("Connecting to WiFi…") sta_if.connect(SSID, PASSWORD) # Wait … Read more

Product Introduction | DS-WIFI Remote Wireless Data Acquisition

Product Introduction | DS-WIFI Remote Wireless Data Acquisition

Click the blue text Follow us DS-WIFI Remote Wireless Data Acquisition The DS-WIFI device is a Wi-Fi modem used for remote wireless data transmission between our data acquisition systems. It is ideal for testing mobile objects and remote measurement applications. Main Features Remote: The DS-WIFI4 has high output power, providing a longer data transmission range … Read more