stm car HAL library speed measurement PID speed regulation Bluetooth OLED use

//Redirect serial port one int fputc(int ch,FILE *stream) { HAL_UART_Transmit( & amp;huart1,( uint8_t *) & amp;ch,1,0xFFFF); return ch; } //typedef struct __FILE FILE; When using printf, add #include<stdio.h>; 2. Serial port interrupt callback function uint8_t g_ucUsart3ReceiveData; //Save the data received by serial port 3 main.c HAL_UART_Receive_IT( & amp;huart3, & amp;g_ucUsart3ReceiveData,1); //Serial port three receives data […]

C# combined with Halcon template matching + measurement (1)

Table of Contents 1. Halcon implementation 2. vs implementation 2.1 Interface settings 2.2 Preparation panel control object 2.3 Implement the function of loading images 1. Halcon implementation Feel free to use the relevant template matching + measurement cases in the halcon case. The following code is for reference only. ************1..Create a positioning template************ dev_set_draw (‘margin’) […]

[Image Segmentation] Image detection (segmentation, feature extraction), measurement and filtering of various features (area, etc.) (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 […]

Design and production of temperature measurement alarm system based on 51 microcontroller

Tip: After the article is written, the table of contents can be automatically generated. For how to generate it, please refer to the help document on the right. Article directory Preface 1. Purpose of internship 2. Internship tasks 2.1 Design the hardware circuit of the temperature measurement alarm system 2.2 Temperature measurement and alarm system […]

Citrus color range size measurement system based on OpenCV

1. Research background and significance Project ReferenceAAAI Association for the Advancement of Artificial Intelligence research background and meaning Citrus is an important fruit with rich nutritional value and wide market demand. Accurately measuring the color range and size of citrus is very important during the growing and selling of citrus. Traditional methods of measuring citrus […]

Application Utility – Video Input using OpenCV and Similarity Measurement OpenCV v4.8.0

Previous tutorial: Reading geospatial raster files using GDAL Next tutorial: Creating a video using OpenCV Original author Bernát Gábor Compatibility OpenCV >= 3.0 Goals Today, owning a digital video recording system has become a common phenomenon. So what you end up dealing with is no longer a batch of images, but a stream of video. […]

STM32 ADC NTC thermistor halves (halved) look-up table method to achieve temperature measurement function

This article mainly describes – the idea and code implementation of the temperature measurement function of the STM32 ADC NTC thermistor bisection (halved) look-up table method NTC related attributes: R25=10K±3% B25/50=4100K±3% 10K pull-up The circuit diagram of STM32 ADC to implement NTC temperature measurement is as follows: The ADC resolution of STM32 is 12 bits, […]

Binocular vision practice–single view measurement method

Table of Contents 1. Introduction 2. 2D transformation 1. Isometric transformation (Euclidean transformation) 2. Similar transformation 3. Affine transformation 4. Projective transformation (perspective transformation) 5 Conclusion 3. Shadow cancellation point and shadow cancellation line 1. Lines on a plane 2. Intersection point of straight lines 3. 2D infinity point 4. Infinity straight line 5. Perspective […]