Seve - Do we have a doc for pinout diagrams? @s...
Do we have a doc for pinout diagrams? @shibo we should get a good example
43 Replies
The bounty for pinout is pretty big as well so i think it makes sense to have a doc as completion criteria for a big feature, should be quick? Maybe we need svg.tscircuit.com support for the new svg type
@shibo this could be a good one for the docs

https://tscircuit.com/seveibar/pico
so this component is a receiver, so maybe we’d need to clone it
seveibar/PICO - tscircuit
Generated from JLCPCB part number C7203002 To import and use the PICO component in a project:
1. Import the component:
2. Use the component in a circuit:
The component has 49 pins with various functions like GPIO (GP0-GP28), power (3V3_EN, VSYS), and debug (SW...
I think we could also extend it with pin attributes?
can we do something simpler for now?
it should be pretty simple though no?
we just have to put on pinAttributes

i think there are a couple bugs in the pinout, i don't think that bounty is ready to be claimed, there's overlapping traces, the rotation bug, and the multi-label support doesn't seem to work right

it's separating multi-labels with a "|" symbol
like it doesn't need to be perfect to claim the bounty but i think it's missing some important things
the main thing for a bounty is "would the end-user accept it" even begrudgingly- I also mentioned this to @Anas , but ultimately if an end-user wouldn't accept the result there shouldn't be a claim on the bounty
I'll use this as a test case
I can fill out the rest of the pin labels if it's helpful?
ofcourse thanks
i also flipped to -90deg and noticed it flipped the U1 designator

it should never flip
this might be something we do in assembly incorrectly too(?)
how do you want the seperation to be? separate boxes?
yea, you can see that they do this kind of organized separation as well

and see the pin number on the right side? Looks great

RE: how to determine the label order- you probably need to consider the "side" it's on, to reverse the sort, but otherwise you can just do a sort
we'll let the user specify something like
pinoutPrefixColors={{ "GP": "green", "SPI": "pink" }}
in future workjust posting more design references

what ordering, the labels should just align with their pads right?
I mean the ordering of label pills, i.e. ["SPI1_RX", "GP8", "pin11"]
basically you flip the alphabetical sort order based on what it's facing direction is
i.e. GP is always closest to center

another design reference, i think this has the best "pills"

👀
ah yea sorry got distracted

Editor - tscircuit
Design and edit electronic circuits online with tscircuit's powerful web-based editor. Create schematics, PCB layouts, and 3D models with code.
Editor - tscircuit
Design and edit electronic circuits online with tscircuit's powerful web-based editor. Create schematics, PCB layouts, and 3D models with code.
Its so buggy
Good test
@Seve there shouldn't be pinouts in the top right? they should just aligned left or right

we could allow for customization of it later, i think it depends on the label sizes tbh
short term maybe just have it be a non-user-configurable flag and go with left/right?
I cant find examples of up down positionsb
Looks like its unconventional
yea ok
@Seve how are these looking?

definitely better but there's still a lot of issues right, why do we need to space these out at all btw?


there really shouldn't even be many lines in this particular pinout

like how are you determining that pin label pill size?
it seems like if the pills were scaled appropriately there wouldn't be a need for the lines
that could be a board property or something too, like
<board pinoutLabelHeight="0.075in">
but I also think we should have a default that matches the 0.1in jumper convention by defaultI didn't think of scaling the pills with the pad width
i don't think they should be, i think all pills should be the same size, it's just that almost all of these types of boards have conventional 0.1in jumper spacing, so our default should just set the pill height where boards with this type of common jumper work perfectlyu
@Seve those pills that read sideways, do they look good?
i would avoid them
sorry for the delay