RS-485 Communication Module Practical Tutorial

RS-485 Communication Module Practical Tutorial

To enable communication between devices, there needs to be a bridge connecting the two, which consists of the transmission path and communication protocol. The earliest interface used for device communication was RS232. However, as technology developed, RS232 began to show some limitations, which led to the emergence of new interface standards, one of which is … Read more

A Minimalist MQTT Interface EasyMqttClient

A Minimalist MQTT Interface EasyMqttClient

Click on the “Embedded Application Research Institute” above, and select “Top/Star Official Account“ Useful Resources Delivered First Hand! Source | Embedded Application Research Institute Compiled & Formatted | Embedded Application Research Institute In the development of IoT-related applications, MQTT is used to some extent. The following open-source project is an interface I encapsulated based on … Read more

Sharing TCP/IP Illustrated (3 Volumes) PDF

Sharing TCP/IP Illustrated (3 Volumes) PDF

01 Content Summary Content validity TCP/IP Illustrated, Volume 1: Protocols mainly discusses the TCP/IP protocol, explaining the reasons for the definition of the TCP/IP protocol suite with numerous examples, as well as its application and operation in various operating systems. The second edition retains Stevens’ excellent knowledge system and writing style, while new author Kevin … Read more

Understanding TCP/IP Protocol: The Four-Way Handshake

Understanding TCP/IP Protocol: The Four-Way Handshake

TCP/IP is not a single protocol, but a collective term for a suite of protocols. It includes the IP protocol, ICMP protocol, and TCP protocol. 1 Here are a few key points to note: Internet Address: This is the IP address, generally consisting of the network number + subnet number + host number.Domain Name System: … Read more

Tips for Parameter Storage in Embedded Devices

Click on the “Embedded Application Research Institute” above, select “Pin/Star the Official Account“ Practical Benefits, Delivered First-Hand! Source | CSDN Passing Bear Compiled & Formatted | Embedded Application Research Institute 1. Introduction Those involved in embedded product development must have encountered the need to save device parameters. A common approach is to manage parameters using … Read more

Considerations for Using IAR Development Environment with AVR Microcontroller

Considerations for Using IAR Development Environment with AVR Microcontroller

Header File Meanings avr_macros.h includes simplified writing for reading and writing 16-bit registers, along with several bit manipulation functions. comp_a90.h provides brief writing for a large number of intrinsic functions. ina90.h includes the “inavr.h” and “comp_A90.h” files. intrinsics.h provides intrinsic functions that offer the simplest operations for handling the processor’s low-level features: sleep, watchdog, FLASH … Read more

Detailed Analysis of KEIL C51 Code Optimization

Detailed Analysis of KEIL C51 Code Optimization

In-depth analysis of Keil C51 bus peripheral operation issues. 1 Problem Review and Analysis In actual work, encountering repeated consecutive reads of the same port, the Keil C51 compiler did not achieve the expected results. Analyzing the assembly program generated by the C compiler found that the second read statement of the same port was … Read more

Resolving Link Errors in Keil Compilation

Resolving Link Errors in Keil Compilation

Using Keil MDK, I tried an example for STM32F107. After opening and compiling, the compilation succeeded, but the linker indicated that there were 5 functions undeclared. However, upon reviewing the files, it was clear that the header files were included. Why was it still not working? I also tried using extern declarations, but that did … Read more

What Does an Embedded BSP Engineer Do?

What Does an Embedded BSP Engineer Do?

Today we will learn what a BSP engineer is. 1. Embedded Systems To understand what an embedded software engineer is, we must first discuss embedded systems (embedded devices). The definition of embedded systems on Wikipedia is as follows: An embedded system (<span>Embedded System</span>) is a computer system that is embedded within mechanical or electrical systems, … Read more