- Muchas notas - Fran Acién

20240122 - Inventree local storage organisation

I started using inventree, and this note is to write about how components are going to be stored.

Is going to work like:

  • Box for different families of components
    • In passives components part of boxes for different footprint
  • Each box is a location and a category.

Some important things to have in mind:

  • The categories should not have spaces

Boxes

Numbers for boxes:

  • 00 - Resistors - Resistors labeled as “00”
  • 01 - Capacitors - Capacitor labeled with “01”
  • 02 - Inductors - Inductors labeled as “02”
  • 03 - Connectors - Connectors labeled with “03”
  • 04 - Diodes - Diodes labeled with “03”
  • 05 - Electromechanical - Electromechanical labeled with “05”
  • 06 - IC’s - IC’s labeled with “06”
  • 07 - Miscellaneous - Miscellaneous labeled with “07”
  • 08 - Oscillators - Oscillators labeled with “08”
  • 09 - PCBs - PCBs labeled with “09”
  • 10 - Transistors - Transistors labeled with “10”

Passives with different fooprint (Resistors and capacitors)

Numbers for inside the boxes:

  • 00 - Other footprint - Part of the box for other types of footprints
  • 01 - 0402 Resistor - Part of the box for 0402 resistors
  • 02 - 0603 Resistor - Part of the box for 0603 resistors
  • 03 - 0805 Resistor - Part of the box for 0805 resistors
  • 04 - 1206 Resistor - Part of the box for 1206 resistors
  • 05 - 1210 Resistor - Part of the box for 1210 resistors
  • 06 - Axial Resistor- Part of the box for axial resistors

It will have the format as:

  • Name: 1 - 0402 Resistor
  • Description: Part of the box for 0402 resistors

Inductors box

Numbers for inside the box:

  • 00 - Default part - Part of the box for default parts

Connectors box

Numbers for inside the box:

  • 00 - Default part - Part of the box for default parts

Diodes box

Numbers for inside the box:

  • 00 - Default part - Part of the box for default parts
  • 01 - LED - Part of the box for LEDs
  • 02 - ESD - Part of the box for ESD diodes
  • 03 - Diode - Part of the box for diodes
  • 04 - Schottky diode - Part of the box for schottky diodes
  • 05 - Zenner diode

Electromechanical box

Numbers for inside the box:

  • 00 - Default part - Part of the box for default parts

IC’s box

Numbers for inside the box:

  • 00 - Default part - Part of the box for default parts
  • 01 - Microcontrollers - Part of the box for microcontrollers
  • 02 - Sensor - Part of the box for sensors

Miscellaneous box

Numbers for inside the box:

  • 00 - Default part - Part of the box for default parts

Oscillators box

Numbers for inside the box:

  • 00 - Default part - Part of the box for default parts

PCB’s box

Numbers for inside the box:

  • 00 - Default part - Part of the box for default parts
  • 01 - Microcontrollers - Part of the box for microcontrollers

Transistor box

Numbers for inside the box:

  • 00 - Default part - Part of the box for default parts
  • 01 - BJT - Part of the box for BJT
  • 02 - FET - Part of the box for FET

Naming for all components

It should be like:

  • [2 digit BOX] - [2 digit FOOTPRINT] - ID INCREMENT
  • 00-03-3 : Resistor, 0805, the third that was added
  • 09-00-0: PCB with default footprint and is the first that was added.

Searching for components to add the ID increment

With inventree you don’t have the possibility to auto give a IPN, Internal Part Number. For that reason, the way to go is to give the previous naming to the components, and then it would be easy to seach directly to one family of components with a certain footprint.