I2C Communication Principles and Programming Implementation

I2C Communication Principles and Programming Implementation

I2C (Inter-Integrated Circuit) is a serial communication protocol used for short-distance communication, typically for data transmission between microcontrollers and various peripheral devices (such as sensors, displays, memory, etc.). Characteristics of the I2C Protocol The I2C protocol has several notable features: Two-wire Communication: The I2C protocol uses only two signal lines: SDA (data line) and SCL … Read more

STM32 Microcontroller Communication Protocol: Bluetooth as a Wireless Link

STM32 Microcontroller Communication Protocol: Bluetooth as a Wireless Link

In today’s booming era of the Internet of Things (IoT), microcontrollers play a crucial role as core control units. Bluetooth technology, with its convenient wireless communication characteristics, has expanded the application space for microcontrollers. The STM32 series microcontrollers are favored by developers for their high performance and low power consumption. 1. Overview of Bluetooth (1) … Read more

Mastering Embedded Core: MCU I2C Bus Protocol and Sensor Integration Guide

Mastering Embedded Core: MCU I2C Bus Protocol and Sensor Integration Guide

The I2C bus is one of the most commonly used communication protocols in embedded systems, serving as a “dedicated highway” between microcontrollers and various sensors and memory devices. Today, let’s discuss how this protocol works and how to use it to read data from temperature and humidity sensors. I2C Protocol Basics The I2C protocol uses … Read more

An Embedded Time-Partition Real-Time System

An Embedded Time-Partition Real-Time System

Scan to FollowLearn Embedded Together, learn together, grow together Introduction to AnOs AnOs is an embedded time-partition real-time system developed based on the ARM M4 series. It is developed following the ideas of VxWorks653. https://gitee.com/personal_chenjl/AnOs The development environment uses Keil uVersion5. The sample program runs on the STM32F427 controller. The system aims to be applied … Read more

Embedded Real-Time Operating System

Embedded Real-Time Operating System

Author: Xi Haijiao Publisher: Tsinghua University Press Publication Date: July 2023 Editor Recommendation This book contains detailed content, rich cases, and is highly operational, accompanied by micro-videos and courseware; it can serve as a textbook for related majors such as Electronic Information, Communication Engineering, and Information Engineering in universities, and is also suitable as a … Read more

Handcrafted OS Transformation Benchmark Code – Simple Scheduling Algorithm (Part 2)

Handcrafted OS Transformation Benchmark Code - Simple Scheduling Algorithm (Part 2)

This article will rewrite the handcrafted OS – a function running the minimum core code of FREERTOS, as shown in the figure below. Mainly: rewriting vTaskSwitchContext + background tick interrupt automatically switches tasks. In fact, the functionality has been completed in two articles, but it seems clumsy to represent using UART. This article aims to … Read more

Microcontroller Security and Encryption: Protect Your System

Microcontroller Security and Encryption: Protect Your System

Hello everyone, I am XXX. Today I want to discuss a very important topic – microcontroller security and encryption technology. As a newcomer or enthusiast in the field of automation, this topic may seem profound, but it is actually quite relevant to our lives. Imagine if someone illegally accessed our home cameras or security systems; … Read more

Efficient Design of BLE 5.3 Health Thermometer Sensor Using Wireless MCU

Efficient Design of BLE 5.3 Health Thermometer Sensor Using Wireless MCU

Author:Jens Wallmann Abstract:This article introduces the ultra-low power STM32WBA52 MCU series from STMicroelectronics, demonstrating how developers can quickly complete and run BLE 5.3 wireless designs using BLE evaluation boards, development tools, and application examples. Additionally, this article briefly discusses programming and MCU wiring. Intense competition puts pressure on Internet of Things (IoT) device developers, who … Read more

Efficient! Using This Wireless MCU to Design a BLE 5.3 Health Thermometer Sensor!

Efficient! Using This Wireless MCU to Design a BLE 5.3 Health Thermometer Sensor!

The intense competition has put pressure on IoT (IoT) device developers, who must quickly launch new innovative products while also reducing costs, ensuring stable, low-power, and secure communication. Traditional smart IoT terminal nodes include microcontroller units (MCU) for edge processing and wireless integrated circuits for connectivity. Problems arise when design teams lack the RF(RF) skills … Read more

Understanding CAN Data Transmission with Code Examples

Understanding CAN Data Transmission with Code Examples

Follow our official account to never miss any updates! This tutorial was originally published by the author strongerHuang in October 2018. Tags: CAN, CANOpen, CanFestival Copyright: Commercial use is prohibited Disclaimer:This document is for personal learning use only. Please contact the author via the official account for authorization if you wish to reprint. 1Introduction This … Read more