Repository navigation
V1.2: mirrored bumper button, bottom-side SMD hall sensor, versioned STEP/shell folders - #91
Merged
Merged
Conversation
The bumper was hard to press with a single side-firing switch at one end of the top edge. SW_TRIG_DIG2 (Alps SKRTLAE010) mirrors SW_TRIG_DIG1 at the other end and is wired in parallel on GPIO18, so either side does the same. The DRV5055 hall sensor moves from an off-board, hand-wired TO-92 to a DRV5055A2QDBZR SOT-23 (LCSC C266131) on the bottom of the board under the trigger magnet, and is now machine-assembled. The library part only has TO-92, so the SOT-23 (with its different pin order) is a local part. The SOT-23 senses the field through the board, so the magnet's polarity relative to the sensor can be reversed. Trigger calibration used to treat a pulled reading below the released one as uncalibrated and read 0; it now accepts either direction, with regression tests. Also removes the legacy pre-Stackup snips_controller.yaml and repoints the two references to it at PCB/stackup/board.kdl. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Picks up SW_TRIG_DIG2, the bottom-side SOT-23 hall sensor (now in the BOM with LCSC C266131), the moved top mounting holes (MH1, MH2) and the rest of the layout changes. Co-Authored-By: Claude Opus 5.5 <[email protected]>
STEP exports move to PCB/step/v1.1 and PCB/step/v1.2 (the new V1.2 export with the second bumper button and SOT-23 hall sensor), and KiCad's STEP export path points at v1.2. The current shell, built for the V1.1 board, moves unchanged to shell/v1.1; the Fusion lib.py data path follows it. Co-Authored-By: Claude Opus 5.5 <[email protected]>
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
Bumper button. The bumper was hard to press with one side-firing switch at one end of the top edge.
SW_TRIG_DIG2(Alps SKRTLAE010) mirrorsSW_TRIG_DIG1at the other end, 13.85 mm either side of the centerline, and is wired in parallel on GPIO18 (BTN_TRIG_DIG). Pressing either one does the same thing, so no firmware change is needed. It is added to the Alps locating-peg rule insnips_controller.kicad_dru.Hall sensor.
U_HALL1changes from an off-board, hand-wired TO-92 (DRV5055A2QLPGM) to aDRV5055A2QDBZRSOT-23 on the bottom of the board under the trigger magnet. It is now machine-assembled (LCSC C266131, Extended).@stackup/sensor/hall/drv5055library part only has the TO-92 package, so the SOT-23 is a local part,drv5055a2-sot23, inparts.kdl.DRV5055A2xDBZxQ1symbol.Firmware. The SOT-23 senses the field perpendicular to the board (§6.3.1), so whether the reading rises or falls with a pull depends on which pole faces it.
calibrateTriggerused to treattriggerMax < triggerMinas uncalibrated, so a reversed magnet would calibrate normally and then always read 0. It now accepts either direction. Four regression tests are added.Mounting holes. The top mounting holes moved: MH1 from (123.4, 81.4) to (123.3, 69.2), and MH2 from (151.6, 70.0) to (151.7, 69.2).
Production files. The V1.2 production files are regenerated:
Snips_1_2.zipandnetlist.ipc;U_HALL1SOT-23 line.Housekeeping:
PCB/snips_controller.yaml. Its two references now point atPCB/stackup/board.kdl.PCB/step/v1.1andPCB/step/v1.2, and the KiCad STEP export path points at v1.2.shell/v1.1. These are pure renames, plus the Fusionlib.pydata path.Verification
stackup check --locked: 83 parts, 0 errors, 0 warnings. The 3 notes are the existing, acknowledged ones.pio test -e native: 395/395 pass.pio run: builds.Before ordering
U_HALL1andU_IMU1pin 1 in JLC's assembly preview. Both are bottom-side parts.U_HALL1, and its shield may slightly bend the magnet's field. Calibration should absorb a fixed offset, but check the trigger's range on the first board.🤖 Generated with Claude Code