Principles and Applications of the 51 Microcontroller: Based on KeilC and Proteus
Some screenshots of electronic books 【Complete Set of Hardware Learning Materials Collection】
Some screenshots of electronic books 【Complete Set of Hardware Learning Materials Collection】
WeChat Official Account:Electromagnetic Compatibility Home 01、Introduction For engineering technicians engaged in the design of microcontroller application systems (both hardware and software), mastering certain EMC testing techniques is essential. 02、About EMC EMC: Electromagnetic Compatibility, refers to the ability of a device or system to operate as required in its electromagnetic environment without causing intolerable electromagnetic interference … Read more
32 Single Chip Microcontroller I O When it comes to the IO of the 32-bit microcontroller, taking the F1 series as an example, we first need to mention: 1 initialization function: void GPIO_Init(GPIO_TypeDef* GPIOx, GPIO_InitTypeDef* GPIO_InitStruct); 2 functions to read input levels: uint8_t GPIO_ReadInputDataBit(GPIO_TypeDef* GPIOx, uint16_t GPIO_Pin); uint16_t GPIO_ReadInputData(GPIO_TypeDef* GPIOx); 2 functions to read output … Read more
Many students ask me: Why does my LED light blink while the serial port data reception gets stuck? I want to read data from two sensors simultaneously, why is it that one of them always reads incorrectly? Why can’t my program control the motor while sending data? The most classic question is: why can’t I … Read more
7. Microcontroller Bus and Memory Expansion Data Memory Expansion (SRAM) 6264 is the most commonly used. A0-A12 address lines, D0-D7 data lines. CE chip select OE read enable WE write enable Reading external data RAM timing, MOVX A, @Ri or MOVX A, @DPTR starts reading When low, the eight-bit address data enters the latch, P0 … Read more
1. Overview of Microcontroller Technology 1.1 Definition and Core Architecture A microcontroller is an integrated circuit that incorporates a central processing unit (CPU) with data processing capabilities, random access memory (RAM), read-only memory (ROM), various I/O ports, an interrupt system, timers/counters, and possibly additional circuits such as display drivers, pulse width modulation circuits, analog multiplexers, … Read more
6. Serial Interface Parallel Communication and Serial Communication Asynchronous and Synchronous Communication Asynchronous Serial Full Duplex (P3.0-RXD P3.1-TXD) Timer 1 serves as the baud rate generator to control the rhythm of opening the door, generating transmission and reception completion interrupts TI, RI Mode 0 is used for expanding IO, while Modes 1-2 are communication modes. … Read more
Commonly used microcontrollers for industrial-grade equipment can be broadly divided into HC32L110C6PA-TSSOP20TR and HC32L136K8T6-LQFP64, both produced by Holtek. 1. HC32L110C6PA-TSSOP20TR Core Architecture: 32-bit ARM Cortex-M0+ core Maximum Clock Frequency: 48MHz Memory: Flash 64KB, SRAM 8KB Pin Count: 20 pins (TSSOP package) Operating Voltage: 2.4V ~ 3.6V Peripheral Interfaces: UART, SPI, I2C, ADC (12-bit resolution), Timer, … Read more
Environment: Vivado 2023.2 FPGA Model: XCVU47P FPGA Project Overview: The main control logic of the FPGA uses four AXI interfaces with on-chip HBM resources (supporting up to 16 groups); Main clock domain frequency: 250MHz HBM interface clock frequency: 450MHz Problem: As the number of logic resources and BRAM used in the design increases, timing closure … Read more
Mean filtering is a fundamental digital signal processing technique commonly used for image and signal denoising. This article will detail how to implement a simple yet efficient mean filter using the Verilog hardware description language. Basic Principles of Mean Filtering The core idea of mean filtering is to replace the value of a pixel with … Read more