当前位置:网站首页>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#
边栏推荐
- 7. Regularization application
- 13. Enregistrement et chargement des modèles
- Recommend a document management tool Zotero | with tutorials and learning paths
- Several frequently used OCR document scanning tools | no watermark | avoid IQ tax
- Use "recombined netlist" to automatically activate eco "APR netlist"
- 4.交叉熵
- 新库上线 | CnOpenData中华老字号企业名录
- FOFA-攻防挑战记录
- Su embedded training - Day9
- Complete model verification (test, demo) routine
猜你喜欢

完整的模型验证(测试,demo)套路

USB type-C mobile phone projection scheme | USB type-C docking station scheme | TV / projector type-C converter scheme | ag9300ag9310ag9320
![[go record] start go language from scratch -- make an oscilloscope with go language (I) go language foundation](/img/76/b048e100d2c964ac00bc4f64e97e7a.png)
[go record] start go language from scratch -- make an oscilloscope with go language (I) go language foundation

SDNU_ ACM_ ICPC_ 2022_ Summer_ Practice(1~2)

新库上线 | CnOpenData中华老字号企业名录

New library online | cnopendata China Star Hotel data

2022-07-07: the original array is a monotonic array with numbers greater than 0 and less than or equal to K. there may be equal numbers in it, and the overall trend is increasing. However, the number

Vscode is added to the right-click function menu

130. Zones environnantes

Cs5261type-c to HDMI alternative ag9310 | ag9310 alternative
随机推荐
Su embedded training - Day6
Analysis of 8 classic C language pointer written test questions
What does interface testing test?
Ag9311maq design 100W USB type C docking station data | ag9311maq is used for 100W USB type C to HDMI with PD fast charging +u3+sd/cf docking station scheme description
9.卷积神经网络介绍
跨模态语义关联对齐检索-图像文本匹配(Image-Text Matching)
For the first time in China, three Tsinghua Yaoban undergraduates won the stoc best student thesis award
11. Recurrent neural network RNN
Kuntai ch7511b scheme design | ch7511b design EDP to LVDS data | pin to pin replaces ch7511b circuit design
Chapter 16 intensive learning
High quality USB sound card / audio chip sss1700 | sss1700 design 96 kHz 24 bit sampling rate USB headset microphone scheme | sss1700 Chinese design scheme explanation
Saving and reading of network model
3. MNIST dataset classification
[note] common combined filter circuit
Fundamentals - integrating third-party technology
y59.第三章 Kubernetes从入门到精通 -- 持续集成与部署(三二)
USB type-C docking design | design USB type-C docking scheme | USB type-C docking circuit reference
Two methods for full screen adaptation of background pictures, background size: cover; Or (background size: 100% 100%;)
ThinkPHP kernel work order system source code commercial open source version multi user + multi customer service + SMS + email notification
11.递归神经网络RNN