Shield Budget Edition#367
Open
3rdIteration wants to merge 32 commits into
Open
Conversation
Agent-Logs-Url: https://github.com/3rdIteration/specter-diy/sessions/70b7aea0-fc9f-4feb-9911-0b7a10ed118b Co-authored-by: 3rdIteration <2230318+3rdIteration@users.noreply.github.com>
Agent-Logs-Url: https://github.com/3rdIteration/specter-diy/sessions/2bfa0fd4-dacd-4656-9427-8867a2bf53b1 Co-authored-by: 3rdIteration <2230318+3rdIteration@users.noreply.github.com>
Agent-Logs-Url: https://github.com/3rdIteration/specter-diy/sessions/2bfa0fd4-dacd-4656-9427-8867a2bf53b1 Co-authored-by: 3rdIteration <2230318+3rdIteration@users.noreply.github.com>
Agent-Logs-Url: https://github.com/3rdIteration/specter-diy/sessions/599940dc-8ece-4011-a4f0-1065d466328d Co-authored-by: 3rdIteration <2230318+3rdIteration@users.noreply.github.com>
Agent-Logs-Url: https://github.com/3rdIteration/specter-diy/sessions/d9fec3b0-9b96-467a-ae08-0a390e6394ea Co-authored-by: 3rdIteration <2230318+3rdIteration@users.noreply.github.com>
Agent-Logs-Url: https://github.com/3rdIteration/specter-diy/sessions/d9fec3b0-9b96-467a-ae08-0a390e6394ea Co-authored-by: 3rdIteration <2230318+3rdIteration@users.noreply.github.com>
Agent-Logs-Url: https://github.com/3rdIteration/specter-diy/sessions/d9fec3b0-9b96-467a-ae08-0a390e6394ea Co-authored-by: 3rdIteration <2230318+3rdIteration@users.noreply.github.com>
Agent-Logs-Url: https://github.com/3rdIteration/specter-diy/sessions/d9fec3b0-9b96-467a-ae08-0a390e6394ea Co-authored-by: 3rdIteration <2230318+3rdIteration@users.noreply.github.com>
…ng boot scripts Agent-Logs-Url: https://github.com/3rdIteration/specter-diy/sessions/fea5082f-a5ab-45fa-a339-8a71a40ec3f6 Co-authored-by: 3rdIteration <2230318+3rdIteration@users.noreply.github.com>
Agent-Logs-Url: https://github.com/3rdIteration/specter-diy/sessions/9208e2b2-7709-4477-ae9a-414aa6904e97 Co-authored-by: 3rdIteration <2230318+3rdIteration@users.noreply.github.com>
…r-support-another-one Embed Shield-BE ADC battery config in existing boot scripts; remove separate shield-be boot variant
Agent-Logs-Url: https://github.com/3rdIteration/specter-diy/sessions/aabc41df-f79e-4291-ad00-98d4310b452a Co-authored-by: 3rdIteration <2230318+3rdIteration@users.noreply.github.com>
…oot variable names Co-authored-by: 3rdIteration <2230318+3rdIteration@users.noreply.github.com>
Agent-Logs-Url: https://github.com/3rdIteration/specter-diy/sessions/1af93e66-a646-48e5-9b9d-f6fda256fe9f Co-authored-by: 3rdIteration <2230318+3rdIteration@users.noreply.github.com>
…er in About Agent-Logs-Url: https://github.com/3rdIteration/specter-diy/sessions/d6ede712-6500-4b13-8feb-4026c5363ac6 Co-authored-by: 3rdIteration <2230318+3rdIteration@users.noreply.github.com>
Agent-Logs-Url: https://github.com/3rdIteration/specter-diy/sessions/0f2fe379-a157-4e45-9f77-b5f14e47aee0 Co-authored-by: 3rdIteration <2230318+3rdIteration@users.noreply.github.com>
Agent-Logs-Url: https://github.com/3rdIteration/specter-diy/sessions/a21cfa6b-9b7e-4289-9bb5-392693a29c5c Co-authored-by: 3rdIteration <2230318+3rdIteration@users.noreply.github.com>
…ery detection Agent-Logs-Url: https://github.com/3rdIteration/specter-diy/sessions/69f068d0-dcbf-4adb-9dbe-3aab91ac2ea5 Co-authored-by: 3rdIteration <2230318+3rdIteration@users.noreply.github.com>
Agent-Logs-Url: https://github.com/3rdIteration/specter-diy/sessions/da8d46c3-29a3-4ad5-a6e8-be296830aec6 Co-authored-by: 3rdIteration <2230318+3rdIteration@users.noreply.github.com>
Agent-Logs-Url: https://github.com/3rdIteration/specter-diy/sessions/969ccfd8-2a2a-47df-96a0-ead98d53d3a2 Co-authored-by: 3rdIteration <2230318+3rdIteration@users.noreply.github.com>
…r-support-again Add ADC battery meter support for Shield-BE + battery diagnostics on About page
Fixes and improvements from 1.0.0 prototype
Ordered prototype from JLC
✅ Deploy Preview for specter-diy-docs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces full support for battery monitoring on both the original Specter Shield and the new Shield-BE (Budget Edition), including hardware abstraction in the firmware, improved boot scripts, and comprehensive documentation. It also adds new KiCad project files and footprints for Shield-BE hardware development, and updates the build and documentation configuration.
Battery monitoring and platform abstraction:
boot/main/boot.pyandboot/debug/boot.pyto automatically select between the STC3100 I2C fuel gauge (original Shield) and an ADC-based voltage divider (Shield-BE), injecting the correct objects (platform.i2c,platform.adc,platform.chg_pin) into theplatformmodule for use by the firmware. [1] [2] [3] [4] [5]boot/shield-be/boot.pyfor Shield-BE, implementing ADC-based battery measurement and power management tailored to the hardware.Documentation and configuration:
docs/battery-meter.md, a detailed guide covering battery meter hardware, firmware integration, and retrofitting instructions for other shields. Linked this documentation inmkdocs.yml. [1] [2]Hardware project files for Shield-BE:
shield-be/SpecterShield-BE-ATDT/and related files). [1] [2] [3] [4] [5] [6]manifests/shield-be.py).These changes ensure that both hardware variants are supported out-of-the-box, simplify hardware bring-up, and provide clear guidance for developers and users.