Add Heltec mesh node t1#10416
Merged
Merged
Conversation
Contributor
Author
|
The other two related commits are meshtastic/protobufs#909 and meshtastic/protobufs#908. |
Contributor
There was a problem hiding this comment.
Pull request overview
Adds initial firmware bring-up for the Heltec Mesh Node T1 (nRF52840 + SX1262), including a new PlatformIO board/env + variant pinmap, and extends I2C device detection / motion support to recognize the board’s onboard IMU and magnetometer.
Changes:
- Introduces a new
heltec-mesh-node-t1PlatformIO environment + board JSON + nRF52840 variant (pins for SX1262, ST7735 TFT, GPS, sensors, battery, buzzer/buttons). - Extends I2C scanning to detect MMC5983MA (magnetometer) and ICM42607P (IMU), and adds a new
MagnetometerThread. - Updates TFT display handling and motion thread wiring in main/menu code paths.
Reviewed changes
Copilot reviewed 20 out of 20 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| variants/nrf52840/heltec_mesh_node_t1/variant.h | New Heltec Mesh Node T1 pin definitions (radio, TFT, GPS, I2C power, battery, buzzer/buttons). |
| variants/nrf52840/heltec_mesh_node_t1/variant.cpp | New variant init/shutdown GPIO handling for T1. |
| variants/nrf52840/heltec_mesh_node_t1/platformio.ini | New env:heltec-mesh-node-t1 build config (TFT_eSPI + defines). |
| boards/heltec_mesh_node_t1.json | New PlatformIO board definition for the T1. |
| src/platform/nrf52/architecture.h | Maps HELTEC_MESH_NODE_T1 to the correct HardwareModel. |
| src/motion/ICM42607PSensor.h | New MotionSensor wrapper for ICM42607P (via ICM42670P library). |
| src/motion/ICM42607PSensor.cpp | ICM42607P sensor init/run implementation. |
| src/motion/MMC5983MASensor.h | New MotionSensor wrapper for MMC5983MA magnetometer. |
| src/motion/MMC5983MASensor.cpp | MMC5983MA magnetometer read/calibration + heading update. |
| src/motion/MagnetometerThread.h | New thread to manage magnetometer lifecycle and periodic sampling. |
| src/motion/AccelerometerThread.h | Adds ScanI2C dispatch case to create ICM42607PSensor. |
| src/detect/ScanI2C.h | Adds new device types + firstMagnetometer() API. |
| src/detect/ScanI2C.cpp | Extends accelerometer preference list + implements firstMagnetometer(). |
| src/detect/ScanI2CTwoWire.cpp | Adds detection logic for MMC5983MA and ICM42607P in the I2C scanner. |
| src/main.h | Adds magnetometer globals + conditionally exposes MagnetometerThread. |
| src/main.cpp | Powers sensor rail, scans for magnetometer, instantiates magnetometer thread, maps new devices into telemetry map. |
| src/graphics/draw/MenuHandler.cpp | Adds magnetometer calibration trigger alongside accelerometer calibration action. |
| src/graphics/TFTDisplay.cpp | Treats HELTEC_MESH_NODE_T1 similarly to other TFT_eSPI targets for power/brightness/touch paths. |
| src/configuration.h | Adds I2C address constants for MMC5983MA + ICM42607P. |
| platformio.ini | Adds global lib deps for ICM42670P + SparkFun MMC5983MA library. |
Contributor
|
@copilot apply changes based on the comments in this thread |
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Contributor
Author
|
@thebentern Thanks, I’ve addressed the issues mentioned in this thread. |
thebentern
added a commit
that referenced
this pull request
May 30, 2026
* add heltec-mesh-node-t1 * fixed low power * Update the sensor enumeration values. Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> * Fix memory leak in ICM42607PSensor * fix ST7735_MISO error --------- Co-authored-by: Ben Meadors <benmmeadors@gmail.com> Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Evil8it
pushed a commit
to Evil8it/ME4TACTNK
that referenced
this pull request
Jun 10, 2026
* add heltec-mesh-node-t1 * fixed low power * Update the sensor enumeration values. Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> * Fix memory leak in ICM42607PSensor * fix ST7735_MISO error --------- Co-authored-by: Ben Meadors <benmmeadors@gmail.com> Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
raghumad
pushed a commit
to raghumad/mezulla-firmware
that referenced
this pull request
Jun 25, 2026
* add heltec-mesh-node-t1 * fixed low power * Update the sensor enumeration values. Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> * Fix memory leak in ICM42607PSensor * fix ST7735_MISO error --------- Co-authored-by: Ben Meadors <benmmeadors@gmail.com> Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds initial Meshtastic firmware support for the Heltec Mesh Node T1.
The new board target is based on the nRF52840 MCU and SX1262 LoRa radio.
What changed
Added a new PlatformIO board definition:
boards/heltec_mesh_node_t1.jsonAdded a new nRF52840 variant:
variants/nrf52840/heltec_mesh_node_t1/Added a new PlatformIO environment:
env:heltec-mesh-node-t1Added pin definitions for:
Added TFT_eSPI configuration for the onboard ST7735 display.
Added sensor detection support for:
ICM42607Paccelerometer / IMUMMC5983MAmagnetometer🤝 Attestations