GithubHelp home page GithubHelp logo

iimmer / esp32_dns_server Goto Github PK

View Code? Open in Web Editor NEW

This project forked from weldonwangwang/esp32_dns_server

0.0 2.0 0.0 6 KB

Use ESP32 to build a DNS server and WEB server, so ESP32 can return the web to PC/Phone.

Makefile 5.53% C 94.47%

esp32_dns_server's Introduction

ESP32 dns_server

说明:将 ESP32 当做一个 dns_server and web_server,通過在客戶端登陸網頁域名:www.espressif.com 登陸網頁,獲得特定返回。

Quick start

必須

  • 你已经安装好 ESP-IDF 和工具链。
  • 你已经有一个手機或者電腦客戶端。
  • 將 ESP32 設置為 softAP 模式。

步骤

  • 使用数据线将开发板连接到你的系统中,让系统能够识别到你的板子(Windows 是COM\*, Linux 是/dev/ttyUSB\*)。
  • 进入sta所在目录。
  • 执行命名make menuconfig进行配置。
    • 对热点的 SSID 和密码进行配置。依次进入配置选项Demo Configuration --->,然后在WiFi SSIDWiFi Password中填写你的 SSID 和密码。然后退出配置菜单,保存配置。
    • 对串口进行配置。
  • 执行命令make进行编译
  • 执行命令make flash monitor将编译生成的镜像烧写到 ESP32 开发板上面,并查看串口输出。
  • 在客戶端打開瀏覽器,輸入 www.espressif.com ,獲得網頁返回。

现象

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.