Understanding Microcontrollers: Advanced Techniques

This Session’s Learning Implementing Two Lines of Different Content on LCD Using Code Knowledge Points for This Session: Understand how to achieve a two-line display effect on the LCD (the last learning session of microcontrollers this semester) Learning Tools: Computer, Keil uVision4 software, Proteus software Microcontroller Explanation After several weeks of studying microcontrollers, I believe … Read more

Microcontroller Basics and Applications: Serial Expansion

Click the blue text to follow us 1. Overview of Microcontroller Serial Expansion The methods for implementing microcontroller serial expansion include commonly used serial bus standards such as: I2C bus, Serial Peripheral Interface (SPI), and Universal Serial Bus (USB). This chapter will focus on the I2C bus. 1. Implementation through dedicated serial standard bus (1) … Read more

Chip-Level Disassembly of 5 Microcontrollers: 51, AVR, MSP430, Lingyang 61, PIC

First, let me show you a dissection photo, cropped and enlarged, taken with a Xiaomi 1S macro shot, the 8-megapixel camera is impressive! Today, we are waiting to disassemble 5 microcontroller chips: (1) Lingyang 16-bit microcontroller SPCE061A, this was the first microcontroller I encountered, with a maximum clock frequency of 49MHz, 32KB of FLASH, and … Read more

3 Ways to Program Microcontrollers (ISP, ICP, IAP)

A microcontroller is a type of programmable controller that, after setting up the hardware circuit, can use programs to implement many very complex logical functions. Compared to pure hardware circuits, it simplifies the design of hardware peripherals, facilitates logical design, and enriches logical outputs. Different manufacturers of microcontrollers require different programming IDEs to achieve programming. … Read more

10 Easy and Practical Microcontroller Circuits

1. Choosing Pull-Up Resistors for Microcontrollers As can be seen in the reset circuit, when resistor R1=10k, RST is high, but when R1=50, RST is low. Clearly, R1=10k is incorrect, as the microcontroller remains in the reset state and cannot function. This occurs because the RST pin contains a transistor, which allows a small cutoff … Read more

Six Key Experiences in Learning Microcontrollers from a Senior Engineer

How can one learn microcontrollers effectively? This article shares six key experiences from senior engineer Liu Ping, hoping to resonate with everyone. 1. Correct Understanding of Microcontrollers Understanding microcontroller technology correctly is essential; it’s not unattainable, nor can it be mastered in just ten days. If this technology were so difficult and profound, how could … Read more

Summary of Basic Knowledge on 51 Microcontroller

1. What is a microcontroller? A microcontroller is a single-chip microcomputer that integrates a microprocessor, memory, and I/O interface circuits on one integrated circuit chip. Intel launched the MCS-51 series microcontrollers, which integrate an 8-bit CPU, 4KB ROM, 128 bytes RAM, 4 8-bit parallel ports, and 1 full-duplex serial port, along with 2 16-bit timer/counters. … Read more

How to Output Analog Signals via Microcontroller UART?

1. Introduction In electronic circuit design, there might be a situation where the microcontroller has no DAC resources and no spare PWM ports available. The only remaining option is a UART. So how can we output an analog voltage through this port? By using the microcontroller’s port, we can output a square wave signal with … Read more

Introduction to Microcontroller Working Principles

Siemens Comprehensive + TIA Portal + EPLAN Electrical Drawing Video Recordings are being sold at a low price in a package! Chuangkong Education Siemens Comprehensive Class Course Introduction The basic structure of a microcontroller includes six parts: Central Processing Unit (CPU), memory, timer/counter, input/output interface, interrupt control system, and clock circuit. I. Basic Components Central … Read more

Microcontroller Chip Operation Summary

The operation of the chip mainly involves manipulating the registers within the chip. Each register has its own unique address mapped in memory, which is what we are operating on. To understand the chip, first look at the timing diagram, then understand the corresponding registers, how they operate, define the necessary ports (which the program … Read more