15-Bit Resistor DAC Output Formula

15-Bit Resistor DAC Output Formula

1. Introduction Today, I derived the output formula for an 8-bit resistor DAC, calculating the impact of the microcontroller’s IO port resistance on the DAC’s linear accuracy. Now that I have some time left, I will patiently derive the analytical formula for the output voltage of a 15-bit DAC to verify whether the microcontroller’s IO … Read more

Understanding the Working Principle of CAN Bus

Understanding the Working Principle of CAN Bus

Click the above “Easy Learning Electronics” to follow and easily learn electronic knowledge. Easy Learning Electronics Subscription Daily updates on technical articles in the electronics industry and the latest news on microcontrollers, making it easy to learn anytime, anywhere. In a CAN bus, the priority of messages sent by all transceivers ranges from the least … Read more

Basics and Applications of Microcontrollers | 06 Microcontroller Parallel Memory Expansion

Basics and Applications of Microcontrollers | 06 Microcontroller Parallel Memory Expansion

Click the blue words to follow us 1. Microcontroller Parallel External Expansion System 1. Microcontroller Parallel External Expansion System External expansion is an important aspect of building a microcontroller system, which can be categorized into two types: Memory expansion and I/O expansion; There are two methods for external expansion: parallel expansion and serial expansion. 2. … Read more

Practical 16-Bit External Bus Expansion for 8-Bit Microcontrollers

Practical 16-Bit External Bus Expansion for 8-Bit Microcontrollers

1 8-Bit/16-Bit Bus Timing Analysis 1.1 8-Bit Microcontroller Bus Timing There are many 8-bit microcontrollers with external buses, such as the 51 series and AVR series. This article takes the W77E58 as an example. The W77E58 is an enhanced 51 microcontroller introduced by Winbond, with a maximum operating clock of 40 MHz. At the same … Read more

Design of CAN Bus Dashcam Based on Data Bus

Design of CAN Bus Dashcam Based on Data Bus

CAN bus (Controller Area Network) is a serial multi-master controller area network bus, primarily designed to connect various controllers in a vehicle, enabling communication between the engine controller, transmission controller, ABS controller, body controller, instrument panel, and other controllers. The CAN bus system not only reduces the number of wiring harnesses in the vehicle, making … Read more

Bluetooth Controlled Fan Using 51 Microcontroller

Bluetooth Controlled Fan Using 51 Microcontroller

First, buy a Bluetooth module and download a Bluetooth serial debugging assistant on your phone, which is equivalent to the UART serial communication of the microcontroller. Use BUFF to obtain the received data. Here, we only need to focus on one issue, which is testing the encoding. If the APP sends 0xFF, (the APP Bluetooth … Read more

Comprehensive Guide to Microcontroller Units

Comprehensive Guide to Microcontroller Units

MCU stands for Microcontroller Unit, which is commonly known as a single-chip microcontroller. It reduces the CPU’s frequency and specifications appropriately and integrates memory, counters, USB, A/D conversion, UART, PLC, DMA, and other peripheral interfaces, even LCD driver circuits, into a single chip, forming a chip-level computer. This allows for different combinations of control for … Read more

USB to Serial Communication Circuit

USB to Serial Communication Circuit

With the development of technology, RS232 serial communication is still widely used in industry. However, in commercial applications, the USB to UART technology has gradually replaced RS232 serial ports. Most laptops no longer have serial ports. So, how can we achieve communication between a microcontroller and a computer? We only need to add a USB … Read more

The Ultimate Guide to Microcontrollers

The Ultimate Guide to Microcontrollers

Source: Semiconductor Industry Alliance MCU is the abbreviation for Microcontroller Unit, commonly known as a microcontroller. It reduces the frequency and specifications of the CPU appropriately and integrates memory, counters, USB, A/D converters, UART, PLC, DMA, and even LCD driver circuits onto a single chip, forming a chip-level computer for different application scenarios. MCU can … Read more

Solutions for Single USB to Multiple Serial Ports

Solutions for Single USB to Multiple Serial Ports

Serial ports (UART) are a very commonly used interface in embedded systems, but most modern computers lack hardware serial ports. Generally, serial ports are expanded through methods like USB to serial or PCIe bus expansion. USB to serial is a very common solution. Common USB to serial chips include CH340/341, CP2102, and PL2302. However, these … Read more