当前位置:网站首页>Led serial communication
Led serial communication
2022-07-08 01:12:00 【Just love life】
screen setting
Set up ---- screen setting 

The password is 168
Small screen width and height Calculate (44)
Width 324=128
Height 16*4=64
attachment
232 Lines should cross 
E3L Control card ( Male head )-----232 Wiring female ---- Development board stm32 explorer COM2
As you can see from the picture above com2 The corresponding is P9,P9 Connect with serial port (ch340)


Select serial port in screen settings 
Download font 
gb2312 Can display Chinese , The width depends on how many words you want to display Screen width / Character width = Show the number of words
The height depends on how many lines you want to display Screen height / character height = Display row number 
Click send in the upper right corner to indicate that the connection is ok . Note that if the serial port is not closed, the communication will fail .
Serial port communication
Choose the characters 
For example, to id by 2 Send in the area of Show immediately yellow ( monochrome p10 Invalid )Led Show 5.3

Instructions :78 34 01 00 29 12 F2 00 00 00 00 00 00 18 00 02 00 01 02 00 03 10 00 00 4C 00 65 00 64 CF D4 CA BE 00 35 00 2E 00 33 31 D3 A5
explain :78、34 It is fixed as shown below
0100 It represents the screen address 1, Two bytes high followed , You can see in the screen settings
29 yes cmd command , Represents string update You can find it in the second picture below
ident and frame Invalid , Random filling , in total 8 Bytes
18 00 Is the length of the following data , Two bytes 18( Hexadecimal )=16+8( Decimal system ) The blue part
data Look at the third picture below 02 00 Is the character partition id3, Two bytes 01 representative gb2312 code 02 The delegate immediately displays 00 Represents string index , Immediately show that it doesn't matter ,03 On behalf of yellow , Here is monochrome invalid ,10 00( The conversion to decimal is 16) Is the character length ,Led Show 5.3, Each Chinese character or English occupies two bytes 8*2=16
Led Show 5.3 Convert to hex , English is a byte that needs to be supplemented , Chinese will be converted into two bytes , Refer to the fourth figure below for details 00 4C 00 65 00 64 CF D4 CA BE 00 35 00 2E 00 33
31· D3 It's the check code , Input the previous data , choice ModbusCRC16 On the right is the check code
A5 The is terminator is fixed 




Tools to address :https://www.23bei.com/tool-54.html#
边栏推荐
- Ag9310meq ag9310mfq angle two USB type C to HDMI audio and video data conversion function chips parameter difference and design circuit reference
- C#中string用法
- swift获取url参数
- 串口接收一包数据
- Get started quickly using the local testing tool postman
- Introduction to ML regression analysis of AI zhetianchuan
- How to use education discounts to open Apple Music members for 5 yuan / month and realize member sharing
- Ag9310 design USB type C to hdmi+u2+5v slow charging scheme design | ag9310 expansion dock scheme circuit | type-C dongle design data
- Su embedded training - C language programming practice (implementation of address book)
- Markdown learning (entry level)
猜你喜欢

For the first time in China, three Tsinghua Yaoban undergraduates won the stoc best student thesis award

Cve-2022-28346: Django SQL injection vulnerability

General configuration title

Ag9310 design USB type C to hdmi+u2+5v slow charging scheme design | ag9310 expansion dock scheme circuit | type-C dongle design data

Su embedded training - Day9

Share a latex online editor | with latex common templates

3. MNIST dataset classification

10. CNN applied to handwritten digit recognition

AI遮天传 ML-回归分析入门

A network composed of three convolution layers completes the image classification task of cifar10 data set
随机推荐
USB type-C mobile phone projection scheme | USB type-C docking station scheme | TV / projector type-C converter scheme | ag9300ag9310ag9320
[note] common combined filter circuit
Ag9310 design USB type C to hdmi+u2+5v slow charging scheme design | ag9310 expansion dock scheme circuit | type-C dongle design data
Image data preprocessing
新库上线 | CnOpenData中国星级酒店数据
Su embedded training - Day7
Su embedded training - Day8
10. CNN applied to handwritten digit recognition
3. MNIST dataset classification
Taiwan Xinchuang sss1700 latest Chinese specification | sss1700 latest Chinese specification | sss1700datasheet Chinese explanation
基于卷积神经网络的恶意软件检测方法
【深度学习】AI一键换天
swift获取url参数
Is it safe to speculate in stocks on mobile phones?
Analysis of 8 classic C language pointer written test questions
4. Cross entropy
AI遮天传 ML-初识决策树
Swift get URL parameters
Stock account opening is free of charge. Is it safe to open an account on your mobile phone
大二级分类产品页权重低,不收录怎么办?