Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Heltec HRU-3601 #4129

Merged
merged 2 commits into from
Jun 20, 2024
Merged

Add support for Heltec HRU-3601 #4129

merged 2 commits into from
Jun 20, 2024

Conversation

ndoo
Copy link
Contributor

@ndoo ndoo commented Jun 17, 2024

Board is very similar to the Heltec HT-C62 based boards (Heltec HT62 variant) but due to wiring of SK6812 Neopixel LED to GPIO2 it becomes incompatible due to the regular HT-C62 dev board using a simple LED on the same GPIO. Depends on protobufs#521.

Works:

Not working:

  • SX1262 initialization after deep sleep (seems like an issue out of scope of the PR)

Won't fix:

  • Battery reading - Board has no voltage divider on VBAT (board has a 1.25mm pitch "JST" style connector and a TP4054 charge IC)
  • Main thread LED - Board has no LED on simple GPIO

Board schematic: HRU3601.pdf

@ndoo ndoo force-pushed the hru-3601 branch 3 times, most recently from 370122b to 3b27bdd Compare June 17, 2024 18:15
src/main.cpp Outdated Show resolved Hide resolved
variants/heltec_hru_3601/platformio.ini Outdated Show resolved Hide resolved
variants/heltec_hru_3601/variant.h Show resolved Hide resolved
@ndoo ndoo requested a review from caveman99 June 18, 2024 14:19
@ndoo ndoo force-pushed the hru-3601 branch 2 times, most recently from ade90ea to e940783 Compare June 18, 2024 14:39
@ndoo
Copy link
Contributor Author

ndoo commented Jun 18, 2024

I noticed that the SX1262 does not initialize when the board wakes up from deep sleep, with SX126x init result -2 followed by a critical error.

I've double checked the pins in variant.h against the schematic and it does not appear to be caused by this PR but a regression/issue elsewhere.

@caveman99
Copy link
Member

Looks good to me, I'll review the protobuf change now.

@caveman99
Copy link
Member

Protobufs are in place now, just need to change from PRIVATE_HW to a unique tag you chose and add the translation to architecture.h of the ESP platform source.

ndoo added 2 commits June 20, 2024 12:30
Board is very similar to the Heltec HT-C62 based boards (Heltec HT62 variant) but due to wiring of SK6812 Neopixel LED to GPIO2 it becomes incompatible due to the regular HT-C62 dev board using a simple LED on the same GPIO. Depends on [protobufs#521](meshtastic/protobufs#521).

Works:

* SK6812 Neopixel on GPIO2
* [GXCAS GXHTV3](https://www.lcsc.com/product-detail/Temperature-Sensors_GXCAS-GXHTV3C_C5441730.html) (SHTC3 compatible)

Won't fix:

* Battery reading - Board has no voltage divider on VBAT (board has a 1.25mm pitch "JST" style connector and a TP4054 charge IC)
* Main thread LED - Board has no LED on simple GPIO

Board schematic: [HRU3601.pdf](https://github.com/user-attachments/files/15874850/HRU3601.pdf)

Signed-off-by: Andrew Yong <[email protected]>
@ndoo
Copy link
Contributor Author

ndoo commented Jun 20, 2024

Rebase on HEAD in an attempt to make CI happy

@caveman99 caveman99 merged commit 9a80951 into meshtastic:master Jun 20, 2024
89 checks passed
@ndoo ndoo deleted the hru-3601 branch June 20, 2024 17:40
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.

3 participants