Design of an Electronic Clock with LCD for 51 Microcontroller

Design of an Electronic Clock with LCD for 51 Microcontroller

The LCD screen is JM12864 or FYD12864 (with font library). I have used both models without issues. 4 rows * 8 columns of Chinese characters = 32 serial communication interfaces P1.5–P1.7, which can be modified according to your circuit. #include #define uchar unsigned char void LCD_ini(); void ascii_change(void); void delay(); void wri_add(uchar com); void wri_dat(uchar … Read more

EESkill NRF24L01 Wireless Module User Manual

EESkill NRF24L01 Wireless Module User Manual

1. Introduction to EESkill NRF24L01 Wireless Module NRF24L01 is a wireless communication chip recently produced by NORDIC, using FSK modulation and integrating NORDIC’s own Enhanced ShortBurst protocol. It can achieve point-to-point or 1-to-6 wireless communication.The wireless communication speed can reach 2M (bps).NORDIC provides the GERBER files for the communication module, which can be directly processed … Read more

DAC0832 Unipolar and Bipolar Voltage Output Interface Circuit

DAC0832 Unipolar and Bipolar Voltage Output Interface Circuit

The DAC0832 is an 8-bit resolution D/A converter integrated chip. It is fully compatible with microprocessors. This D/A chip is widely used in microcontroller application systems due to its low cost, simple interface, and easy conversion control. The D/A converter consists of an 8-bit input latch, an 8-bit DAC register, an 8-bit D/A conversion circuit, … Read more

The Impact of Internal Resistance on DAC Output Errors

The Impact of Internal Resistance on DAC Output Errors

1. Introduction This morning, I conducted experimental tests on the output linear errors of different channels in the circuit DAC network. A friend commented on the video, suggesting an analysis of the internal resistance of the microcontroller on the output linear error. Below, I hope to obtain the impact of the microcontroller’s internal resistance on … Read more

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