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

Information on LEDs needed #17

Open
surlyhacker opened this issue Jul 14, 2022 · 9 comments
Open

Information on LEDs needed #17

surlyhacker opened this issue Jul 14, 2022 · 9 comments

Comments

@surlyhacker
Copy link

I am really confused about the LEDs in this device.
Here are some questions:

  1. how many total LEDs there are?
  2. which ones are internal and which are external? There is at least one internal blue LED that can be seen if you open the case or look through the hole on the back. And clearly there are 2 external spots where LEDs can be seen.
  3. What is the position of each LED in the device's case?
  4. For each LED, is it single-color or are there any multi color LEDs?
  5. What is the pin numbering for each LED?

Your existing pinout diagram shows this:
image

And that doesn't really answer most of my questions.

@surlyhacker
Copy link
Author

And if you are able to answer these questions, please also put the answers in widely accessible places and not just in this issue comments, such as:

  1. On this github README
  2. On your AliExpress listings
  3. On your web site

@surlyhacker
Copy link
Author

In the schematic, there is an LED6 connected to the 1PPS pin of the L76K. Is this the blue LED that can be seen internally on the board? Can it be controlled by firmware? It seems to remain illuminated when the device is off (with Meshtastic). This is totally separate from the Red/Green/Blue LEDs controllable by GPIO pins on the NRF_8420, correct?

What about the LED connected to the TP4054? Where is that located in the device? Is it also separate from the Red/Green/Blue LEDs controllable by GPIO pins on the NRF_8420?

@GoldProto
Copy link

I am anticipating some answers on these issues as well. Especially curious as to why the blue LED seen inside the device runs non-stop when in sleep mode. A battery drain if you ask me...
This needs to be corrected.
Have you looked in the raw code to see if there are some lines to comment/uncomment to change the status of the internal LED's (not on the front)?

@FabianMNoss
Copy link

FabianMNoss commented Apr 13, 2023

@GoldProto, this issue was also discussed at Meshtastic, stating at this comment: meshtastic/firmware#1493 (comment)
@lewisxhe, I'm not sure if I understood it correctly (despite removing the LED).
It can be disabled in SW - which will also shut down GNSS and so on, but that's okay for the "power off" state; but why ever the Meshtastic people say, they cannot control this pin.

Will there ever be any solution in SW or not?
It is not a disturbing blue LED, it's about the T-Echo draining the battery all the time also when not used.

@lewisxhe
Copy link
Contributor

The blue light connected to GPS cannot be turned off. Unless the GPS is turned off, it cannot be turned off when the GPS is turned on.

@FabianMNoss
Copy link

FabianMNoss commented Apr 14, 2023

The blue light connected to GPS cannot be turned off. Unless the GPS is turned off, it cannot be turned off when the GPS is turned on.

Understood, but I'm talking about the off-state of the T-Echo. I guess GNSS is not needed then, or do I miss something here?
IMO all peripherals not needed should be switched off in this state to save battery.

@lewisxhe
Copy link
Contributor

GPS and Radio are controlled by P0.12, if this IO port is low level, then the GPS 1PPS light should not be on

@surlyhacker
Copy link
Author

I tried setting P0.12 to low during the Meshtastic shutdown code in my own fork of the firmware and it did not result in the 1PPS light turning off. It was still on. Why would this not work?

What about PWR_EN / P0.13 ? Would that turn off the 1PPS LED?

@lewisxhe
Copy link
Contributor

1PPS cannot be closed.

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

4 participants