#include
#include
#define F_CPU 7372800 // The main frequency of the MCU is 7.3728MHz, used for delay subroutine and calculation of timer initial value #include
#include
#include
#include//Interrupt s...
[i=s]This post was last edited by upc_arm on 2014-5-5 18:52[/i] 1. Project goal:As shown in the figure, children may have accidents when playing on the trampoline. In order to prevent accidental trans...
1. One stm32 discovery, 80, excluding postage, and a USB data cable2. 3. A small DC motor as a gift 4. An Easy JTAG parallel port emulator from ZLG. If you package it, it will be a gift 5. A 51 MCU mi...
There is a 32-bit division subroutine in my program, which is called in both the main program and the interrupt program.The problem is: when my main program is calling this subroutine, if it happens t...
[i=s]This post was last edited by paulhyde on 2014-9-15 03:08[/i] When I use TINA to simulate, I encounter a chip that is not in TINA. How can I download the spice model from the TI website? Why does ...
I am about to graduate and need a graduation project. I can't think of anything to do. Can anyone provide a project, like a password lock, a microcontroller application?...
1. Problem When developing STM32 with IAR, I found that I could not print floating point numbers by redirecting printf to the serial port. The code is as follows: The output is as follows: It can...[Details]
All relevant units:
In accordance with the relevant requirements of the provincial and municipal electric vehicle charging infrastructure construction work, in order to further standardize the...[Details]
China Energy Storage Network:
Blockchain + finance, blockchain + environmental protection, blockchain + insurance, even a roadside fried chicken shop is using the banner of blockchain + fried...[Details]
I have always wanted to write some posts and blogs, but I just couldn't bear to do it as I just graduated. After some preparation, I decided to write down some of the things I learned in the past few...[Details]
Time flies. Since the beginning of 2018, news related to home appliance companies have repeatedly made headlines, and competition in the home appliance market continues to intensify. In order to be...[Details]
Leading Chinese PV inverter manufacturer Huawei said it is supplying string inverters to a 75MW fully digital utility-scale solar project in Brazil, which it claims is the first of its kind in the cou...[Details]
This small program is still the use of timer, which is relatively simple. The specific parts are noted in the comments, please refer to the comments. /*********************************************...[Details]
In the project, CPLD is needed to complete part of the algorithm design. The parameters are given by AVR, so the communication between AVR and CPLD needs to be completed. Therefore, a test program is...[Details]
What is SYSTICK: This is a 24-bit system tick timer, SysTick, with automatic reload and overflow interrupt functions. All microcontrollers based on the Cortex_M3 processor can obtain a certain time ...[Details]
As the brain of a mobile phone, the mobile phone processing chip is of great importance. Xiaomi, which started out as the MIUI company, has long been keenly aware of the gap between China and devel...[Details]
Household photovoltaic power stations mainly utilize idle resources on existing household buildings, such as roofs, wall facades, balconies, courtyards, etc., to install and use distributed photovo...[Details]
Photovoltaic inverters are the core equipment of photovoltaic systems. Their main function is to convert the direct current generated by photovoltaic modules into alternating current that meets the...[Details]
Independent watchdog (IWDG) and low power mode are often used in STM32 development. The watchdog is to detect and solve faults caused by software errors, and the low power mode is to enter sleep mode...[Details]
LiDAR: Autonomous driving from the perspective of optoelectronic technology LiDAR and competing sensor technologies (camera, radar, and ultrasonic) intensify the need for sensor fusion and the need...[Details]