STM32F103C8T6 realizes water lamp (C language)
1, Experimental principle 1.1 stm32f103c8t6 introduction STM32F103C8T6 is a 32-bit microcontroller based on Cortex-M3 core launched by St. the hardware is packaged with LQFP48 and belongs to STM32 series of microcontrollers of ST company.
1.2 stm32f103c8t6 lighting principle of running water lamp Registers can store data and instructions, and ...
Posted by bav on Thu, 21 Oct 2021 20:41:29 -0700
STM32F103 register mode turns on the LED water flow lamp
1, Register introduction
Register, according to Baidu Encyclopedia, register is an integral part of the CPU. Registers are high-speed storage components with limited storage capacity. They can be used to temporarily store instructions, data and addresses. Generally speaking, registers store things. What we store is just from our objective thin ...
Posted by hmogan on Thu, 21 Oct 2021 20:09:14 -0700
[MCU framework] [os layer] common function of RTX4 Middleware
Reseal RTX4 functions to fit RTX5 / FREERTOS / FREERTOS_NRF_RTC. Keil RTX is a royalty free, deterministic real-time operating system designed for ARM and Cortex-M devices. It allows you to create programs that perform multiple functions simultaneously and helps create better structured and easier to maintain applications.
features
Copyrigh ...
Posted by Master Zen on Mon, 18 Oct 2021 19:52:20 -0700
[MCU framework] [BSP layer] [nrf52832][nrf52840][nrf52810][nrf52820][bsp_pwm] PWM configuration and use
PWM - pulse width modulation
PWM module can generate PWM signal on GPIO. The module implements an up or down counter with four PWM channels to drive the allocated GPIO. Three PWM modules can provide up to 12 PWM channels and up to 4 channels with a separate frequency control group. In addition, the built-in decoder and EasyDMA function can man ...
Posted by clearstatcache on Mon, 18 Oct 2021 16:07:33 -0700
[MCU framework] [BSP layer] [cx32l003][bsp_pwm] PWM configuration and use
PWM mode
The pulse width modulation mode can be generated by TIM1_ The ARR register determines the frequency, which is determined by TIM1_ The ccrx register determines the signal of the duty cycle. At TIM1_ The OCxM bit in ccmrx register is written to '110' (PWM mode 1) or '111' (PWM mode 2), and each OCx output channel can be independently se ...
Posted by bharrison89 on Fri, 15 Oct 2021 19:49:21 -0700
Accumulating the number of timed interruptions to make the LED light flash -- learning notes of "teach you the program framework of single chip microcomputer by hand - Wu Jianhong"
Disclaimer: This article is my notes on learning "teach you the program framework of single chip microcomputer hand in hand - Wu Jianhong" Original link: Section 4: accumulate the number of timed interrupts to make the LED light flash.
original text
Section 4: accumulate the number of timed interrupts to make the LED light ...
Posted by gplevritis on Sun, 10 Oct 2021 16:03:48 -0700
The sister of iceberg yuluo, who is worth more than 100 million, said to xiaodiannong, do you have a larger LCD
For yuluo's sister, cough, in order to expand my knowledge, how can I only use a liquid crystal as small as my brother? Shouldn't I be bigger
Linkage article The iceberg Royal Luo, who is worth more than 100 million, said to xiaomainong, can you display LCD
Introduction to LCD12864
Abnormal LCD12864 LCD screen, three COB cow dung piles o ...
Posted by The Stranger on Tue, 05 Oct 2021 10:29:31 -0700
These LED simulation experiments take you to play 51 single-chip computer
Let's first see what we need to do:
Light up an LED lamp with 51 single-chip computerUsing 51 Single-chip Computer to Realize HorselightUsing 51 Single-chip Computer to Realize Streaming LightUsing 51 Single-chip Computer to Realize Pattern LampHeart LED Display Using 51 Single-chip Computer
The above five experiments are simulated by Pr ...
Posted by lostprophetpunk on Tue, 05 Oct 2021 10:16:32 -0700
Arduino SimpleFOC Library-008-Motion Control
Motion Control
A simple FOC library has two main parameters that define the motion control architecture to use (and each parameter can be modified in real time):
Torque Control Mode-motor.torque_controllerMotion Control Mode - motor.controller
Closed-loop motion control -with position sensorOpen-loop motion control - No location sensor
T ...
Posted by jamkelvl on Sun, 03 Oct 2021 09:35:06 -0700
Raspberr Pi Pico Notes
At the end of last semester, the lower computer is used to control the underlying hardware. However, the price of STM32 boards has gone up dramatically. Seeing that more than a dozen boards have gone up to nearly 40 at a time, the raspberry pie pico boards with similar functions have been shown to me. Although in the end, I used STM32 boards fo ...
Posted by robdavies on Mon, 20 Sep 2021 11:58:02 -0700