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
Fast implementation of Nb IOT smart gate magnetic code
in the last article, we mentioned Hardware construction of Nb IOT intelligent door magnet Next, let's talk about how to quickly realize the function code of NB gate magnetism through graffiti MCU SDK.
graffiti NM1 module generally burns graffiti general firmware. Just send various serial port instructions to the module acco ...
Added by rReLmy on Fri, 11 Feb 2022 03:10:00 +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
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
GSM home environment monitoring and alarm system based on 51 single chip microcomputer
I Hardware scheme
This design is mainly divided into five functions: temperature measurement, humidity and PM2 5 and CO and send information and alarm. With the ingenious combination of these functions with home, we already know how to realize the five separate functions. Now we need to systematically feed back the five functions through singl ...
Added by StripedTiger on Sat, 05 Feb 2022 12:22:46 +0200
[Arduino experiment 10 digital tube display]
1, Experimental purpose
(1) master the function of 1-bit nixie tube module;
(2) be familiar with the function of 4-digit nixie tube module;
(3) 4-digit digital timing display function programming
2, Experimental equipment and environment
Arduino UNO kit, Arduino IDE, computer, 1-bit nixie tube, 4-bit nixie tube, 4 220 ohm current limiting ...
Added by theflea912 on Thu, 03 Feb 2022 04:29:36 +0200
Smart home system design (monitoring + control)
introduction
As a graduate majoring in electronics, we need to write both graduation thesis and graduation design. I'm very happy that my reply officially ended a few days ago. Now I'd like to summarize and share my graduation project. I hope students interested in this project can gain something. At the same time, if you have problems or ...
Added by kayess2004 on Wed, 02 Feb 2022 21:51:58 +0200
ESP32-C3 uploads temperature and humidity to Ali Cloud Internet of Things platform through MQTT protocol
Recently, I wanted to realize that the WeChat applet controls the light switch through OneNet platform, but I didn't expect that the code of the WeChat applet has written the interface well. I found that the application management that onenet wants to issue commands is very expensive. I uphold the spirit of never giving up and resolutely conver ...
Added by keyurshah on Mon, 31 Jan 2022 04:08:25 +0200
NRF52810 transmission rate test
NRF52810 transmission speed test
Recently, there was a project to use the NRF52810 Bluetooth IC, so I bought a board to test. The current demand of the project is not very high, and the transmission speed can reach 1KB/S. The test results of everyone on the Internet are very good. It can be tested to 80KB/S in 1M mode, so I also want to try an ...
Added by Ekate on Sat, 29 Jan 2022 21:42:07 +0200
ESP32-C3 uses AsyncWebServer and HTTP client to realize dual computer communication
Because I just need to use dual computer communication to do my homework. By the way, I have found many methods on the Internet. I have tried to use Bluetooth communication, but I can only send strings (my personal ability can only reach this step, and I will further study Bluetooth communication later). The final implementation method is Async ...
Added by jharbin on Tue, 25 Jan 2022 22:26:55 +0200