STM32-HAL library motor development encoder
Encoder programming is based on STM32F407IG, and the pre basic knowledge is timer input capture.
Detailed explanation of principle
The types of encoders include incremental encoder, absolute encoder and hybrid absolute encoder. This experiment uses incremental encoder The schematic diagram of the basic encoder is shown in the figure below. Ro ...
Added by nsarisk on Wed, 09 Mar 2022 09:47:54 +0200
Analysis of STM32F407 assembly startup file (initial part of OTA)
Origin of the problem
In the process of writing STM32 OTA program, I was confused about the implementation of the first word storage stack top address and the second word storage interrupt vector table in FLASH. I was not sure at which stage of the program these two addresses were fixed in FLASH. After querying the data, I found that they were ...
Added by Paul Ferrie on Tue, 08 Mar 2022 23:35:31 +0200
stm32 configuration summary using Systick tick counter
The system tick timer is a peripheral that exists in all m3 cores, but the number of other timers in m3 cores is different. Therefore, the system tick timer is generally used as the system time base, which is also convenient for the transplantation of RTOS in different chips.
1. Configure tick timer
On the graphic page of cubemx, you ...
Added by swampone on Tue, 08 Mar 2022 17:37:48 +0200
8051 of MCU entry is connected to 1062 LCD display characters
preface
Display unit is the most important output device in embedded engineering and electronic products. 16x2 LCD is one of the most commonly used display units. 1602 LCD indicates that there are two lines, each line can display 16 characters, and each character occupies 5X7 matrix space on the LCD.
In this paper, we connect 1602 LCD modul ...
Added by MattDunbar on Sun, 06 Mar 2022 06:27:48 +0200
STM32 timer input capture
STM32 timer input capture
STM32F429 is used as a timer to capture the PWM waveform, and the cycle, frequency, duty cycle and forward pulse width of the waveform are measured.
Basic principles
The input acquisition of timer is mainly to measure the frequency, pulse width, duty cycle and other information of input signal.
You need to understa ...
Added by astarmathsandphysics on Sat, 05 Mar 2022 15:10:37 +0200
STM32 -- FSMC simulates 8080 timing to light up the LCD
catalogue
Monitor introduction
Liquid crystal display
Basic parameters of display
Liquid crystal control principle
Introduction to ILI9341 LCD controller
Signal line and 8080 timing of LCD
FSMC of STM32 is used to simulate 8080 interface timing
Introduction to FSMC
Memory controller
Clock control logic
FSMC analog 8080 timing
Softwa ...
Added by MCrosbie on Fri, 04 Mar 2022 05:49:17 +0200
STM32 learning from scratch - SPI reading and writing FLASH
STM32 learning from scratch @EnzoReventon
SPI read / write FLASH
Related links: Introduction to SPI physical layer and FLASH chip SPI protocol layer SPI features and architecture
reference material: [wildfire EmbedFire] practical guide for STM32 Library Development -- Based on wildfire Decepticon development board [punctual atom] STM32F4 Dev ...
Added by Scip on Thu, 03 Mar 2022 22:48:05 +0200
Record 6 - stm32f411ceu6 the actual small-scale comprehensive application project
preface
The previous learning is divided into several modular knowledge points. The learned knowledge needs to be combined for practice, and the comprehensive and flexible application ability of the learned MCU knowledge is more investigated. (the writing is relatively basic. If there is any error, please correct it)
task
requirement
LE ...
Added by amreiff on Wed, 02 Mar 2022 14:13:12 +0200
Configuration and application of IOT hardware on OneNET platform
01 overview
NB-IoT
NB IOT (Narrow Band Internet of Things) is a narrowband Internet of things technology based on cell, which supports low-power devices to connect cellular data in low-power wide area Internet of things (LPWAN).
LWM2M protocol
The full name of LwM2M is lightweight machine to machine. It is a lightweight protocol formulate ...
Added by bastien on Tue, 01 Mar 2022 17:53:12 +0200
Memory management experiment
More exchanges, welcome tiktok, 81849645041
objective
Understand internal memory and external memory, and realize the dynamic management of memory.
principle
Memory management refers to the technology of allocating and using computer memory resources when software is running. Its main purpose is how to allocate efficiently and quickly, and ...
Added by GKWelding on Mon, 28 Feb 2022 03:53:48 +0200