摘要: 基于乐鑫官网 1.先自己搭建好idf工具 2.打开 3.进入到esp-at的目录 python build.py install python build.py menuconfig 阅读全文
posted @ 2023-02-07 18:58 Yang-blackSun 阅读(19) 评论(0) 推荐(0) 编辑
摘要: ML on esp32 with micopython 前提条件micopython固件 esp32 、thonny IDE import utime from machine import Timer, Pin, I2C from drivers.mpu6500 import MPU6500, S 阅读全文
posted @ 2023-02-07 18:48 Yang-blackSun 阅读(7) 评论(0) 推荐(0) 编辑
摘要: 系统需求分析 目前很多信息技术业界大佬都把物联网视作继个人计算机、互联网之后,当今世界最具发展潜力的产业之一。物联网作为继互联网之后新一代的连接方式,正在有力带动传统产业转型升级,引领战略性新兴产业发展,推动社会生产和经济发展方式的深度变革。MQTT是教学中常见的物联网协议之一,MQTT协议是近几年 阅读全文
posted @ 2023-02-07 18:46 Yang-blackSun 阅读(5) 评论(0) 推荐(0) 编辑
摘要: 可能需要看一些esp的pwm通道配置的文档 #include "Arduino.h" //蓝牙 #include "BluetoothSerial.h" #if !defined(CONFIG_BT_ENABLED) || !defined(CONFIG_BLUEDROID_ENABLED) #er 阅读全文
posted @ 2023-02-07 18:44 Yang-blackSun 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 1.通过连接蓝牙再用手机app 去配置 wifi 2.配置wifi 的格式 是json 格式 {'ssid':'11111','password':'11111'} /*********************导入库*************************/ #include <Bluet 阅读全文
posted @ 2023-02-07 18:42 Yang-blackSun 阅读(13) 评论(0) 推荐(0) 编辑
摘要: #include <Arduino.h> #include "BluetoothSerial.h" BluetoothSerial bt1; void setup() { Serial.begin(115200); delay(5000); bt1.begin("ESP32BLUE"); Seria 阅读全文
posted @ 2023-02-07 18:39 Yang-blackSun 阅读(6) 评论(0) 推荐(0) 编辑
摘要: 实现功能前没有预测过后期情况导致蹦盘 1.蓝牙透传官方示例 #include "BluetoothSerial.h" #if !defined(CONFIG_BT_ENABLED) || !defined(CONFIG_BLUEDROID_ENABLED) #error Bluetooth is n 阅读全文
posted @ 2023-02-07 18:37 Yang-blackSun 阅读(3) 评论(0) 推荐(0) 编辑
摘要: 做这个的目地是获取mpu9250数据 按键处理按键按下 mcu暂停读取数据两秒 在loop 循环里面开始就是结束结束就是开始 用到这几库 // //mpu9250 配置 #include "MPU9250.h" // an MPU9250 object with the MPU-9250 senso 阅读全文
posted @ 2022-12-15 15:27 Yang-blackSun 阅读(13) 评论(0) 推荐(0) 编辑
摘要: #include<WiFi.h> #include<WebServer.h> WebServer esp32_server(80); //声明一个 WebServer 的对象,对象的名称为 esp32_server //设置网络服务器响应HTTP请求的端口号为 80 const char *AP_S 阅读全文
posted @ 2022-12-12 13:40 Yang-blackSun 阅读(82) 评论(0) 推荐(0) 编辑
摘要: 1.固定密码 简简单单的固定密码连接调试测试一下功能是否完备 #include<WiFi.h> const char* id="2580"; //定义两个字符串指针常量 const char* psw="1234567890"; void setup() { Serial.begin(115200) 阅读全文
posted @ 2022-12-01 08:30 Yang-blackSun 阅读(28) 评论(0) 推荐(0) 编辑
1 3