当前位置:网站首页>ESP8266简介:三种编程方式「建议收藏」
ESP8266简介:三种编程方式「建议收藏」
2022-06-29 10:44:00 【全栈程序员站长】
大家好,又见面了,我是你们的朋友全栈君。
随着互联网的日益发展,智能家居的观念也逐渐深入人心。想要玩转智能家居,就离不开互联网,今天给大家介绍一款模块——ESP8266。小编将手把手教大家利用8266实现家电的控制。 ESP8266 可以用来做串口透传,PWM 调控,远程控制开关:控制插座、开关、电器等。该模块有三种工作模式,大家可以根据自己的具体情况来选择:
STA 模式:ESP8266 模块通过路由器连接互联网,手机或电脑通过互联网实现对设备的远程控制。
AP 模式:ESP8266 模块作为热点,手机或电脑直接与模块连接,实现局域网无线控制。
STA+AP 模式:两种模式的共存模式,即可以通过互联网控制可实现无缝切换,方便操作。 ESP8266有几种不同的使用方式,适用于不同水平的开发工作者。下面给大家介绍:
1、使用AT指令进行操作:这是最常见的方式,也是最简单是一种方式。无需编程,使用PC端的串口助手配合简单的指令就可以实现,也可以配合单片机发送指令使用。
2、LUA语言编程:这是一种单独8266编程的方式,可以不依靠单片机和串口调试软件,直接把程序编写到8266内部。
3、Arduino 开发环境编程:这个接触过Arduino的都会比较熟悉。可以直接在Arduino ide的环境下使用Arduino的开发方式进行开发。个人比较推荐这种方式,因为比较容易接受与理解。arduino相关资料也比较多。
发布者:全栈程序员栈长,转载请注明出处:https://javaforall.cn/132365.html原文链接:https://javaforall.cn
边栏推荐
- 微博评论架构设计
- 软件工程导论——第五章——总体设计
- (JS) catch errors (exceptions)
- MySQL开启慢查询
- PyTorch学习之归一化层(BatchNorm、LayerNorm、InstanceNorm、GroupNorm)[通俗易懂]
- 【高并发】缓存思路
- 安全 创新 实践|海泰方圆受邀参加“数字时代的网信创新与价值共创”技术交流研讨会
- [untitled] I am plotting a big event
- The Chinese Computational Linguistics Conference and the national knowledge atlas and Semantic Computing Conference are in full swing
- Babbitt | yuancosmos daily must read: HTC announced the launch of the first yuancosmos mobile phone, which costs about 2700 yuan. What are the new ways to play
猜你喜欢

高效远程办公的基石:有效沟通 |社区征文

How to test the performance of container platform, including stability, expansion efficiency and component performance

TTL serial port learning infrared remote control module can be extended to network control

Opencv4.0 installation of raspberry pie for Xiaobai

【每日3题(3)】重新格式化电话号码

XML external entity injection vulnerability (I)

又拍雲 Redis 的改進之路

Google Earth engine (GEE) - Gedi L2a vector canopy top height (version 2) global ecosystem data set

美创入选信通院“业务安全推进计划”首批成员单位

Today in history: musk was born; Microsoft launches office 365; The inventor of Chua's circuit was born
随机推荐
Modbustcp protocol WiFi wireless learning single channel infrared module (small shell version)
基于集群的动态反馈负载均衡策略
What are the pop, push, unshift, and shift of the (JS) array?
The first "cyborg" in the world died, and he only transformed himself to "change his life against the sky"
又拍雲 Redis 的改進之路
Qt学习10 初探 Qt 中的消息处理
如何识别出轮廓准确的长和宽
Micro blog comment architecture design
PyTorch学习之归一化层(BatchNorm、LayerNorm、InstanceNorm、GroupNorm)[通俗易懂]
[untitled] I am plotting a big event
【每日3题(1)】判断国际象棋棋盘中一个格子的颜色
Unity learning notes --vector3 how to set default parameters
在日本的 IT 公司工作是怎样一番体验?
Modbustcp protocol network learning single channel infrared module (double-layer board)
Bs-gx-017 online examination management system based on SSM
Follow Me Study HCIE-Big Data-Data Mining 第一章 数据挖掘介绍 模块一
Pull and push ideas behind rxjs observable design principles
Google Earth engine (GEE) - Gedi L2a vector canopy top height (version 2) global ecosystem data set
Hit the industry directly! The first model selection tool in the industry was launched by the flying propeller
After 22 years in office, the father of PowerShell will leave Microsoft: he was demoted by Microsoft for developing PowerShell