All Posts
-
Rewriting Data Structures Course Project 3
2026-06-27
programming, cpp, notes
Here’s the story: I’m taking a data structures course this semester. Although I don’t find it particularly difficult, Project 3 came with so many restrictive rules and constraints that it made me quite frustrated. So after submitting the required version, I took some extra time to rebuild a program from scratch that implements exactly the same functionality, but with no restrictions whatsoever—except for using C++17. In the end, I came up with an architecture that uses callback functions for decoupling. This post is a brief introduction to how I built this architecture.
-
SPI, I2C, UART: An Introduction to Serial Communication Protocols
2026-06-13
embedded, communication
In embedded development, we often need to let an MCU (microcontroller unit) exchange information with peripherals, such as LED matrices, LCD displays, and so on. In the human society, information exchange is mostly achieved through language, either spoken or written; in the embedded realm, information exchange between an MCU and peripherals also has its own language, which we usually call a communication protocol.
-
Bipolar Junction Transistors: 1 + 1 > 2
2026-06-04
electronics, semiconductor, notes
This is a summary note of the bipolar junction transistor part in the course “Ve311 Electronic Circuits,” introducing the basic working principles of a BJT and its circuit model.
-
Semiconductor Physics: From Silicon To Diodes
2026-05-27
electronics, semiconductor, notes
This is a summary note of the semiconductor physics part in the course “Ve311 Electronic Circuits,” introducing the basic working principles of a PN junction from the atomic fundamentals.
-
Hello World!
2026-05-23
misc, greet
Hi! This is my first English post!