Comparison of PWM Output Functions between Arduino and ESP32 with XY-MC10 ESC Driving Example

Comparison of PWM Output Functions between Arduino and ESP32 with XY-MC10 ESC Driving Example

In this article, we will briefly compare the PWM output capabilities of Arduino and ESP32, and then use both to drive the same electronic speed controller (ESC). 1. PWM Output Function of Arduino In Arduino, we can use the analogWrite() function to output PWM signals. This function has two parameters: pin and duty cycle (0-255). … Read more

Embedded Development – Porting EtherCAT on LAN9253

Embedded Development - Porting EtherCAT on LAN9253

1. Overview of the Porting Process ‌Hardware Platform Setup‌ Selection of the main control chip: It is recommended to use the STM32F4 series (such as STM32F407) or Microchip SAMD5x series, which must support SPI/SQI or HBI interfaces to communicate with LAN9253. Hardware connection: LAN9253 connects to the main control via the SPI interface, requiring configuration … Read more

Common EtherCAT Slave Solutions in the Market: Integrated ESC in Master Control Becomes the Trend

Common EtherCAT Slave Solutions in the Market: Integrated ESC in Master Control Becomes the Trend

In the current field of industrial automation, EtherCAT (Ethernet for Control Automation Technology) has been widely used as a high-performance, real-time industrial Ethernet communication protocol. With its efficient data transmission capabilities, precise synchronization performance, and flexible topology, it has become an indispensable part of many automation systems. As the basic unit in the EtherCAT network, … Read more

Analysis and Verification of EtherCAT Slave Communication Link Based on FPGA

Analysis and Verification of EtherCAT Slave Communication Link Based on FPGA

Abstract: EtherCAT is one of the widely used field buses in the industrial control field. The slave controller ESC (EtherCAT Slave Controller) is the key to implementing EtherCAT protocol data communication in slave modules. Achieving autonomous control over slave control chips is an important foundation for the localization and research and development of industrial control … Read more

Create Your First Progress Bar Application with Linux

Create Your First Progress Bar Application with Linux

Linux | Red Hat Certified | IT Technology | Operations Engineer 👇 Join the technical exchange QQ group with 1000 members, note 【public account】 for faster approval 1. Concept of Newline In the Linux system, \n and \r are two important escape characters, representing newline and carriage return respectively, each having different functions and application … Read more