[hard core] dream back to the bully
Growing up is a process of constant loss.
The author is a post-90s.
When we were young, our family conditions were poor and the means of entertainment were very poor. Unlike today's children who can play with mobile phones, tablets and computers, at that time, a stack of small raccoon Water Margin cards can play for a whole day. If there ...
Posted by George Botley on Thu, 17 Feb 2022 13:14:19 +0100
MCU C language JSON data processing
1, JSON development ideas
Recently, there is a project that uses JSON data to communicate with the host computer. I will share the development process with you. At first, I wanted to use the JSON library provided by MDK, and there was no problem in compiling, but finally I found that the library had requirements for the compiler, which was not ...
Posted by Ehailey on Thu, 17 Feb 2022 07:37:53 +0100
Introduction and example of timer based on cumbmx
Introduction and example of timer based on cumbmx
This paper will introduce the basic functions and application methods of timer, and take ultrasonic sensor as an example to show its application
Required materials: stm32 single chip microcomputer, stm32cumbmx software, HC_SR04,CH340
The use of serial communication USART is not discussed her ...
Posted by montana111 on Wed, 16 Feb 2022 03:24:50 +0100
STM32 basic learning
Analysis of one click download principle of P3 serial port circuit
Pull up circuit
triode
b is the base, c is the collector and e is the emitter
When used as a switch, NPN triode: when b is connected to low level, the circuit is cut off, and when b is connected to high level, the circuit is saturated and on; PNP triode: if b is connecte ...
Posted by coppercoins on Tue, 15 Feb 2022 05:15:21 +0100
webots notes the next day
webots notes the next day
1. Use of actuator
The actuator is also similar to the sensor, and the label used is Wb_Device_Tag, the calling function is also wb_robot_get_device(), but there is no need to call the open function wb_*_enable(). For motion control, the action is divided into several steps for control.
wb_motor_set_position() gi ...
Posted by dugindog on Sun, 13 Feb 2022 17:53:00 +0100
Bare metal IIC driver (Linux Driver Development)
1. Bare metal drive
Single chip microcomputer A and sensor BIt is written without the help of the API of linux kernel, that is, bare metal (single chip microcomputer)Principle: to communicate between A and B, we need to write A driver protocol for A and B to communicate. The writing driver is divided into host driver and device driver. In fact ...
Posted by svgmx5 on Sat, 12 Feb 2022 17:33:12 +0100
Huada MCU: HC32f460 startup process and clock analysis
Huada HC32f460 startup analysis and clock configuration
Statement: the personal experience written due to learning may be wrong due to limited ability
software environment
System: win10sdk version: hc32f460_ ddl_ Rev2. zeroData manual version: HC32F460 series user manual Rev1 21.pdfide: keil5Development board: official evaluation board ( ...
Posted by rubing on Sat, 12 Feb 2022 09:41:03 +0100
Fledgling Xiao Li's 102nd blog talk about function pointers
Function pointer digression
A function is a function A pointer is a pointer Pointer function is a function Function pointers are pointers
The essence of function pointer
The essence of function pointer is pointer, the essence of pointer is address, and the object pointed to by function pointer is a function. The function pointer is generally ...
Posted by SsirhC on Thu, 10 Feb 2022 00:38:29 +0100
The health management system based on Huawei cloud IoT is designed and the application side development is completed
1, Foreword
In recent years, with the progress of science and technology and the arrival of intelligent wave, intelligent wearable devices are also developing rapidly. All kinds of health smart bracelets, smart watches, smart running shoes and smart glasses have been listed one after another, and there are many health management devices for in ...
Posted by LoneTraveler on Tue, 08 Feb 2022 19:01:38 +0100
STM32 HAL library realizes FreeRTOS+FreeModbus (slave)
Software preparation: FreeModbus source code: Source code address of FreeModbus master and slave Development tools: Keilv5 and CubeMX Hardware platform: STM32F407VET6 (with RS485 interface)
1. Generate Keil project with CubeMX:
Skip other basic parts. Here are some points that need attention. Configure the system debugging pin and select the ...
Posted by Dvorak on Tue, 08 Feb 2022 00:53:16 +0100