Why Most Communication Buses Are Similar in Embedded Development?

Why Most Communication Buses Are Similar in Embedded Development?

In embedded development, you must have encountered various buses, including address and data buses within the chip, high-speed and low-speed buses, as well as various communication buses outside the chip. However, it seems that people still do not have a good grasp of buses, so today I have selected an article about buses for everyone … Read more

How to Choose an MCU

How to Choose an MCU

In today’s article, let’s discuss how to choose an MCU. Let me share my thought process. 1. List the peripherals If a system has multiple MCUs, we need to allocate them properly, for example, temperature sensor on MCU #1, Bluetooth on MCU #2, etc. 2. Determine the communication interfaces of the peripherals Some peripherals support … Read more

Common I/O Ports of MCUs and Their Differences

Common I/O Ports of MCUs and Their Differences

When it comes to microcontrollers (MCUs), the first thing that comes to mind is that they have many input/output (I/O) ports, which can be difficult to distinguish. As the core of embedded systems, they can communicate with external devices or sensors. However, the presence of I/O ports often makes learning challenging for many people. This … Read more

Eight Essential Steps to Learning Microcontrollers

Eight Essential Steps to Learning Microcontrollers

Learning to use microcontrollers involves understanding the hardware structure of the microcontroller and the application of its internal resources, as well as learning various initialization settings for functions in assembly or C language, and programming to implement various functionalities. Here are some of my experiences: Step 1: Using Digital I/O Using button inputs to signal, … Read more

Microcontroller Basics and Applications: Serial Expansion

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

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

Hands-On Guide to STM32 I2C Bus

Hands-On Guide to STM32 I2C Bus

●IIC Bus 1. Concept of IIC I²C stands for Inter-Integrated Circuit, using two bidirectional lines: one Serial Data Line (SDA) and one Serial Clock (SCL). SCL: The rising edge inputs data into each EEPROM device; the falling edge drives the EEPROM device to output data (edge-triggered). SDA: The bidirectional data line is an open-drain configuration, … Read more

How to Solve the Absence of EEPROM in STM32?

How to Solve the Absence of EEPROM in STM32?

In embedded systems, EEPROM (Electrically Erasable Programmable Read-Only Memory) is often used to store data that needs to be changed frequently and should not be lost due to power interruptions. However, since STM32 does not have built-in EEPROM, how can we solve this problem and meet storage requirements? 1. Use External EEPROM Chips When STM32 … Read more

PyQt5 Example: Raspberry Pi + MPU6050 Data Collection

PyQt5 Example: Raspberry Pi + MPU6050 Data Collection

Click the above“Mechanical and Electronic Engineering Technology” to follow us System Configuration: Raspberry Pi 3B+, Operating System Raspbian-stretch, Python version is python3.5.3 Functional Requirements: Design a QT interface to collect data, with a start collection button that begins data collection when clicked, and a stop button that stops data collection when clicked. The data should … Read more