Understanding PLCAI, AO, DI, and DO: A Comprehensive Guide

When we use devices such as PLCs, sensors, and servo motors, we often encounter some technical terms like AI, AO, DI, and DO, which many people find complex and difficult to understand. In fact, they are not as hard to grasp as we might think. Today, we will clarify what these terms mean to help … Read more

Introduction to PLC Wiring

Introduction to PLC Wiring

Digital Input Digital inputs can be used to collect switch signals, commonly used components include: buttons, limit switches, proximity switches, photoelectric switches, etc. Wiring Methods for Buttons and Switches The PLC input points are opto-isolated, and when the light source of the opto-isolator emits light, the PLC can receive the signal. There are two wiring … Read more

ESP32 | 5-Channel Gray Line Tracking Sensor

ESP32 | 5-Channel Gray Line Tracking Sensor

01 Introduction This 5-channel line tracking sensor integrates 5 pairs of gray sensors, using TTL communication mode, and supports both digital and analog signal outputs, providing higher anti-interference capability compared to infrared line tracking sensors. 02 Principle The gray sensor consists of a high-brightness white light emitter and a light-sensitive receiver. The emitter emits concentrated … Read more

What are DO and DQ in PLCs?

What are DO and DQ in PLCs?

In PLC (Programmable Logic Controller), DO and DQ are typically related to digital outputs, but there may be some subtle differences depending on the brand or usage scenario. 01 DO (Digital Output) · Meaning DO is the abbreviation for digital output, which serves as an interface in the PLC system for sending digital signals to … Read more

Microbit | Sensor Series 07 – Raindrop Sensor

Microbit | Sensor Series 07 - Raindrop Sensor

01 Introduction The raindrop sensor, also known as the rainwater sensor, is used to detect whether it is raining and the amount of rainfall. It consists of a large rainwater detection board and a control board. When raindrops fall on the detection board, the control board converts this into a digital signal (D) and an … Read more

C Language Program – C Statements and Input Output Statements

C Language Program - C Statements and Input Output Statements

Click the blue text Follow us Function and Classification of C Statements 01 Function of C Statements A function consists of a declaration part and an execution part. The execution part is composed of statements, which issue operation instructions to the computer system, requesting the execution of corresponding operations. A C statement generates several machine … Read more

What Are ASICs and FPGAs?

What Are ASICs and FPGAs?

Source: Fresh Date Classroom Original Author: Little Date Jun This article introduces what ASIC is and what FPGA is, as well as the principles of the two. ASIC (Application Specific Integrated Circuit) The parallel computing power of GPUs is very strong, but it also has disadvantages, such as high power consumption, large size, and high … Read more

Choosing Between FPGA and ASIC: A Comprehensive Guide

Choosing Between FPGA and ASIC: A Comprehensive Guide

From the development history of ASIC in the era of Bitcoin mining machines, we can see the unique advantages of ASIC in the field of dedicated parallel computing: high computing power, low power consumption, low cost, and strong specialization. The TPU recently exposed by Google, which is dedicated to artificial intelligence deep learning computing, is … Read more

Google TPU and SiFive RISC-V Cores

Google TPU and SiFive RISC-V Cores

At least it won’t let those AI accelerators be designed by Arm. After a tough 2023, the situation for RISC-V chip design company SiFive may be improving, as the company expects strong revenue growth driven by AI in 2024. Documents obtained by Bloomberg this week indicate that the second-generation processors designed for AI servers will … Read more

CMake: Splitting Source Code into Modules

CMake: Splitting Source Code into Modules

Introduction: Projects usually start with a single CMakeLists.txt file, which grows over time. In this article, we will demonstrate a mechanism to split the CMakeLists.txt into smaller units. The motivation for splitting CMakeLists.txt into modules: The main CMakeLists.txt is easier to read; CMake modules can be reused in other projects Combined with functions, modules can … Read more