C# Host Computer Development for Automation Control

C# Host Computer Development for Automation Control

Introduction In the field of automation, there are devices that cannot be operated manually, such as high-pressure gates and corrosive liquid valves. Typically, we use computer software to control these devices through a combination of PC-based host software and a microcontroller. Project Requirements Design a controller with four relays that can be controlled via software … Read more

CEPARK USB Development Board Operation Experiments

CEPARK USB Development Board Operation Experiments

1. USB Fake U-Disk Experiment 1) Correctly download the hex file of the USB disk (fake U-Disk) to the microcontroller of the USB development board. 2) You will see a circular indicator for the fake U-Disk in the bottom right corner of your computer. 3) Open the circular U-Disk, and you will see a test … Read more

Lesson 11: Using Serial Port (UART)

Lesson 11: Using Serial Port (UART)

Click on the “Baijun Technology” above, select “Pin to Top” Embedded essentials, delivered with one click The enhanced version of the ARM Bare Metal Phase 1 video course, supporting Wiki Lesson 11: Using Serial Port (UART), consists of 2 sections: Section 001: Auxiliary Line 1: Hardware Knowledge – Introduction to UART Hardware and Section 002: … Read more

Detailed Explanation of UART Waveforms

Detailed Explanation of UART Waveforms

UART is an asynchronous full-duplex serial communication protocol consisting of two data lines, Tx and Rx. Since there is no reference clock signal, both parties in communication must agree on serial baud rate, data bit width, parity bit, stop bit, and other configuration parameters to communicate at the same rate. Asynchronous communication transmits one character … Read more

Differences and Connections Between SPI, UART, and I2C Buses

Differences and Connections Between SPI, UART, and I2C Buses

Welcome FPGA engineers to join the official WeChat technical group. Clickthe blue textto follow us at FPGA Home – the best and largest pure FPGA engineer community in China SPI Bus SPI (Serial Peripheral Interface) is a high-speed, full-duplex, synchronous, serial communication bus that uses 3 to 4 lines and operates in a master-slave mode, … Read more

Why UART Serial Communication Requires 16x Oversampling

Why UART Serial Communication Requires 16x Oversampling

Enhancing anti-interference is one reason. Standard UART can choose 16x sampling or 64x sampling; I personally think it should be for convenient frequency division design. The RXD front end of the standard UART has a “1 to 0 transition detector.” When it continuously receives 8 ground level signals on RXD, the detector considers that the … Read more

Detailed Explanation of UART Waveforms

Detailed Explanation of UART Waveforms

Click on the above “Electronic Engineer’s Notes” and select “Pin/Star the Official Account” Valuable content delivered instantly! UART (Universal Asynchronous Receiver/Transmitter) is an asynchronous full-duplex serial communication protocol consisting of two data lines, Tx and Rx. Since there is no reference clock signal, both communication parties must agree on serial baud rate, data bit width, … Read more

Using UART IDLE Interrupt for Receiving Variable Length Serial Data

Using UART IDLE Interrupt for Receiving Variable Length Serial Data

Introduction In serial communication applications, we often use receive and transmit interrupts, which most of you are familiar with. There is a very useful interrupt that may be overlooked, which is the bus IDLE interrupt. When a frame of data transmission ends, the bus will maintain a high level state, at which point the MCU’s … Read more