Coder Social home page Coder Social logo

Comments (9)

hephaisto avatar hephaisto commented on June 27, 2024

Can a part or category have multiple parents in the hierarchy? If yes, that would solve the orthogonality problem very nicely.

from librepcb-doc.

dbrgn avatar dbrgn commented on June 27, 2024

Digikey first through third level hierarchy (incomplete):

Semiconductors
    Discrete
        Diodes
        Power driver modules
        Thyristors
        Transistors
    Integrated Circuits (ICs)
        Clock / Timing
        Data Acquisition
        Embedded
        Interface
        Linear
        Logic
        Memory
        PMIC
    Isolators
        Digital Isolators
        Optoisolators
    LED/Optoelectronics
        Display Modules
        Electroluminescent
        Fiber Optics
        Lamps
        LEDs
        Touch Screen Overlays
    RF, Wireless
        Attenuators
        Baluns
        RF Amplifiers
        RF Antennas
        RF Transceiver ICs
        RF Transceiver Modules
        RFID
    Sensors, Transducers
        Color Sensors
        Current Transducers
        Dust Sensors
        Encoders
        Float, Level Sensors
        Flow Sensors
        Force Sensors
        Gas Sensors
        Humidity, Moisture Sensors
        Image Sensors
        ...
Passives
    Capacitors
        ...
    Crystals, Oscillators
        ...
    Filters
        ...
    Inductors, Coils, Chokes
        ...
    Potentiometers, Variable Resistors
        ...
    Resistors
        ...
    Thermal Management
        ...
Electromechanical
    Audio
        ...
    Motors, Solenoids, Driver
        ...
    Relays
        ...
    Switches
Power, Circuit Protection
    Battery Products
        ...
    Circuit Protection
        ...
    Line Protection
        ...
    Power Supplies
        ...
    Transformers
        ...
Connectors, Interconnect
    ...

It's quite detailed, probably too detailed for us?

from librepcb-doc.

dbrgn avatar dbrgn commented on June 27, 2024

We can also use Wikipedia as inspiration: https://en.wikipedia.org/wiki/Electronic_component#Classification

2 Active components
    2.1 Semiconductors
        2.1.1 Diodes
        2.1.2 Transistors
        2.1.3 Integrated circuits
        2.1.4 Optoelectronic devices
    2.2 Display technologies
    2.3 Vacuum tubes (valves)
    2.4 Discharge devices
    2.5 Power sources
3 Passive components
    3.1 Resistors
    3.2 Capacitors
    3.3 Magnetic (inductive) devices
    3.4 Memristor
    3.5 Networks
    3.6 Transducers, sensors, detectors
    3.7 Antennas
    3.8 Assemblies, modules
    3.9 Prototyping aids
4 Electromechanical
    4.1 Piezoelectric devices, crystals, resonators
    4.2 Terminals and connectors
    4.3 Cable assemblies
    4.4 Switches
    4.5 Protection devices
    4.6 Mechanical accessories
    4.7 Other

This is probably too broad.

from librepcb-doc.

dbrgn avatar dbrgn commented on June 27, 2024

Also, I'm not sure if we should try to create a lot of hierarchy (e.g. Active / Passive / Electromechanical as main parents with subcategories) or rather try to keep the hierarchy flat (maybe 2 max 3 layers)?

from librepcb-doc.

ubruhin avatar ubruhin commented on June 27, 2024

👍

Can a part or category have multiple parents in the hierarchy?

Categories can't, but symbols/packages/components/devices can.

Also, I'm not sure if we should try to create a lot of hierarchy (e.g. Active / Passive / Electromechanical as main parents with subcategories) or rather try to keep the hierarchy flat (maybe 2 max 3 layers)?

I would try to keep the hierarchy flat, but not too flat :) So ~3 levels sounds reasonable for me.

from librepcb-doc.

dbrgn avatar dbrgn commented on June 27, 2024

Maybe we could brainstorm this together with @rnestler next Monday @ Coredump?

Simply coming up with an initial draft would give us the possibility of further discussion / refinement.

from librepcb-doc.

ubruhin avatar ubruhin commented on June 27, 2024

I added many categories to the base library in LibrePCB-Libraries/LibrePCB_Base.lplib@a73dc4b.

Component categories (except children of "Integrated Circuits"):

grafik

Children of "Integrated Circuits":

grafik

Package categories:

grafik

At least we have an initial set now. We will see how it works in practice ;)

from librepcb-doc.

dbrgn avatar dbrgn commented on June 27, 2024

Nice, looks great! How did you assemble this list, did you use an existing one as base?

I'll update the generator to use those existing categories soon-ish.

from librepcb-doc.

ubruhin avatar ubruhin commented on June 27, 2024

Nice, looks great! How did you assemble this list, did you use an existing one as base?

Yes, component categories are inspired by DigiKey and package categories by Wikipedia ;)

I'll update the generator to use those existing categories soon-ish.

👍

from librepcb-doc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.