Give me the code first, [code]CW DATA 0F9FCH ;write instruction CR DATA 0F9FEH ;read status DIW DATA 0F9FDH ;write data DIR DATA 0F9FFH ;read data ORG 0000H AJMP START ORG 0030H PANYAO: DB 'C51',0 STA...
I made a barometric altimeter. The display of barometric pressure has been solved, but the height has not been solved. How can I change the conversion relationship between barometric pressure and heig...
There is no problem with 1602 LCD display and DS18B20 temperature measurement, but I want to set upper and lower limit alarms. I would like you to teach me or help me write it. Thank you very much. Wr...
Abstract: The integrated control chip that integrates PWM controller and MOSFET power switch is an important feature and trend of the new generation of switching power supply design. This article intr...
When testing the field strength generated by the card reader with a spectrum analyzer, the amplitude unit is mV. However, according to the standard, the effective field strength range is 1.5A/m-7.5A/m...
SmartBond DA14585 is the smallest, lowest power and most integrated Bluetooth 5.0 SoC. As IoT devices continue to evolve, smarter, lower power and more comprehensive products continue to emerge, so Sm...
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]
The status of interrupts in developing embedded systems is absolutely unquestionable. In the era of C51 microcontrollers, there were only 5 interrupts, including 2 external interrupts, 2 timer/counte...[Details]
1. About FPU transplantation As long as the chip has FPU function, the use of FPU is generally enabled by default. You can also select it in the Options tab; 2. About the transplantation of DSP li...[Details]
Chip: STM32F107VCT6 Application Pin: THOUSANDS, RMII STM32CubeMX is very convenient to use ETH. The software comes with LWIP and configuration. This time, STM32F107VCT6+DP83848CVV is used. The MII a...[Details]
As cryptocurrency continues to gain popularity, a technology hidden behind it has attracted more attention from the world, that is the now hotly debated
blockchain
. Let's follow the embedd...[Details]
Mobile communication resale business means that enterprises can contract part of the communication network usage rights from basic telecommunications operators, repackage them into their own brands...[Details]
I used the bit definition in my 51 program: bit flag. After defining it this way, I ran the program and downloaded it to the circuit board. I found that the flag was not the value I set, which led to...[Details]
sprintf is a function in the C language library that converts data types. There is a situation where In 51 MCU, define unsigned char temp; Then I want to use the serial port to print out temp in deci...[Details]
The Vatican Secret Archives is one of the world's greatest historical collections, but many of its documents have never been transcribed. Recently, a project called Codice Ratio used a
combination...[Details]
This is a "cooperation" that is related to the future development of China's semiconductor industry. Let's follow the embedded editor to learn more about the relevant content.
Last week, a...[Details]
Interrupts and timers implement a 24-hour clock. The program is as follows: #include reg52.h #define PORTLEN P0 sbit bit_select = P2^0; sbit seg_select = P2^1; unsigned char src = {0x3f,0x06,0...[Details]
6MHz crystal oscillator, using timer counter 1, using interrupt mode, through P1.0 to make a light emitting diode turn on for 100ms, turn off for 300ms, and repeat. Assembly programming is used to ac...[Details]
In the packaging process of a production line, every time the conveyor belt of the production line delivers a product to the packaging machine, the "SP" terminal outputs a pulse to the T1 terminal of...[Details]
Assume that the crystal frequency of the microcontroller is 6MHz. It is required to use timer 1 in mode 0 to generate a continuous square wave pulse with a period of 500us, and output it from P1.0. T...[Details]
The clock frequency of the 80C51 microcontroller is 12MHz, and the timer T1 and P1.0 are used to output rectangular pulses. The waveform only shows two segments: one segment is 100us and the other se...[Details]