Skip to content
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

add more options for dev. board connections #86

Open
rursprung opened this issue Nov 6, 2024 · 3 comments
Open

add more options for dev. board connections #86

rursprung opened this issue Nov 6, 2024 · 3 comments

Comments

@rursprung
Copy link

rursprung commented Nov 6, 2024

currently only StemmaQT and MikroBus are allowed:

"Connection": {
"type": "string",
"enum": [
"StemmaQt",
"MikroBus"
]
},

thus e.g. the ssd1306 dev. board is listed only as StemmaQT:

connections = ["StemmaQt"]

this is however not true as it also has normal headers to wire it up (like most (all?) adafruit breakout boards).

what should be listed under connection? only "special" connectors like StemmaQT or also normal headers?
since this is only about the physical connection it gives no information about the protocol (I2C, SPI, etc.) - while the actual communication is most likely abstracted away by the driver it's still relevant since the MCU must support it; maybe that should be a separate field?

@tdittr
Copy link
Collaborator

tdittr commented Nov 6, 2024

Good point! I mainly wanted to list these connections so it is easy to search for scenarios like: "I want to play with embedded but I do not want to solder"

Feel free to add more connection options (I think headers can definitely one) :) same for the other enums, they only cover what I found while adding drivers to the list. Maybe I should make this clearer in the README.

When you add a new enum value just run the backend once and it will update the schema, also not ideal yet, but I did not have time to really round of that corner, see #39

The linked SSD1306 board does have Stemma Qt according to their product name. A lot of the boards by Adafruit support that connector by now.

@rursprung
Copy link
Author

The linked SSD1306 board does have Stemma Qt according to their product name. A lot of the boards by Adafruit support that connector by now.

sorry, my sentence was maybe a bit misleading: yes, the linked board does have Stemma QT. but it also has headers. the "not true" was about it only having Stemma QT as implied by the file.

for headers the question would be how you'd separate between proper headers (like with this board) or just cut-outs on the side (as is e.g. the case on this board) where you can't just put in headers but you can solder it to other pins? i'm not sure if there's already some established nomenclature for this (presumably there is and i'm just not aware of it)

@tdittr
Copy link
Collaborator

tdittr commented Nov 6, 2024

Mmh maybe we could be explicit that they are 2.54mm (0.1 inch) pitched holes? Since you still have to solder cables or headers to it? So something like ThroughHoles100Thou? Your other board could be CastellatedHoles

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

No branches or pull requests

2 participants