Data collection of AHT20 temperature and humidity sensor based on I2C protocol

Data collection of AHT20 temperature and humidity sensor based on I2C protocol 1. Basic introduction 1. What is “software I2C” and “hardware I2C” 2.AHT20 temperature and humidity sensor 2. Project establishment 3. Code part 4. Results display and summary 1. Basic introduction 1. What is “software I2C” and “hardware I2C” Software and protocol layers, hardware […]

STM32DHT11 temperature and humidity sensor module

1. Introduction to DHT11 module ?DHT11 digital temperature and humidity sensor is a temperature and humidity composite sensor with calibrated digital signal output. It applies dedicated digital module acquisition technology and temperature and humidity sensing technology to ensure that the product has extremely high reliability and excellent long-term stability. . The sensor includes a resistive […]

[WSN] Research on wireless sensor network X-Y coordinates to graphical view and bit string prefix embedding method (Matlab code implementation)

Welcome to this blog Advantages of bloggers:Blog content should be as thoughtful and logical as possible for the convenience of readers. Motto:He who travels a hundred miles is half as good as ninety. The directory of this article is as follows: Table of Contents 1 Overview 2 Operation results ? 3 References 4 Matlab code […]

C language code for temperature sensor related to I2C

#include <stdio.h> //Introduce the standard input and output library for input and output data #include <windows.h> //Introduce Windows API header files for operating Windows systems #include <winioctl.h> //Introduce Windows I/O control function header file #define I2C_ADDRESS 0x48 //Define the I2C address as 0x48, which is the address of the LM75 sensor #define I2C_REG_READ 0x00 //Define […]

STM32:AHT20 temperature and humidity sensor driver development

Note: Temperature and humidity sensor AHT20 data sheet.pdf http://www.aosong.com/userfiles/files/AHT20 Product Specification (Chinese version) B1.pdf 1. Analyze AHT data sheet document (1).Preparation 1. New construction. Configure UART2 2. Configure I2C1 as I2C standard mode, and enable interrupt and DMA settings 3. Set project parameters to generate header files and source files for each peripheral initialization, and […]

Forward Collision Warning Using Sensor Fusion

This example of Forward Collision Warning Using Sensor Fusion in the matlab autonomous driving toolbox shows how to track objects in front of the vehicle by fusing data from visual and radar sensors to achieve forward collision detection. Development and verification of collision warning systems. 1 Overview Forward Collision Warning (FCW) is an important function […]

STM32CUBEMX Analog IIC bus reading SHT40 temperature and humidity sensor

1: Use STM32CUBEMX to configure the IIC analog bus #define SHT30_SCL_PORT GPIOC #define SHT30_SCL_PIN GPIO_PIN_6 // GPIO_MODE_OUTPUT_PP #define SHT30_SDA_PORT GPIOB #define SHT30_SDA_PIN GPIO_PIN_15 // GPIO_MODE_OUTPUT_OD The SDA data pin is configured as OD output, and the CLK pin is configured as PP output. 2: SHT40 command table The command to start reading temperature and humidity […]

51 microcontroller and DHT11 temperature and humidity sensor

Table of Contents 1. Product overview 2. Product features 3. Data transmission logic 4. Data format 5. Check whether the module exists 6. Data transmission 6.1 Representation method of digital 0 signal 6.2 Digital 1 signal representation method 1. Product Overview DHT11 digital temperature and humidity sensor is a temperature and humidity sensor with calibrated […]

Java collects sensor data, personal test is effective!

Background Let’s talk about the background first Recently, the company’s project needs to use sensors to collect the temperature and humidity of the equipment, tilt angle, current… The company purchased a temperature and humidity sensor for us to develop and test, as shown below: It looks pretty exquisite, right? Get to the point With this […]

Based on STM32 atmospheric pressure sensor driver, the code is open source! ! !

Article directory summary Overall architecture process Explanation of technical terms technical details summary Development environment MCU STM32F103C8T6 Sensor BMP280 Software keil MDK Library Standard Library 1. Summary The BMP280 is an absolute air pressure sensor designed for mobile applications. The sensor module is packaged in a very compact 8-pin metal lid LGA package with a […]