Skip to content

feat(main_esp32): hoàn thành uart slave#8

Open
nguyenhuuddinh wants to merge 1 commit into
retobots:developfrom
nguyenhuuddinh:feature/main_esp32/uart-slave-comm
Open

feat(main_esp32): hoàn thành uart slave#8
nguyenhuuddinh wants to merge 1 commit into
retobots:developfrom
nguyenhuuddinh:feature/main_esp32/uart-slave-comm

Conversation

@nguyenhuuddinh

Copy link
Copy Markdown

NHÁNH UART (Giao Tiếp Master - Slave)

Kiến trúc Phân giải File: Sử dụng FSM (Mạng máy trạng thái) để hứng byte thô thay vì cắt dán chuỗi String (split). Truyền thẳng cấu trúc dữ liệu theo Block (C-Struct / Little-Endian) giúp tốc độ phân rã dữ liệu đạt độ trễ gần bằng 0.

Bộ lọc Gói tin (CRC-8): Áp dụng thuật toán Mã kiểm tra vòng đa thức (CRC-8 Polynomial) thay thế hoàn toàn cho Checksum cộng dồn lỏng lẻo. Giúp mạch tự động vứt bỏ các gói dữ liệu bị phá hủy bởi từ trường nhiễu của Động cơ.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant