Arduino UNO Serial Communication Guide

Arduino UNO Serial Communication Guide

Arduino Uno provides serial communication functionality, allowing it to exchange data with a computer or other microcontrollers. Serial communication is a very common feature in Arduino projects, often used for debugging, data transfer, and interaction with other devices. Below is a detailed introduction on how to use the serial communication feature of Arduino Uno. 1. … Read more

Various Methods for Redirecting Serial Output in Embedded Systems

Various Methods for Redirecting Serial Output in Embedded Systems

[Image] More exciting content~ Click the blue text above to follow us! [Image] For a better reading experience, please click on the original text to visit: Mculover666’s personal blog. This article details various methods for redirecting printf output to serial output, including methods using the MDK MicroLib, standard library methods, and applicable …

Raspberry Pi 4 Bare-Metal Basics: Starting from Hello World

Raspberry Pi 4 Bare-Metal Basics: Starting from Hello World

Raspberry Pi 4 Bare-Metal Basics: Starting from Hello World 1. Introduction 2. Project Overview 2.1 Makefile 2.2 link.ld Linker File 3. Understanding Code Execution from the CPU Perspective 3.1 start.S File 3.2 Functionality of the main Function 4. Raspberry Pi 4 Serial Peripheral Program 4.1 Setting GPIO Functionality 4.2 Configuring the Serial Controller 5. Conclusion … Read more

Understanding Serial Communication: A Comprehensive Guide to UART and Protocols

Understanding Serial Communication: A Comprehensive Guide to UART and Protocols

4.1 Basic Concepts of Serial Communication Serial communication is a commonly used communication method, which refers to data transmission between devices through a Serial Interface. There are several basic concepts of serial communication: 4.1.1 Serial Communication Serial communication refers to the transmission of data bit by bit, transmitting only one bit at a time. Compared … Read more

Mastering STM32 Microcontroller Serial Communication

Mastering STM32 Microcontroller Serial Communication

To master the STM32 microcontroller, one cannot do without serial communication. Serial communication uses a protocol called the serial communication protocol to manage data transmission, which controls the data flow during transmission, including data bits, baud rate, parity bits, and stop bits. Due to its simplicity and ease of use, serial communication is widely applied … Read more

Understanding Serial Communication in Embedded Systems

Understanding Serial Communication in Embedded Systems

Embedded electronic devices are collections of various circuits (processors or other integrated circuits). In order to exchange information between these independent circuits, they must follow the same communication protocol. To accommodate different needs, engineers have defined hundreds of thousands of communication protocols, which can generally be divided into two categories: parallel or serial. 1. Parallel … Read more

STM32 Serial Communication: Interrupt vs Polling

STM32 Serial Communication: Interrupt vs Polling

1. From Polling to Interrupt Many students prefer polling over interrupt-driven operations. Is this related to our nature? Everyone likes to have everything under control and dislikes being interrupted. We often have experiences where we are talking to someone and suddenly receive a phone call, and after the call, we can’t remember what we were … Read more

Raspberry Pi and Arduino Serial Communication with DHT11

Raspberry Pi and Arduino Serial Communication with DHT11

Arduino has a rich set of external interfaces, and the biggest difference from Raspberry Pi’s IO ports is that Arduino has analog input interfaces that can measure analog values on IO ports. The communication scheme between Arduino and Raspberry Pi via serial (Serial) generally has two methods: one is through Raspberry Pi GPIO serial communication, … Read more

Examples of Arduino Applications in Embedded Development

Examples of Arduino Applications in Embedded Development

Do you know what Arduino is? Do you know what Arduino can do? Today, let’s get to know Arduino! Arduino is a convenient, flexible, and easy-to-use open-source electronic prototyping platform. It includes hardware (various models of Arduino boards) and software (Arduino IDE). It was developed by a European team in the winter of 2005. Its … Read more

Practical Guide to Serial Communication with Android

Practical Guide to Serial Communication with Android

Introduction In the previous article, we discussed the basics of serial communication. If you haven’t read it, I recommend you do so first; otherwise, you might not fully understand some of the content in this article. This article will explain the practical aspects of serial communication on the Android side, specifically how to implement data … Read more