Skip to content

fix: sot723 numbers pins per the Toshiba datasheet - #853

Open
birdup000 wants to merge 1 commit into
tscircuit:mainfrom
birdup000:fix-sot723-pin-swap
Open

fix: sot723 numbers pins per the Toshiba datasheet#853
birdup000 wants to merge 1 commit into
tscircuit:mainfrom
birdup000:fix-sot723-pin-swap

Conversation

@birdup000

Copy link
Copy Markdown

Fixes #686

What

getCcwSot723Coords mapped pin 1 to the lone right pad (0.575, 0) and pin 3 to top-left — the reverse of the Toshiba SOT-723 datasheet and KiCad's SOT-723 footprint. A real part would be misnumbered/mirrored on the assembled PCB.

Swapped so:

  • pin 1 → (-0.575, +0.4) (top-left)
  • pin 2 → (-0.575, -0.4) (bottom-left, unchanged)
  • pin 3 → (0.575, 0) (alone on the right)

Verification

  • Repro confirms the new positions exactly
  • Regression test tests/sot723-pin-order.test.ts asserts each pin's coordinates; SVG snapshots updated; full suite 565/565 pass, biome clean

Pins 1 and 3 were swapped: pin 1 sat alone on the right and pin 3
top-left, so a real SOT-723 part would be mirrored/misnumbered on
the PCB. Now pin 1 is top-left (-0.575, +0.4), pin 2 bottom-left,
pin 3 alone on the right, matching KiCad and the Toshiba datasheet.

Fixes tscircuit#686
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.

sot723 footprint numbers pins 1 and 3 on the wrong pads (1↔3 swapped vs datasheet)

1 participant