Disable the GPS module on ttgo-t-beam-v1 #136

Closed
opened 2026-10-05 05:41:11 +02:00 by adam · 14 comments
Owner

Hello,
Just for consumption reasons, it would be good to have the possibility to disable the GPS on T-beam boards if they are used as fixed iGates.
I measured ~110mA consumption instead of ~50mA on a Lora32 board with no GPS.
I would like to use a T-beam board as a solar powered digipeater and the consumption is significantly higher when GPS is enabled.
Could this be implemented? :)
Thank you.

Regards,
YO5OMT, Mihai

Hello, Just for consumption reasons, it would be good to have the possibility to disable the GPS on T-beam boards if they are used as fixed iGates. I measured ~110mA consumption instead of ~50mA on a Lora32 board with no GPS. I would like to use a T-beam board as a solar powered digipeater and the consumption is significantly higher when GPS is enabled. Could this be implemented? :) Thank you. Regards, YO5OMT, Mihai <!-- github-sync-id:2557489363 -->
adam closed this issue 2026-10-05 05:41:11 +02:00
Author
Owner

Hi,

GPS was never activated , nor even defined in iGate FW

Hi, GPS was never activated , nor even defined in iGate FW <!-- github-comment-id:2384005095 -->
Author
Owner

OK, thanks for clarification.
I'll dig into this more when time allows. Maybe the board is faulty or something. I've seen a GPS_VDD line coming from the power chip and I'm curious if it gets power and draws any current there.
Thanks.

OK, thanks for clarification. I'll dig into this more when time allows. Maybe the board is faulty or something. I've seen a GPS_VDD line coming from the power chip and I'm curious if it gets power and draws any current there. Thanks. <!-- github-comment-id:2384053459 -->
Author
Owner

Let me know what you find

Let me know what you find <!-- github-comment-id:2384290558 -->
Author
Owner

Mihai, check #158 and check if perhaps you are encountering this behaviour. It could be the reason for your 110mA consumption.

Mihai, check #158 and check if perhaps you are encountering this behaviour. It could be the reason for your 110mA consumption. <!-- github-comment-id:2384989236 -->
Author
Owner

The high consumption could be due to the AP not going off. I've noticed that no mater what I set in the "Auto AP power off timeout", the access point remains on. If it's a remote solar powered node, it makes no sense to keep it active.

The high consumption could be due to the AP not going off. I've noticed that no mater what I set in the "Auto AP power off timeout", the access point remains on. If it's a remote solar powered node, it makes no sense to keep it active. <!-- github-comment-id:2386226861 -->
Author
Owner

Small but important correction - AP is going off as expected, but due to described flaw it immediately restarts again if there is no wifi present, and will keep on restarting forever. My proposed solution is to run AP only once after reboot, so it will not keep on restarting. But this can be resolved in other ways as well.

Small but important correction - AP is going off as expected, but due to described flaw it immediately restarts again if there is no wifi present, and will keep on restarting forever. My proposed solution is to run AP only once after reboot, so it will not keep on restarting. But this can be resolved in other ways as well. <!-- github-comment-id:2388326639 -->
Author
Owner

Hi,
I've just tested the consumption on a Lora32 board and it's around 150mA (probably due to AP being on). I get there are ways to resolve this but I don't have enough experience to make my own modifications in the source code.
Could you implement a solution for this in the next release? I know that just the processor plus LoRa modem should talke about 40mA@3.7V to run.
Thank you!

Later edit: I was able to compile and upload S57PNX's fix and now the consumption is around 50-60mA, so it looks much better.

Hi, I've just tested the consumption on a Lora32 board and it's around 150mA (probably due to AP being on). I get there are ways to resolve this but I don't have enough experience to make my own modifications in the source code. Could you implement a solution for this in the next release? I know that just the processor plus LoRa modem should talke about 40mA@3.7V to run. Thank you! Later edit: I was able to compile and upload S57PNX's fix and now the consumption is around 50-60mA, so it looks much better. <!-- github-comment-id:2391957550 -->
Author
Owner

I got news for all,

added a WIFI KILL Switch (on Wifi AP section of webUI config)

this is to kill Wifi and WifiAP completely from restart for pure Remote Digirepeater which should lower power comsumption a lot (as we need for this special cases)

please test it a comment

PS: @S57PNX WiFiAP timeout restart is to do a few things, but mainly to check if Wifi is available again connect to it, or start again Wifi AP if needed, but this new method kills it all ;)

I got news for all, added a WIFI KILL Switch (on Wifi AP section of webUI config) this is to kill Wifi and WifiAP completely from restart for pure Remote Digirepeater which should lower power comsumption a lot (as we need for this special cases) please test it a comment PS: @S57PNX WiFiAP timeout restart is to do a few things, but mainly to check if Wifi is available again connect to it, or start again Wifi AP if needed, but this new method kills it all ;) <!-- github-comment-id:2395777049 -->
Author
Owner

I am not sure that this covers adequately my use case.

My use case is that I have multiple solar powered gates that have wifi available, so I can't use wifi kill switch. Being connected to wifi doesn't cost much in terms of power and it is worth the little extra power usage, so for me this an acceptable tradeoff. But sometimes the wifi goes away (from a few minutes to a week!), and wifiAP runs all the time with a big power consumption cost.

If the wifi kill switch is off, can you still consider starting WifiAP only one time while still checking for wifi every 15 minutes?
Checking if wifi is available again doesn't cost much in terms of power use, but starting wifiAP for 15 minutes costs a lot.

Finally, if wifi kill switch is on, how can the digi be serviced when you visit the site? The digi will not have wifi or wifiap. Do you need to bring a laptop with visual studio code and delete the configuration from the device?

WIth "my" solution you restat the digi and get wifiap one time for service, and then after timeout it goes away until next reboot.

I am not sure that this covers adequately my use case. My use case is that I have multiple solar powered gates that have wifi available, so I can't use wifi kill switch. Being connected to wifi doesn't cost much in terms of power and it is worth the little extra power usage, so for me this an acceptable tradeoff. But sometimes the wifi goes away (from a few minutes to a week!), and wifiAP runs all the time with a big power consumption cost. If the wifi kill switch is off, can you still consider starting WifiAP only one time while still checking for wifi every 15 minutes? Checking if wifi is available again doesn't cost much in terms of power use, but starting wifiAP for 15 minutes costs a lot. Finally, if wifi kill switch is on, how can the digi be serviced when you visit the site? The digi will not have wifi or wifiap. Do you need to bring a laptop with visual studio code and delete the configuration from the device? WIth "my" solution you restat the digi and get wifiap one time for service, and then after timeout it goes away until next reboot. <!-- github-comment-id:2395992165 -->
Author
Owner

Hi.
I've tested the WIFI KILL switch and indeed, the consumption drops to ~50mA. However, I don't think that loosing control of the board completely is a way to go. I think starting AP once on each boot (for a few minutes) would still be a required thing to do if you still want to access the board and change some configuration. I think @S57PNX solution is reasonable and would do the job...

Hi. I've tested the WIFI KILL switch and indeed, the consumption drops to ~50mA. However, I don't think that loosing control of the board completely is a way to go. I think starting AP once on each boot (for a few minutes) would still be a required thing to do if you still want to access the board and change some configuration. I think @S57PNX solution is reasonable and would do the job... <!-- github-comment-id:2398977771 -->
Author
Owner

Use ESP32C3+SX1262 and with low power mode (implemented in this software) you can get less than 3.3V 10mA power usage (like 7-8mA). 50mA is still too high, for that you need lot of PV power and energy storage so the station will probably fall in the winter

Use ESP32C3+SX1262 and with low power mode (implemented in this software) you can get less than 3.3V 10mA power usage (like 7-8mA). 50mA is still too high, for that you need lot of PV power and energy storage so the station will probably fall in the winter <!-- github-comment-id:2399231780 -->
Author
Owner

Use ESP32C3+SX1262 and with low power mode (implemented in this software) you can get less than 3.3V 10mA power usage (like 7-8mA). 50mA is still too high, for that you need lot of PV power and energy storage so the station will probably fall in the winter

Thanks for the info. Could you provide an example for a board containing this configuration plus everything else needed to run? (2.4Ghz antenna, SMA connector for 433Mhz, display, etc). Thanks.

Later edit: Would this module "HT-CT62 ESP32C3+SX1262" (433Mhz version) be supported by the firmware? All that is needed is a serial connection for programming and a 3.3V power supply to work?

> Use ESP32C3+SX1262 and with low power mode (implemented in this software) you can get less than 3.3V 10mA power usage (like 7-8mA). 50mA is still too high, for that you need lot of PV power and energy storage so the station will probably fall in the winter Thanks for the info. Could you provide an example for a board containing this configuration plus everything else needed to run? (2.4Ghz antenna, SMA connector for 433Mhz, display, etc). Thanks. Later edit: Would this module "**HT-CT62** ESP32C3+SX1262" (433Mhz version) be supported by the firmware? All that is needed is a serial connection for programming and a 3.3V power supply to work? <!-- github-comment-id:2399278453 -->
Author
Owner

I didn't checked that but heltec wireless stick lite have ESP32C3+SX1262 but I don't know what is voltage converter power usage. With display please don't be funny :) That's low power station and any mA matters here so we don't want any extra components, even voltage converter, MPPT effectivity must be good to not waste power.

I'm using HT-CT62 that you already mention. You have env in that software for that and I'm using it. You need VCC, EN (to VCC), GND, TX, RX and GPIO9 for programming (low during startup to enter flash). I implemented low power mode in that software specially for HT-CT62

I didn't checked that but heltec wireless stick lite have ESP32C3+SX1262 but I don't know what is voltage converter power usage. With display please don't be funny :) That's low power station and any mA matters here so we don't want any extra components, even voltage converter, MPPT effectivity must be good to not waste power. I'm using HT-CT62 that you already mention. You have env in that software for that and I'm using it. You need VCC, EN (to VCC), GND, TX, RX and GPIO9 for programming (low during startup to enter flash). I implemented low power mode in that software specially for HT-CT62 <!-- github-comment-id:2399551772 -->
Author
Owner

I'm using HT-CT62 that you already mention. You have env in that software for that and I'm using it. You need VCC, EN (to VCC), GND, TX, RX and GPIO9 for programming (low during startup to enter flash). I implemented low power mode in that software specially for HT-CT62

Sounds like a good choice then. The price is also nice. I think I'll order one and give it a try...
Thanks for the info on how to wire it!

> I'm using HT-CT62 that you already mention. You have env in that software for that and I'm using it. You need VCC, EN (to VCC), GND, TX, RX and GPIO9 for programming (low during startup to enter flash). I implemented low power mode in that software specially for HT-CT62 Sounds like a good choice then. The price is also nice. I think I'll order one and give it a try... Thanks for the info on how to wire it! <!-- github-comment-id:2399590970 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/LoRa_APRS_iGate#136