Skip to content

DIY with Wio Battery Chassis#51

Open
AkosLukacs wants to merge 2 commits into
disk91:masterfrom
AkosLukacs:master
Open

DIY with Wio Battery Chassis#51
AkosLukacs wants to merge 2 commits into
disk91:masterfrom
AkosLukacs:master

Conversation

@AkosLukacs
Copy link
Copy Markdown
Contributor

With this change someone with a DIY RFM95 and a Wio battery pack can read the state of charge from the Wio battery pack. Why: when I assembled mine, the MCP73831 and suitably sized LiPo was out of stock everywhere. Maybe not an issue now, but maybe helpful for some...

Usage: in config.h set HWTARGET to RFM95 and uncomment the WITH_WIO_BATTERY_PACK line.
#define HWTARGET RFM95
#define WITH_WIO_BATTERY_PACK 1

Tested with my DIY with Wio battery pack and without the Wio battery pack. Works both ways, only difference is battery voltage display shows 0V, if no Wio battery pack is installed.

Also a small tweaks on the GPS / status screen: before if GPS signal was weak, the battery voltage was also in red/orange. Now the battery voltage follows the state of charge colors like in the in the battery gauge line.

Example with no GPS signal (not visible on the image, but this is a DIY with Wio battery pack):
20220820_094018

AkosLukacs and others added 2 commits August 20, 2022 09:22
@disk91
Copy link
Copy Markdown
Owner

disk91 commented Aug 24, 2022

Thank you for the contribution, it's a great addition.
I'll make some little change, so this is why I did not yet merged:

  • removing the battery setting on startup screen
  • change the define test 0 / 1 by defined / undefined
  • see if we can have an auto-detect for rfm95
  • make sure the bat level on the GPS status screen does not conflict with other printing depending on setting (GPS trace debug option)

@disk91
Copy link
Copy Markdown
Owner

disk91 commented Aug 29, 2023

thank you for the contribution.
I'm a bit late making a new version but it will come soon ;)

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.

2 participants