I use an infrared tube to measure the speed of the motor. I use a timer interrupt to do it, and then it will interrupt the normal 2401 communication. I wonder if you seniors have any good ideas....
Recently, the first Digital China Summit was held in Fuzhou, attracting many domestic ICT industry giants to participate in the exhibition. The long queues outside the venue, the noisy and exciting...[Details]
1. Purpose Since the number of times the STM32 FLASH can be erased and written is limited, in order to protect our FLASH and extend the use time of the MCU, we can debug on the SRAM. SRAM is a ...[Details]
Recently, the " ZTE
incident"
caused by the Sino-US trade war
has caused heated discussions in the electronics industry. It not only reflects that Chinese companies are lagging behind in the...[Details]
In Windows environment, the source code is encoded in UTF-8. If the source file created by STM32CubeMX contains Chinese comments, then using STM32CubeMX to regenerate the source code will cause the C...[Details]
1. The first project We are going to create the first project, which is mainly for project analysis, so that we can understand how CubeMX works and how to trace the code logic. Okay, no more nonsense...[Details]
Chip: STM32F103C8T6 Application Pin: Output: PA0, PA1 TIM2 CH2 channel To achieve 50HZ (20ms) adjustable PWM output on the PA1 pin, set the system TIMx_CNT=8MHZ=8000 000HZ, set TIMx_PSC=800-1, then T...[Details]
LAN8720 configuration: IP: 192.168.192.30 Gateway: 192.168.192.1 A high frequency of ARP packets is detected The content of the packet asks for the mac address of 192.168.192.1, and asks the resp...[Details]
Our photovoltaic power station starts working at 5:30 in the morning. When you are still sleeping, the inverter starts working to make money!
Some people are skeptical. The sun hasn't even...[Details]
Different from 51, AVR and other single-chip microcomputers, the clock signal sources of msp430 include LFXT1, XT2 and DCO. 1. LFXT1: It can connect high-speed and low-speed crystal oscillators. In l...[Details]
From concept proposal, prototype exploration, technology accumulation to product iteration and industrial development,
VR
has gradually expanded from the military market to the consumer market...[Details]
1. Introduction to MC68K CPU The MC683xx series of microcontrollers are composed of the famous MOTOROLA 32-bit microprocessors such as MC68K, 68020, 68040, and the compatible 68K, CPU32, CPU3...[Details]
Similar to the development trend of photovoltaic modules, photovoltaic inverters are also one of the examples of China's successful localization of manufacturing and leading the global market and tech...[Details]
WPG Holdings announced that its subsidiary Youshang has launched a wireless smoke alarm solution based on STM and Semtech . With the development of the national economy and the enhancement of...[Details]
China Energy Storage Network News:
"As the world's first third-generation blockchain, Anda Chain, which has China's independent intellectual property rights, will be launched globally in the ...[Details]
//Observe the difference between feeding the dog and not feeding the dog, and use the LED indicator of the PB port for status indication. //Switch the LED indicator enable switch of the PB po...[Details]