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

MicroNav not working on rev. 1.2 of TTGO T-Beam #10

Open
frgaude opened this issue May 12, 2023 · 5 comments
Open

MicroNav not working on rev. 1.2 of TTGO T-Beam #10

frgaude opened this issue May 12, 2023 · 5 comments

Comments

@frgaude
Copy link
Collaborator

frgaude commented May 12, 2023

Hi Rodem,

I recently ordered a TTGO T-Beam v1.1 (to get the same hardware as you) and what I received was a v1.2.

This new revision is currently not working with MicroNav. Error message says it fails to initialize the SX1276.

It seems the one change they did was to replace AXP192 PMU (discontinued) by the new AXP2101 one.

What's new in rev. 1.2 of TTGO T-Beam

Note that the problem could be elsewhere as, strangely enough, I did get the "Data" topic to be displayed on the initial boot, and I was able to scroll though the various pages (Time, Depth, Speed, Wind,) but not able to change the topic (nothing on long press of the power button).

After a reboot, I only got a dark screen and the message that SX1276 failed to init.

I'll investigate further...

@Rodemfr
Copy link
Owner

Rodemfr commented May 15, 2023

SX1276 might be unpowered if Micronav is not initializing AXP2101 properly, explaining initialization failure.

@frgaude
Copy link
Collaborator Author

frgaude commented May 15, 2023

thanks. I will look into making the APX2101 initialize properly.

@frgaude
Copy link
Collaborator Author

frgaude commented May 16, 2023

After updating the power management code to support APX2101, things seems to be working ok
It is not fully tested as I had no Micronet network to test it on (my Micronet displays are back on the boat) but OLED display, menus & GNSS are working and SX1276 initialization worked.
my changes are visible here main...frgaude:MicroNav:tbeam_v1.2

it's not ready yet for a pull request:

  • need to combine the AXP192 and AXP2101 codes and add some PMU hw detection
  • currents (mA) are no longer displayed. I did not find the corresponding calls in the APX2101 lib.
  • some cleanup and review needed
  • as mentioned, I still need to test it in a Micronet network

(by the way, a new T-Beam "Supreme" is coming out, with ESP32-S3, AXP2101 PMU, SX1262 radio, U-blox MAX-M10S GNSS, compass, accelerometer & pressure sensor. this will keep us busy :-) Aliexpress)

@frgaude
Copy link
Collaborator Author

frgaude commented Jun 5, 2023

I updated the code to the latest XPowersLib. I also got to test that the radio was working OK, it connects it to my Mcronet network.

main...frgaude:MicroNav:tbeam_v1.2

@Rodemfr
Copy link
Owner

Rodemfr commented Jun 6, 2023

Excellent, thanks ! It will avoid me buy a 1.2 board.
I'm currently lacking time to work on MicroNav since I'm using my spare time to work on my OpenCPN plugin nut I will be back in a few weeks... I will however test this code and merge it this week if I can.

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

No branches or pull requests

2 participants