2023-12-01 基于ESP8266的智能家居灯的设计 基于ESP8266的智能家居灯的设计 设计外观功能描述使用ESP8266模块接入巴法云物联网平台可使用小爱同学进行语音控制灯的开关、亮度等。使用arduino平台开发,可自定义语句控制命令。采用宽电压供电,可接入太阳能系统。原理图使用链接自提官方代码下载链接 2023年12月01日 0 阅读 0 评论
2023-12-01 防丢失,5G雷达模块移动探测器 防丢失,5G雷达模块移动探测器 PCB外观布局功能使用5G雷达模块探测移动物体当有物体移动时,模块的输出信号被单片机捕获,后使蜂鸣器啸叫搭配3.7V锂电池供电,摆脱电源原理图C51源码#include <STC8G.H> #define u8 unsigned char #define u16 unsigned int sbit single = P3^2; sbit bb = P3^3; sbit out1 = P1^6; sbit out2 = P1^7; u8 num0=0; u16 num1=0; void Timer0_Init() //2500微秒@11.0592MHz 2.5ms { AUXR |= 0x80; //定时器时钟1T模式 TMOD &= 0xF0; //设置定时器模式 TL0 = 0x00; //设置定时初始值 TH0 = 0x94; //设置定时初始值 TF0 = 0; ... 2023年12月01日 0 阅读 3 评论
2023-11-30 考研倒计时22天2023.11.30 考研倒计时22天2023.11.30 时光匆匆,岁月无声23年11月的最后一天未来的日子,只剩下当下的拼搏,加油干! 2023年11月30日 0 阅读 0 评论
2023-11-29 ESP8266和Arduino的引脚对应关系表 ESP8266和Arduino的引脚对应关系表 static const uint8_t D0 = 16; static const uint8_t D1 = 5; static const uint8_t D2 = 4; static const uint8_t D3 = 0; static const uint8_t D4 = 2; static const uint8_t D5 = 14; static const uint8_t D6 = 12; static const uint8_t D7 = 13; static const uint8_t D8 = 15; static const uint8_t D9 = 3; static const uint8_t D10 = 1; 2023年11月29日 0 阅读 0 评论