32 single chip microcomputer controls the rotation of YINGDIAN T80 motor
32 single chip microcomputer controls T80 brushless motor through good YINGDIAN regulation
Control principle of electric regulator
Why do we need electrical regulation
The speed, positive and negative indicators of brushless motor are realized by changing the duty cycle and frequency of control signal (PWM). We can easily control PWM wit ...
Added by alivec on Mon, 06 Dec 2021 21:26:31 +0200
STM32F103C8T6 porting uC/OS-III system based on HAL Library
catalogue
1, Using CubeMX to build STM32F103 HAL Library Project
2, Prepare uC/OS-III source code
3, Prepare project documents
4, HAL library project migration file
1. Configure uCOS related files for HAL project
2, Add uCOS related files to the project
3. Add and modify code [primary] (realize sim ...
Added by tomfra on Sun, 05 Dec 2021 10:58:03 +0200
#C51 serial communication 5-# a string of data # interrupt timing + timeout reception + CRC verification
Catalogue of series articles
Tip: you can add the directories of all articles in the series here. You need to add the directories manually For example:
Tip: after writing the article, the directory can be generated automatically. For how to generate it, please refer to the help document on the right
preface
Introduction: 1. On the b ...
Added by marukochan on Sun, 05 Dec 2021 01:16:35 +0200
Arduino - Serial Communication and IIC
Catalog
1. Serial communication
2.IIC
The fifth function of single-chip computer - serial communication, which can establish a direct connection between your computer and single-chip computer, can also be the connection of other modules, such as Bluetooth, WIFI, etc. Interface is a serial port, the other part of the module, interface IIC ...
Added by FlipinMonkeyPie on Sun, 05 Dec 2021 00:25:53 +0200
Transplanting uCOS based on HAL library STM32F103C8T8
1. Get uC/OS-III source code
1.1 Download Method
Official (slower) http://micrium.com/downloadcenter/Baidu Netdisk (faster, recommended) Links: https://pan.baidu.com/s/1WJpJzT9ha2ua3pJzz4WtBg Extraction Code: 5jt8
1.2 File preparation
When the download is complete, open the folder and you can see four file directories: New folder: uC-B ...
Added by cdoyle on Sat, 04 Dec 2021 19:46:16 +0200
uc/OS system transplantation
1, Experimental requirements
Learn the embedded real-time operating system (RTOS), take uc/OS-III as an example, transplant it to stm32F103, and build at least three tasks: two tasks control the LED on-off in 1s and 3s cycles respectively; Another task sends "hello uc/OS! Welcome to RTOS multitasking environment!" through the serial ...
Added by mickd on Wed, 01 Dec 2021 08:19:12 +0200
An example of OLED screen display based on SPI protocol
catalogue
1, SPI protocol
1.1 SPI introduction
1.2 SPI four wire
one point three SPI four working modes
one point four SPI sequence diagram
2, Project realization
2.1 experimental preparation
2.2 font extraction
2.3 program code
2.4 hardware connection
2.5 achievement display
3, References
Con ...
Added by dsdsdsdsd on Sun, 21 Nov 2021 05:12:04 +0200
51 Single-chip computer matrix key details, two-digit tube display (HC6800ESV2.0 in Puzhong)
1. Brief description
I am a student in school. This semester happens to be learning single-chip computer. I am also interested in it. There were no big problems in writing the programs of digital tube and clock, but I encountered some problems when I made the matrix keys, but I have solved them. I will write out the ...
Added by feeta on Sun, 21 Nov 2021 03:26:10 +0200
Punctual atom STM32F103 (Elite version) -- SystemInit clock, Systick timer, delay delay function
Refer to STM32F1 Development Guide (Elite version) library function version - Chapter 5
1, SystemInit clock initialization function
Use the V3.5 library function, which will be called automatically after system startup:
startup_ stm32f10x_ In XX. S file:
; Reset handler
Reset_Handler ...
Added by shantred on Sat, 20 Nov 2021 12:29:38 +0200
STM32 serial communication interrupt configuration
1, There are 8 steps about how to configure serial port transceiver through interrupt
1. Enable serial port clock and enable GPIO clock
2. Pin multiplexing mapping
3.GPIO port mode setting
4. Serial port parameter initialization setting
5. Enable interrupt initialization NVIC
6. Enable serial port
7. Write interrupt processing function
...
Added by SteveFrost on Thu, 18 Nov 2021 03:30:50 +0200