Accelerometer-driven low-power mode (hardware, PCB only) - #47
Draft
thePunderWoman wants to merge 1 commit into
Draft
Accelerometer-driven low-power mode (hardware, PCB only)#47thePunderWoman wants to merge 1 commit into
thePunderWoman wants to merge 1 commit into
Conversation
Adds a QMA6100P accelerometer (I2C, shared OLED bus) and enables host-commanded XBee pin-sleep, laying the hardware groundwork for a low-power mode: OLED off + XBee sleep after a short idle timeout (no buttons, no motion), full soft-latch power-off after a longer one. - QMA6100P chosen after checking JLCPCB's actual parts library: no candidate accelerometer is Basic-library, so it won on price, size, and standby current (500nA), which matters since it has to watch for motion through the whole low-power period. - Hand-authored symbol + footprint (no existing library part) — pad geometry pulled from JLCPCB/LCSC's own EasyEDA component data (LCSC C2887190), not estimated from the datasheet's low-res drawing. - New Accelerometer sheet, wired into the existing I2C bus and into a new GPIO46 (INT1) interrupt line so the MCU can light-sleep instead of polling for wake conditions. - XBee DTR moved off its permanent GND tie onto GPIO42 (SLEEP_RQ), so firmware can actually request/cancel pin-sleep instead of the radio being forced awake at all times. - Placed, routed, DRC- and ERC-clean. Firmware (driver, low-power state machine) and production file generation are follow-up work — this PR is hardware/schematic only. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
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.
Summary
Part selection rationale, full pin wiring, and decoupling details are documented in
PCB/GPIO_table.md's new Accelerometer section.Status / what's NOT in this PR
This is hardware/schematic only, opened as a draft to checkpoint progress. Still to come as follow-up work:
Test plan
kicad-cli sch erc— 0 violations🤖 Generated with Claude Code