[Feature request] T-Echo Card: compass heading page using the onboard ICM-20948
Maintainer thường phản hồi trong vòng 2 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 38/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- c
- Lĩnh vực
- embedded-iot
Hướng nghiên cứu
Read the companion-tiny UI and the board or EnvironmentSensorManager code to identify where a page and sensor access fit; first check how build flags and prefs are handled. The proposal names the ICM-20948 and AK09916, but leaves the integration point undecided. Done means a T-Echo Card compass page with tilt-compensated heading, on-page sensor use, calibration with saved offsets, and a build flag.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Use case: the LilyGo T-Echo Card has an ICM-20948 9-axis IMU (accelerometer, gyro and AK09916 magnetometer) at I2C 0x68, but no firmware uses it. A compass heading would help when hiking with the card: which way to walk, or where to point a directional antenna. GPS course-over-ground only works while you're moving.
Proposed behaviour (companion, T-Echo Card first):
- A new "Compass" page in the
companion-tinyUI: large heading in degrees plus a cardinal point (e.g.127° SE). - The magnetometer and accelerometer run only while that page is showing, so there's no idle power cost.
- Tilt compensation from the accelerometer, so the reading holds when the card isn't flat.
- A calibration step for hard-iron offsets (rotate the card in all directions for ~15 s), started from the page or with a CLI command, with the offsets saved in prefs.
- Behind a build flag (e.g.
ENV_INCLUDE_COMPASS) so other boards aren't affected and could opt in later.
Implementation idea: a small register-level driver (ICM-20948 in I2C bypass mode, AK09916 read directly at 0x0C) rather than pulling in a full library, to keep flash use small.
Before I start on it: would a PR along these lines be welcome, and is there a preferred place for it (board class vs EnvironmentSensorManager)?
- Ngôn ngữ chính
- C
- Star
- 3.9k
- Fork
- 1.5k
- Merge trung bình
- 2 ngày 7 giờ
- Pull request đã merge (30 ngày)
- 56
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của meshcore-dev/MeshCore
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
meshcore-dev/MeshCore#4015 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
CMD_SET_DEFAULT_FLOOD_SCOPE leaves an older, longer name's tail after the new nameCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
meshcore-dev/MeshCore#3891 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 64/100
meshcore-dev/MeshCore#3826 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
App Preset Australia: NTĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
meshcore-dev/MeshCore#3825 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
meshcore-dev/MeshCore#3781 ·
Maintainer thường phản hồi trong vòng 2 ngày
Tất cả issue của meshcore-dev/MeshCore
Issue tương tự
-
CF_CFDP_S_SendFileData computes the file checksum from the SB buffer after CFE_SB_TransmitBufferĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
needs triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
389ds/389-ds-base#8251 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug data-types
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
ClickHouse/clickhouse-cpp#645 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
ROCm/hrx-system#3628 ·
Maintainer thường phản hồi trong vòng 1 ngày