moshe-braner / Open-Glider-Network-Groundstation

Open Glider Network Receiver based on TTGO T-Beam ESP32 hardware.
https://ros-it.ch/open-glider-network-base-station/
GNU General Public License v3.0
7 stars 4 forks source link

T-Beam does not charge battery #20

Closed lkangas closed 3 months ago

lkangas commented 6 months ago

When plugging a 18650 battery, its voltage is reported on the screen and to the base station, but the voltage stays low forever even when plugged in micro USB. Is there a configuration to enable battery charging?

moshe-braner commented 4 months ago

Hi lkangas. Sorry I didn't notice this comment until now. Which version of the T-Beam, and which version of OGNbase? I used a T-Beam v1.1 as the remote station in OGNbase, with a solar panel, and it did seem to charge. That was a while ago, much older version of OGNbase. Maybe time to try that again with the current version.

lkangas commented 4 months ago

I'm using T-BEAM-AXP2101-V1.2.

I can have a go with Meshtastic fw at some point, to rule out if it's a software config issue.

moshe-braner commented 4 months ago

Thanks. Only some months ago I added code (copied from Linar's version) for the AXP2101. Maybe it is missing some command to turn on the charging. I will look into it.

moshe-braner commented 4 months ago

Fixed now, I think. Let me know if it works for you.

lkangas commented 4 months ago

Excellent! I'm at the EFRY airfield now trying to set some things up, but I don't have any battery cells with me. I'll try this fix out next week.

I'm having some difficulties with the new versions, they seem to receive messages but do not send anything to APRS. Serial debug shows either "rejected too far" which is definitely not true, or say something about incorrect decryption. Happens on both SoftRF legacy senders and actual Flarms. I will carry out more tests tomorrow or day after, and open a new issue for them.

Edit: I now see the MB138 version has fixes for EU timing too. I'll check that out right away.

moshe-braner commented 4 months ago

Hi Lauri. This conversation is going through github's "issues" area. You may want to join the Google Group I have set up for discussions about SoftRF and OGNbase. There you will see, for example, that the new version I posted today also fixes bugs that caused decryption errors in the EU. https://groups.google.com/g/softrf_community - you need to ask to join, and state a reason.

On Wed, May 15, 2024 at 12:36 PM Lauri Kangas @.***> wrote:

Excellent! I'm at the EFRY airfield now trying to set some things up, but I don't have any battery cells with me. I'll try this fix out next week.

I'm having some difficulties with the new versions, they seem to receive messages but do not send anything to APRS. Serial debug shows either "rejected too far" which is definitely not true, or say something about incorrect decryption. Happens on both SoftRF legacy senders and actual Flarms. I will carry out more tests tomorrow or day after, and open a new issue for them.

— Reply to this email directly, view it on GitHub https://github.com/moshe-braner/Open-Glider-Network-Groundstation/issues/20#issuecomment-2112997716, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWI7NOVFK5TAA3OVC3RWF2DZCOFKRAVCNFSM6AAAAABFTU4KPWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMJSHE4TONZRGY . You are receiving this because you commented.Message ID: <moshe-braner/Open-Glider-Network-Groundstation/issues/20/2112997716@ github.com>

lkangas commented 3 months ago

MB139 successfully charges the battery now!