stm32 serial port custom protocol receives a string of hexadecimal data (convert two bytes into decimal data) + some basic knowledge of serial port

1, Basic storage unit bit: A digit in a binary number, which can be 0 or 1. It is the smallest unit of data in a computer. Byte s: The basic unit of data in a computer. Every 8 bits form a byte. All kinds of information need at least one byte to be stored and processed in the computer. For example, an ASCII code is represented by one byt ...

Posted by soloslinger on Tue, 04 Jan 2022 22:58:52 +0100

Bisher - acoustooptic electronic organ based on single chip microcomputer

Bisher - acoustooptic electronic organ based on single chip microcomputer Note: this resource can be obtained in WeChat official account: Kevin learning station. 1, Work display 1.1. Physical drawing of works 1.2 welding layout 1.3 PCB schematic diagram 1.4 PCB diagram 2, Design process 2.1 basic design idea of the syst ...

Posted by dthomas31uk on Tue, 04 Jan 2022 20:33:43 +0100

FreeRTOS learning -- "semaphores"

In the "message queue" article, we once buried a foreshadowing, that is, the message delivery and synchronization of tasks in FreeRTOS are all through message queue. Can't it be through global variables? The answer is yes, but this will cause delayed response. If you use global variables, you can only poll, which will inevitably lose ...

Posted by bad_goose on Tue, 04 Jan 2022 16:26:03 +0100

The front end can also play with hardware: run JavaScript on ESP32

0. Write in front The main purpose of this article is to describe how to make the ESP32 chip run JavaScript and let the web front-end developers play with the hardware. The author was a web front-end development engineer before, so the article will try to stand in the perspective of Web front-end development engineer, put aside the underlyin ...

Posted by Wozzr on Mon, 03 Jan 2022 22:45:40 +0100

[FPGA serial of punctual atom] Chapter 11 experiment of touch key controlling LED lamp - excerpted from the FPGA Development Guide of ZYNQ, the leader of punctual atom_ V2.0

1) Experimental platform: ZYNQ development board of punctual atomic navigator 2) Platform purchase address: https://item.taobao.com/item.htm?&id=606160108761 3) Full set of experimental source code + manual + video download address: http://www.openedv.com/thread-301505-1-1.html 4) Students interested in punctual atomic FPGA can add group di ...

Posted by Admiral S3 on Mon, 03 Jan 2022 11:38:48 +0100

Key points for debugging STM32+SDIO+FATFS on platforms with DMA and CACHE

1. Preface FATFS tutorials and processes are common, and its platforms cover from 8051 core MCU to Cortex-M7 core high-performance MCU and even higher performance application processors. However, most STM32 tutorials and routines bypass this mode using D-Cache writeback mode and DMA. For example, the processes of punctual atoms and wildfire ...

Posted by fhil85 on Mon, 03 Jan 2022 11:03:59 +0100

Embedded foundation -- parsing string

Hello, everyone. I'm surprised. Let's talk about string today. There are many scenarios for using strings, which are used in human-computer interaction and dual computer communication. For example: Send instructions to MCU through serial port to perform operation or configure parameters.MCU reads sensor data, and the data format is string. Gen ...

Posted by Nommy on Sat, 01 Jan 2022 20:28:01 +0100

Speech Control LCD Screen Lighting Based on STM32F1 Series and LDV5 Speech Module

This article is based on the wildfire guider F103 onboard LCD screen control, if there are any inaccuracies, welcome to refer to the orthogonal flow! Preface This article first briefly introduces the principle and initialization of STM32 external interrupt EXTI and LDV5 voice module, then uses external interrupt EXTI to control the on-b ...

Posted by hoogie on Sat, 01 Jan 2022 19:58:02 +0100

STM32F103+W5500 network communication

1, W5500 module 1. Introduction to w5500 Ethernet module (1)D-W5500 EVB Ethernet module is an Ethernet module based on WIZnet W5500 chip with high cost performance. W5500 is a full hardware TCP/IP embedded Ethernet controller, which provides a more recommended Internet connection scheme for embedded systems. (2)W5500 solidifies the TCP/IP ...

Posted by mybluehair on Sat, 01 Jan 2022 16:43:36 +0100

Intelligent gate system of parking lot (qt)

demand This project is a three-level project at the end of the term, which was completed by my roommate and I in a team. Among them, I am responsible for Baidu identification, camera acquisition, time display and code integration Design The functions of the project include: the camera obtains the license plate number, screenshots and a ...

Posted by Ekate on Thu, 30 Dec 2021 01:36:53 +0100