How to Write I2C Driver Functions from Scratch

How to Write I2C Driver Functions from Scratch

Many people do not know how to write programs by looking at timing diagrams. Below, we will analyze a non-standard I2C device and teach everyone how to write an efficient IO simulation of I2C timing. Observing the timing diagram, it includes the I2C start signal, I2C stop signal, I2C acknowledgment, non-acknowledgment, response acknowledgment, as well … Read more

I2C Protocol Application: Sensor Interface and Data Reading

I2C Protocol Application: Sensor Interface and Data Reading

I2C Protocol Application: Sensor Interface and Data Reading I2C Protocol Application: Sensor Interface and Data Reading Hello everyone, I am Daodao. Today, let’s talk about the I2C protocol, which many sensors use to communicate with microcontrollers. Although it only uses two wires, it can connect multiple devices, making it a master of saving wires. However, … Read more

Differences Between FPGA, Microcontroller, DSP, and ASIC

Differences Between FPGA, Microcontroller, DSP, and ASIC

Reply “Join Group” to join the Semiconductor Industry Alliance WeChat group ASIC is originally a dedicated integrated circuit developed for a specific function. For example, the chip inside a camera is small, has low integration, and low cost, but it is sufficient for its purpose. A counterfeit camera sells for only 30 yuan; how much … Read more

Embedded Learning Notes on UART Communication Protocol

Embedded Learning Notes on UART Communication Protocol

Wu Jianying Microcontroller Development Board Address Taobao Store:【Wu Jianying’s Shop】 Address:【https://item.taobao.com/item.htm?_u=ukgdp5a7629&id=524088004171】 UART is a chip used to control communication between computers and serial devices. One important point to note is that it provides a data terminal equipment interface, allowing the computer to communicate with modems or other serial devices using the RS-232C interface. As part … Read more

Introduction to Proteus Simulation Software

Introduction to Proteus Simulation Software

Please click on the aboveblue text to subscribe for free! Proteus software is an EDA tool published by Labcenter Electronics in the UK. It is commonly used for simulating digital circuits such as microcontrollers and consists of two programs: ISIS for simulation and ARES for PCB design. We often use the ISIS simulation software, and … Read more

Proteus Series Installation Tutorial

Proteus Series Installation Tutorial

Proteus \\\ /// Introduction: The Proteus software not only has the simulation capabilities of other EDA tools but can also simulate microcontrollers and peripheral devices. It is a great tool for simulating microcontrollers and peripheral devices. Although its promotion in China has just started, it has already gained popularity among microcontroller enthusiasts, teachers involved in … Read more

In-Depth Explanation of ADC in STM32

In-Depth Explanation of ADC in STM32

Introduction to ADC The STM32F103 series has 3 ADCs with a precision of 12 bits, and each ADC can have up to 16 external channels. ADC1 and ADC2 both have 16 external channels, while ADC3 generally has 8 external channels. The A/D conversion of each channel can be executed in single, continuous, scan, or interrupt … Read more

Configuring Interrupt Priority for TAE32G5800

Configuring Interrupt Priority for TAE32G5800

01 Application Function Introduction 1.1 • What is an Interrupt An interrupt is a mechanism that temporarily halts the CPU’s normal execution of the main program to handle urgent tasks, after which it returns to the previously paused program, as illustrated below. Figure 1.1 Interrupt Diagram In digital power and motor control systems, the significance … Read more

Practical Project: Smart Home System Design Based on STM32

Practical Project: Smart Home System Design Based on STM32

Click the above to follow us! The smart home system is quietly changing our lifestyle. This article will take you deep into how to use the STM32 microcontroller to create a simple smart home system. We will cover the entire process from hardware selection to software programming, allowing you to easily master this popular technology. … Read more

Microcontroller Applications in Smart Homes: Lighting, Appliances, Security

Microcontroller Applications in Smart Homes: Lighting, Appliances, Security

Click the above to follow us! The application of microcontrollers in smart homes: lighting control, appliance control, and security systems, creating a smart and comfortable home environment! Smart homes have become a major trend in modern life, and microcontrollers, as the core control components, play a crucial role. This article will introduce how to use … Read more