中圖分類號:TP311.1 文獻標(biāo)志碼:A DOI: 10.16157/j.issn.0258-7998.256290 中文引用格式: 丁依,何嶺松. 基于ESP32嵌入式Web服務(wù)器的手機化儀表設(shè)計[J]. 電子技術(shù)應(yīng)用,2025,51(11):107-115. 英文引用格式: Ding Yi,He Lingsong. Design of mobile phone instrument based on ESP32 embedded Web server[J]. Application of Electronic Technique,2025,51(11):107-115.
Design of mobile phone instrument based on ESP32 embedded Web server
Ding Yi,He Lingsong
School of Mechanical Science and Engineering, Huazhong University of Science and Technology
Abstract: With the development of Internet of Things technology, the performance of the single-chip microcontroller has been upgraded and the functions have become rich, and it has become feasible to use the single-chip microcontroller to create a web server and use the browser as a client to access. Drawing on its ideas, a mobile phone instrument design method that does not require software installation based on embedded Web server + browser architecture was proposed. First, the JavaScript language is used to design the commonly used mobile phone instrument elements as a 50KB library that can be embedded in the storage system of single-chip microcontroller. Then, on the basis of it, the C-style mobile phone instrument HTML web page generation function is formed. Finally, through the single-chip microcomputer web server, the encapsulated C-style mobile phone instrument HTML web page generation function is converted into the HTML web page supported by the mobile phone browser for display and user operation. It realizes the function of installing the instrument software on the lower computer, and accessing the instrument interface with zero installation and zero configuration on the client.
Key words : embedded;web server;mobile phone instrument;browser;JavaScript program;instrument library