How to Program 802.11bgn Wifi Module with ESP32 in RTOS?
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.
- |
- +1 赞 0
- 收藏
- 评论 0
本文由董慧转载自SKYLAB,原文标题为:How to program 802.11bgn Wifi Module?,本站所有转载文章系出于传递更多信息之目的,且明确注明来源,不希望被转载的媒体或个人可与我们联系,我们将立即进行删除处理。
相关推荐
The Features and The Network Connection Method of ESP8266 WiFi Module
ESP8266 WIFI module series is a WIFI SOC module. This artical introduces the features of ESP8266 and the network connection method of its WiFi module.
设计经验 发布时间 : 2022-03-19
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
天工测控(Skylab)无线模块选型表
描述- 深圳市天工测控技术有限公司(Skylab M&C Technology Co.,Ltd),是一家专业从事GNSS、WiFi、蓝牙等无线产品的研究和应用的高新技术企业。旨在向国内外OEM/ODM客户以及系统集成商提供高品质、高性能的无线模块和应用方案,致力为客户创造长期的价值和潜在的增长。
型号- 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,SKG123L,SKG122ER,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,WG231,MT7603E,WG238,ESP8266,WG237,WG236,WG235,ESP32,WG241,QCA9531,WG240,RTL8852,SKM81F,SKG123ND,SKM65,WG229,SKM61,SKM2105DR,SKW17AE,SKB376,WG222,SKB379,SKB378,ECR6600,WG226,WG225,SKB369AA,SKM80D,SKG172T,MT7697D,SKM2101MR,SKM80F,SKG16,SKG17,SKM55,WG219,SKB360,WG217,SKW93A,SKG12,SKB362,SKM51,SKB361,SKM52,SKM53,SKG09D,ESP8285,SKG09F,SKW99,MT7621A,SKG09A,SKB369,WG215,SKG09L,SKM51G,SKM51F,SKM51C,MT7628N,SKB360I,IPQ6000,SKM2105NR
天工测控(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
【选型】 高品质国产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
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
5 Advantages of Industry Control Wifi Module in 2022
An Industry control Wi-Fi module is the devices for receiving a wireless signal, which also for a computer and other devices can greatly expand the functionality of any device to which it is connected.
设计经验 发布时间 : 2022-03-17
What To Know About Wi-Fi Modules with USB Interfaces
Wi-Fi modules with USB interfaces provide a convenient solution for adding wireless connectivity to devices lacking built-in Wi-Fi capabilities. In this article, we will explore the key features and considerations when it comes to Wi-Fi modules with USB interfaces.
技术探讨 发布时间 : 2023-09-09
电子商城
服务
Ignion可支持多协议、宽频段的物联网天线方案设计,协议:Wi-Fi、Bluetooth、UWB、Lora、Zigbee、2G、3G、4G、5G、CBRS、GNSS、GSM、LTE-M、NB-IoT等,频段范围:400MHz~10600MHz。
最小起订量: 2500 提交需求>
可定制5G/4G/WiFi MIMO板状天线的连接头和电缆,频率范围:600~8000MHz,支持5G、4G、3G、GSM 以及双频WiFi 频段。
最小起订量: 50 提交需求>
登录 | 立即注册
提交评论