How to Program 802.11bgn Wifi Module with ESP32 in RTOS?

2022-01-24 SKYLAB

In this post,SKYLAB will develop a project that contains two tasks, which perform simultaneously by the two ESP32 cores. The first task will be to automate the control of a fan from the ambient temperature. And the second task develops a daily reminder to drink water.


This project is extremely beneficial

This project is extremely beneficial especially for those who are doing home office or distance learning. As it allows the reader to fully focus on work/study without worrying about forgetting to drink water or heat. The fan automation is also great for using at night while you sleep. During periods when the temperature drops, the fan turns itself off, saving energy.


Note: They couldn't find the correct 802.11bgn Wi-Fi module of the temperature sensor on the fritzing, this was the closest thry found, however, it is not very different from the one they are using here. It has an extra thread, white, which must be ignored.


3 No basement roof slab grey structure Area


Don't forget to consider this small difference when assembling.

The red and black wires are, respectively, the positive and the negative, the same as the DS18B20, but the orange wire here is yellow in the one we're using, so don't forget to consider this small difference when assembling.


It is also important to point out that, in the part of the relay connection with the fan, an extension was made. It is possible to do this project in other ways, cutting the fan wire, for example. But that was the way chosen in this post. The following images show the extension.


802.11bgn wifi module Introduction

If you're a fan of Arduino, automation, and IOT, you're probably following the new 802.11bgn wifi module technologies on the market. And you've noticed the growing maker movement in the internet of things area. With that in mind, in this post, we bring the simplest way to install the three main WI-FI cards in the Arduino IDE.


These boards are microcontrollers with WI-FI antennas, can perform the same functions as the Arduino board, and can even be integrated into it.


There are several boards based on the 802.11bgn wifi module and ESP32 chips.


802.11bgn Wi-Fi module Materials

In addition to the boards, we are going to use some components to develop a simple recorder for ESP01.

• ESP01;

• ESP12E;

• NodeMCU;

• ESP32;

• USB Serial TTL Converter;

• 3 resistors of 10K OHM;

• 2 push buttons;

• Male-female jumpers;

• circuit jumpers;

• Protoboard.

Low cost and fast dissemination

As we already mentioned, the 802.11bgn wifi module is a microcontroller chip that revolutionized the motion maker for its low cost and fast dissemination. What is most striking is that it has Wi-Fi enabling the connection of various devices to the internet or local network. It performs well for many tasks, in addition to having a very stable connection.


The chip in its original form used in end products for third parties, for prototyping, and to facilitate handling, manufacturers have created modules and development boards, such as:


Most common and simplest module

The most common and simplest 802.11bgn wifi module has only control pins and two GPIOs for input and output. The TX and RX pins can be declared as digital input and output. But this way it will not be possible to make serial communication with another module or board through the pins.


Like the ESP01, ESP12E derives from the 802.11BGN chip, however, it has more features. The ESP12E is commonly practice on your NodeMCU development board.


It has 22 pins, being those for power, control, communication, and GPIO's. It has an analog input from 0 to 1V and 9 analog inputs and outputs in addition to TX and RX.


More versatile than its predecessor

This small component proves to be more versatile than its predecessor, the 802.11bgn wifi module, as in addition to the classic Wi-Fi communication module. It features a system with a Dual-Core processor, hybrid Bluetooth, and multiple built-in sensors, making the construction of a system like the internet of things (IoT) much simpler and more compact.


The Arduino is very interesting for projects where it is necessary to monitor temperatures, sound, lighting, liquid flow, and the most diverse variables in our daily lives.


Use a display to monitor the variables

In most projects, we use a display to monitor the variables. And in some control projects, the magnitude of interest is not display. This creates problems in the long run, because, in cases of design errors, or possible problems, it is desirable to know in which condition the defect.


Let's think about the case of a drug storage system like insulin. Where the temperature must always be between 2°C to 8°C at the most. It would be very interesting to be able to save all the measurements. So that it is easy to assess whether the drug is in good condition.


Conclusion

Access to data in a datalogger without an 802.11bgn wifi module wireless connection is through a physical interface, which makes real-time visualization difficult. With the use of a cloud database, we have the advantage of retaining data like a Datalogger and real-time visualization.


授权代理商:世强先进(深圳)科技股份有限公司
技术资料,数据手册,3D模型库,原理图,PCB封装文件,选型指南来源平台:世强硬创平台www.sekorm.com
现货商城,价格查询,交期查询,订货,现货采购,在线购买,样品申请渠道:世强硬创平台电子商城www.sekorm.com/supply/
概念,方案,设计,选型,BOM优化,FAE技术支持,样品,加工定制,测试,量产供应服务提供:世强硬创平台www.sekorm.com
集成电路,电子元件,电子材料,电气自动化,电机,仪器全品类供应:世强硬创平台www.sekorm.com
  • +1 赞 0
  • 收藏
  • 评论 0

本文由董慧转载自SKYLAB,原文标题为:How to program 802.11bgn Wifi Module?,本站所有转载文章系出于传递更多信息之目的,且明确注明来源,不希望被转载的媒体或个人可与我们联系,我们将立即进行删除处理。

相关研发服务和供应服务

评论

   |   

提交评论

全部评论(0

暂无评论

相关推荐

Wifi Module MT7628: How to Use Step by Step Guide?

This project SKYLAB will explain in detail how to create a device to measure the level of a water reservoir with graduation from 20% to 20%, to present the results through a Web Server.

2022-01-27 -  设计经验 代理服务 技术支持 批量订货

【经验】从性能出发,串口Wifi模块ESP8266和ESP32-C3怎么选?

ESP32-C3作为ESP8266的升级版,在工程师关注的性能上,ESP32-C3拥有双核处理器,有更大的RAM、内存,且支持蓝牙和以太网支持等附加功能,速度、内存和GPIO引脚数量都是要优于ESP8266。更关注产品性能,且有蓝牙技术需求优先选择ESP32-C3方案,如果wifi部分就可以满足全部需求,选择ESP8266方案即可。

2023-08-18 -  设计经验 代理服务 技术支持 批量订货

What is Long Range Wifi Wireless Module?

Long range wifi wireless module that allows you to receive a Wi-Fi signal and process it. Using the Wi-Fi module, the PC user will be able to connect to the wireless network distributed by the router.

2022-03-18 -  设计经验 代理服务 技术支持 批量订货

天工测控(Skylab)无线模块选型表

目录- GNSS模块    GNSS+天线一体化模块    WiF模块    BLE蓝牙模块    WiFi+蓝牙组合模块   

型号- SKM2101,WG209,SKG122C,SKM88,SKW92B,SKM89,SKW92A,SKM2102,SKG17DT,SKM2105FR,SKM86,TR6260,SKM2505,MT7612E,SKM2105,MT7688A,SKG12D,SKG122S,SKG12F,SKW496C,SKM2308DR,SKG12A,SKG092C,SKG122Y,SKW497,SKM80,SKM81,SKM82,SKG09BL,SKW3000,SKG093Q,SKG122GR,SKG093N,SKB501,SKG1223,SKG121S,SKG121T,RTL8812,SKM61C,RTL8811,ESP32-H2,MT7610E,SKG12BL,SKM2505NR,SKG16BL,SKG12DT,WG822,SKG123NRD,WG821,SKG12UR,SKM2305NDR,SKM2102SR,SKG09DT,SKM2105QR,MT7601,RTL8821CS,SKM2102CR,SKG122ER,SKG123L,SKG123N,SKG17D,LCS6260,SKG123Q,SKW101,SKW100,SKW103,SKG123NR,SKG121SA,MT7620A,WG243,SKM2308,SKG09,ESP32-S3,SKM2302,SKM2305,SKG123NT,QCA9887,MT7628,SKM-6DM,SKW78,LCS2028,BK7231,SKM2302DR,RTL8822CS,ESP32-C2,MT7981,ESP32-C5,SKM2102ER,SKB380,SKB381,WG239,BL2028,SKG8212,SKM65C,WG233,SKW77,MT7603E,WG231,WG238,ESP8266,WG237,WG236,WG235,ESP32,WG241,QCA9531,WG240,RTL8852,SKM81F,SKG123ND,SKM65,WG229,SKM2105DR,SKM61,SKW17AE,SKB376,WG222,SKB379,SKB378,ECR6600,WG226,WG225,SKB369AA,SKM80D,SKG172T,MT7697D,SKM2101MR,SKM80F,SKG16,SKG17,SKM55,WG219,SKB360,SKW93A,WG217,SKG12,SKB362,SKM51,SKB361,SKM52,SKM53,SKG09D,ESP8285,SKG09F,SKW99,MT7621A,SKG09A,SKB369,WG215,SKG09L,SKM51G,SKM51F,SKM51C,MT7628N,SKB360I,IPQ6000,SKM2105NR

2023/4/14  - 天工测控  - 选型指南 代理服务 技术支持 批量订货

天工测控(Skylab)USB接口/SDIO接口/UART接口WiFi模块产品介绍

描述- 天工测控(Skylab)WiFi产品介绍。

型号- WG209,SKW92B,SKW92A,MT7628A,WG223,WG222,MT7612E,RTL8811CU-CG,WG221,MT7620A,RTL8723DS,MT7688A,WG225,SKW78,MT7697D,MT7601U,RTL8821CS,MT7620,MT7687,WG219,WG217,SKW93A,MT7610U,WU106,SKW75,SKW97,WG211,SKW77,SKW99,MT7621A,MT7603E,SKW71,WG215,ESP8266,SKW73,SKW95,SKW72,ESP32,MT7628N,QCA9531,RTL8189ES,MT7610E,QCA9331

2018年10月8日  - 天工测控  - 商品及供应商介绍  - V1.0 代理服务 技术支持 批量订货

WG243 Wi-Fi 6双频2T2R+蓝牙5.2 USB组合模块规格书

描述- WG243是一款高度集成的Wi-Fi 6双频2T2R + Bluetooth 5.2 USB组合模块,支持2流802.11ax解决方案,具有多用户MIMO功能。该模块集成了WLAN MAC、2T2R WLAN基带和RF,适用于智能手机和便携式设备。

型号- WG243

30-Mar-2023  - 天工测控  - 数据手册  - V1.01 代理服务 技术支持 批量订货

【选型】 高品质国产5G WiFi模块推荐

5G WiFi是指采用802.11ac协议,运行在5Ghz频段的WiFi。和时下热门的5G通信有别的是,前者的5G是指第五代通讯技术——5-Generation,而5G WiFi是5GHz无线电波频段。作为WiFi模块专业研发厂商,SKYLAB就经常接到有关5G WiFi模块的应用咨询。在这里SKYLAB小编简单为大家介绍几款SKYLAB 5G WiFi模块WG217,WG211。

2019-06-11 -  器件选型 代理服务 技术支持 批量订货

SKYLAB High Performance 2.4g 5g Dual Band UART Wifi Module SKW78,Integrates a Dual Core MIPS1004Kc (880MHz)

SKYLAB SKW78 High Performance 2.4g 5g dual band UART Wifi module,This module is perfectly suitable for 802.11 a/b/g/n/ac Wi-Fi Solution and integrates a dual core MIPS1004Kc (880MHz).

2022-01-14 -  新产品 代理服务 技术支持 批量订货

WG246规格书Wi-Fi 6双频2T2R+蓝牙5.2 USB组合模块

描述- 本资料为深圳市天工测控技术有限公司(Skylab M&C Technology Co., Ltd)生产的WG246 Wi-Fi 6双频段2T2R+蓝牙5.2 USB组合模块的技术数据手册。该模块支持802.11ax无线局域网标准,具备多用户MIMO功能,同时集成蓝牙5.2控制器,适用于智能手机和便携式设备。

型号- WG246

30-Oct-2023  - 天工测控  - 数据手册  - V1.01 代理服务 技术支持 批量订货

SKW3000 AX3000 WLAN 规格书

描述- SKW3000 AX3000 WLAN模块规格书介绍了该模块的技术细节和应用范围。该模块采用MT7981A+MT7976C+MT7531AE芯片组,支持802.11a/b/g/n/ax Wi-Fi 6标准,具备双核MIPS1004Kc处理器、3端口GBE交换机和多种接口。适用于无线路由器、无线中继器、家庭自动化等领域。

型号- SKW3000

8-Oct-2023  - 天工测控  - 数据手册  - V1.02 代理服务 技术支持 批量订货

SKW496C规格书AP/路由器/网关2T2R 11 A/B/G/N/AC/AX Wi-Fi6模块

描述- 本资料为SKW496C无线模块的数据表,介绍了该模块的技术规格和应用。SKW496C是一款集成了Wi-Fi 6功能的2T2R模块,适用于低功耗、低成本和高度集成的接入点(AP)、路由器和网关设备。它基于Qualcomm Atheros IPQ6000芯片组,支持高达1700Mbps的802.11ax数据速率。

型号- SKW496C

23-Nov-2021  - 天工测控  - 数据手册  - V1.01 代理服务 技术支持 批量订货

SKW71 802.11b/g/n AP/中继器和UART WIFI模块产品介绍

描述- 该资料介绍了深圳市天工测控技术有限公司生产的SKW71型号WiFi模块。该模块符合IEEE 802.11b/g/n标准,适用于低功耗、低成本和高集成度的接入点(AP)、中继器(repeater)和消费电子设备。它基于AR9331单芯片解决方案,集成了802.11n 1x1 MAC/BB/radio,支持高达72 Mbps的20 MHz信道速率和150 Mbps的40 MHz信道速率。模块支持AP模式、客户端模式和重复器模式,并可通过UART接口实现Wi-Fi透明传输。

型号- AR9331,SKW71_E,SKW71,SKW71_P

20140215  - 天工测控  - 数据手册  - V3.01 代理服务 技术支持 批量订货

WG223规格书SDIO 2.4GHz 802.11n 1T1R Wi-Fi模块

描述- WG223是一款高度集成的SDIO接口2.4GHz 802.11b/g/n 1T1R无线局域网网络控制器。该模块包含WLAN MAC、1T1R能力的基带和WLAN射频,提供高吞吐量性能集成无线局域网设备的完整解决方案。

型号- WG223

7-Nov -2023  - 天工测控  - 数据手册  - V1.04 代理服务 技术支持 批量订货

WG217 802.11 a/b/g/n/ac USB WiFi模块产品介绍

描述- WG217是一款高度集成的USB WiFi模块,支持高达433Mbps的PHY速率。它符合IEEE 802.11ac草案规范,提供丰富的无线连接功能和可靠的传输速度。该模块适用于多种设备,如IP摄像头、智能电视、游戏机等。

型号- WG217,WG217_XXX

20-June-2022  - 天工测控  - 数据手册  - V2.03 代理服务 技术支持 批量订货

Dual-band AP Routing WIFI5 Module Recommended SKW78, SKW93A and SKW100

Let Skylab introduce to you the dual-band Wi-Fi module router solution. In addition, Skylab will introduce several dual-band WiFi5 modules based on MTK and Qualcomm solutions.

2023-10-31 -  器件选型 代理服务 技术支持 批量订货
展开更多

电子商城

查看更多

品牌:天工测控

品类:a/b/g/n/ac WLAN System Module

价格:¥60.2000

现货: 6

品牌:天工测控

品类:IOT WLAN ModuleWi-Fi Module

价格:¥12.6000

现货: 168

品牌:天工测控

品类:IoT WLAN Module

价格:¥20.3000

现货: 48

品牌:天工测控

品类:无线模块

价格:¥22.4000

现货: 0

品牌:天工测控

品类:IOT WLAN Module

价格:¥12.6000

现货: 0

品牌:SILICON LABS

品类:WiFi module

价格:¥245.5920

现货: 1

品牌:SILICON LABS

品类:Wi-Fi module

价格:

现货: 0

品牌:SILICON LABS

品类:Wi-Fi® Module

价格:

现货: 0

品牌:信驰达

品类:Wi-Fi模组

价格:

现货: 0

品牌:信驰达

品类:Wi-Fi模组

价格:

现货: 0

品牌:

品类:

价格:

现货:

品牌:

品类:

价格:

现货:

品牌:

品类:

价格:

现货:

品牌:

品类:

价格:

现货:

品牌:

品类:

价格:

现货:

品牌:

品类:

价格:

现货:

品牌:

品类:

价格:

现货:

品牌:

品类:

价格:

现货:

品牌:

品类:

价格:

现货:

品牌:

品类:

价格:

现货:

现货市场

查看更多

品牌:天工测控

品类:WIFI模块

价格:¥15.1894

现货:465

品牌:

品类:

价格:

现货:

服务

查看更多

物联网天线方案设计/虚拟天线芯片方案设计

Ignion可支持多协议、宽频段的物联网天线方案设计,协议:Wi-Fi、Bluetooth、UWB、Lora、Zigbee、2G、3G、4G、5G、CBRS、GNSS、GSM、LTE-M、NB-IoT等,频段范围:400MHz~10600MHz。

最小起订量: 2500 提交需求>

WIFI射频及通信协议测试

可根据用户的wifi模块,使用无线连接测试仪MT8862A,测试IEEE802.11a/b/g/n/ac (2.4Ghz和5Ghz)设备的TX、RX射频特征,输出测试报告。支持到场/视频直播测试,资深专家全程指导。

实验室地址: 深圳 提交需求>

查看更多

授权代理品牌:接插件及结构件

查看更多

授权代理品牌:部件、组件及配件

查看更多

授权代理品牌:电源及模块

查看更多

授权代理品牌:电子材料

查看更多

授权代理品牌:仪器仪表及测试配组件

查看更多

授权代理品牌:电工工具及材料

查看更多

授权代理品牌:机械电子元件

查看更多

授权代理品牌:加工与定制

世强和原厂的技术专家将在一个工作日内解答,帮助您快速完成研发及采购。
我要提问

954668/400-830-1766(工作日 9:00-18:00)

service@sekorm.com

研发客服
商务客服
服务热线

联系我们

954668/400-830-1766(工作日 9:00-18:00)

service@sekorm.com

投诉与建议

E-mail:claim@sekorm.com

商务合作

E-mail:contact@sekorm.com

收藏
收藏当前页面