Compete with it in summer!? [schematic diagram + source code attached]
After the beginning of summer, the temperature rises gradually. "Heat" is one of the key words of everyone in summer. How to have a cool summer?
"Turn on the air conditioner in summer!", It's cool, but it's cool! The elderly and children at home are more likely to have cold and dizziness symptoms!
"It's really e ...
Added by uday on Thu, 17 Feb 2022 14:08:07 +0200
Linux driver_ Asynchronous notification
Linux applications usually have three ways to query whether device drivers can be accessed: blocking, non blocking and asynchronous notification.
Asynchronous notification: "signal" came into being. The signal is similar to the "interrupt" used in our hardware, but the signal is at the software level. It can be regarded as ...
Added by RCB on Wed, 16 Feb 2022 05:47:00 +0200
STM32_ Ultrasonic ranging
Principle of ultrasonic ranging
Using sound ranging, the speed of sound in the air is 340m/s(15 ℃) When the sound propagates, it will bounce back if it encounters an obstacle. The distance from the transmitting end to the obstacle can be calculated by counting the rebound time
S=v*(t/2)
Ultrasonic module instruction
In the single chip m ...
Added by many_pets on Sat, 12 Feb 2022 07:10:46 +0200
ESP8266, DHT11, fan, heating plate and steering gear module are mixed, and the upper computer is used to control the movement of fan, heating plate and steering gear
Mixed use of various modules
(1) Measurement of temperature and humidity; DHT11 (2) Display of temperature, humidity and other parameters; LCD screen (3) Setting of alarm data (key); EXIT interrupt service function (4) Temperature and humidity con ...
Added by adammc on Fri, 11 Feb 2022 21:16:09 +0200
STA mode application of ESP32 WIFI & regulating Bluetooth and WIFI transmission power
The following definitions of relevant API interfaces can be viewed in l Lexin's official website: Wi Fi Library - ESP32 - ESP-IDF programming guide v4 4 documents
STA mode configuration process:
#include <string.h>
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "freertos/event_groups.h"
#include "esp_system.h"
#inclu ...
Added by munsiem on Thu, 10 Feb 2022 09:38:13 +0200
[embedded] revisit the Mini2440 - U-Boot
I preface
The s3c2440 equipped with Mini2440 has long been discontinued, but the platform will be outdated and the technology will not be outdated. It still has certain learning significance. Let's give full play to the waste heat of this development board for the last time. The technology involved in U-Boot is bare metal development. In a ...
Added by mullz on Thu, 10 Feb 2022 04:39:20 +0200
Creation of embedded system for graffiti intelligent kettle
preface
Nowadays, with the rapid development of science and technology, our home has been full of all kinds of household appliances; Among them, the kettle is one of our commonly used household equipment. The traditional kettle has only a simple heating function and can not set the heating temperature or remote control. In view of this si ...
Added by parboy on Thu, 10 Feb 2022 02:26:33 +0200
Detailed explanation and application of [005] [RT-Thread learning notes] semaphore
RT-Thread version: 4.0.5 MCU model: STM32F103RCT6 (ARM Cortex-M3 kernel)
1 Synchronization and Mutual Exclusion
First add a few concepts:
Execution Unit: Determined by the current hardware platform and the operating system it runs. For RT-Thread and STM32, the execution units are threads and interruptsCritical Zone: Multiple execut ...
Added by mcollyns on Sat, 05 Feb 2022 20:24:58 +0200
(summary) stm32subeide_ Hal Library_ STM32F103C8T6_CAN bus_ Interrupt reception
catalogue
1, CAN module configuration process
1.1 set the baud rate and related working mode of can in the graphical interface
1.2 code setting can filter and interrupt
2, CAN message sending function
3, CAN information receiving function
4, CAN receive callback function
5, Summary
The default readers of this article have the following ...
Added by wtf on Wed, 02 Feb 2022 03:27:18 +0200
Transplantation and construction of uCOSIII system multitasking
In the previous section, we built templates and created single tasks. In this section, we build multi tasks uCOSIII system transplantation (I) construction of single task
Task requirements: build three tasks (two LED s and one BUZ)
Refer to the transplantation of wildfire. (my board is different from wildfire, so I need to make s ...
Added by andylyon87 on Tue, 01 Feb 2022 16:09:36 +0200