-
Notifications
You must be signed in to change notification settings - Fork 2
Add JST S2B-XH-A #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
Hmm, the size is correct but the holes are a bit too tight... I can barely squeeze in the connector because it has bent legs. I increased the drill size a bit, 1mm should work fine according to my tests. |
0.9mm are a bit tight.
Why not even reusing the corresponding component? Somehow it feels quite wrong to not use the existing pin header components since this connector is a pin header ;) |
That would mean that it's reasonable to swap the JST connector with a generic pin header when assigning devices in the board editor... I'm not sure if that's a good idea, but you're right that technically JST connectors are just a special form of a pin header, so I'll replace the component with the generic one. |
Yes, I'd say that's fine 👍 Now you should remove the obsolete component 😉 And maybe you want to generate a new UUID for the device to avoid issues when updating the project library if you already used the device in projects (could be done by duplicating the device and then removing the old one). |
Remove old component
Change UUID
Good catch 😄 I removed the old cmp and changed the dev UUID. |
Hello everybody, Just in case this might have been forgotten, I wanted to show you, there is still interest in this topic :) |
@dbrgn in #2 I saw, you suggested to also add versions of other pins counts. I think, if this is not too complicated, it would be useful for these XH connectors here, too. I'm still very inexperienced with LibrePCB, but if this pull request will be accepted and you don't want to create other pin-count versions, I might try it. |
It's a 2.5mm right-angle 2-pos connector often used for RC LiPo batteries.
I re-used the generic pin header symbol.
Footprint verification in real project pending.