Low-Cost Offline AI 3D Printing Error Detection Integrated with Home Assistant

Low-Cost Offline AI 3D Printing Error Detection Integrated with Home Assistant

Although most new 3D printers now come with built-in AI detection features, this is not a novel concept. However, if you prefer not to connect your 3D printer to the internet and only operate it on a local network, or if you have commercial confidentiality concerns, or simply dislike the detection capabilities of the 3D … Read more

Explaining CRC8 Cyclic Redundancy Check with C Language Examples

Explaining CRC8 Cyclic Redundancy Check with C Language Examples

TRAVELClick “Yunlong Sect”to follow usContent CRC (Cyclic Redundancy Check) is a widely used error detection mechanism for data transmission and storage, especially in automotive embedded systems to ensure the integrity of critical information such as CAN bus and sensor data. Today, we will mainly introduce CRC checks through example programs.. 1. Principle of CRC Check … Read more

Python Type Annotations: From Guessing Games to Clear Programming

Python does not require specifying variable types, which is both an advantage and sometimes a source of trouble. Have you ever encountered the frustration of looking at a function you wrote months ago and completely forgetting what parameters to pass? Or when calling someone else’s function, you can only guess what parameters to provide? I … Read more

CAN Bus Series Part 8: Error Detection and Recovery Mechanisms

CAN Bus Series Part 7: The “Birth Journey” of CAN Node Circuits and Messages In the previous section, we learned about the entire process of a CAN message being generated by the MCU, encapsulated by the controller, and then driven by the transceiver onto the bus. But what happens when these messages are interfered with, … Read more

CAN Communication: The Unsung Hero of Enhanced Device Collaboration Efficiency

CAN Communication: The Unsung Hero of Enhanced Device Collaboration Efficiency

CAN Communication: The Unsung Hero of Enhanced Device Collaboration Efficiency 1. The Importance of CAN Communication CAN (Controller Area Network) is a communication protocol widely used in automotive, industrial automation, and other high-performance systems. Originally developed by Bosch in the 1980s for the automotive industry, it quickly became the backbone of modern vehicle communication systems. … Read more

Discussing C Programming – Source Code Sharing for ModbusCRC

Discussing C Programming - Source Code Sharing for ModbusCRC

#ifndef _CRC_H_ #define _CRC_H static const unsigned char aucCRCHi[] = { 0x00, 0xC1, 0x81, 0x40, 0x01, 0xC0, 0x80, 0x41, 0x01, 0xC0, 0x80, 0x41, 0x00, 0xC1, 0x81, 0x40, 0x01, 0xC0, 0x80, 0x41, 0x00, 0xC1, 0x81, 0x40, 0x00, 0xC1, 0x81, 0x40, 0x01, 0xC0, 0x80, 0x41, 0x01, 0xC0, 0x80, 0x41, 0x00, 0xC1, 0x81, 0x40, 0x00, 0xC1, 0x81, 0x40, … Read more

CR: A Powerful C++ Library for CRC Calculations

CR: A Powerful C++ Library for CRC Calculations

CR: CRC++ Library in C++ In C++ development, there are many excellent libraries that help developers efficiently complete various tasks. Among them, CRC++ is a library focused on cyclic redundancy check (CRC) calculations, providing developers with simple, efficient, and flexible CRC computation capabilities. What is CRC++ CRC++ is a C++ library specifically designed for calculating … Read more

Introduction to In-Vehicle Bus – CAN

Introduction to In-Vehicle Bus - CAN

In-vehicle network communication refers to the process of data transmission and communication between various electronic control units (ECUs) within a vehicle. Modern vehicles contain multiple ECUs, each responsible for specific functions, such as vehicle control (VCU), engine control (EMS), braking system (ESC), steering system (EPS), driver assistance systems, body control systems, air conditioning systems, and … Read more

Embedded Communication Protocol: How Many CAN Interview Questions Can You Answer?

Embedded Communication Protocol: How Many CAN Interview Questions Can You Answer?

1. What is the basic working principle of the CAN bus? The CAN bus is a multi-master serial communication protocol primarily used in automotive and industrial control. It transmits data through differential signals (CAN_H and CAN_L) and has a high anti-interference capability. The CAN bus employs a non-destructive bit arbitration mechanism to ensure that high-priority … Read more

Introduction and Features of CAN Bus – Part 1

Introduction and Features of CAN Bus - Part 1

Examples of CAN Applications Bus Topology Diagram The CAN controller determines the bus level based on the potential difference on the two wires. The bus level is divided into dominant and recessive levels, one of which must be present. The sender sends messages to the receiver by changing the bus level. Connection diagram of CAN … Read more