Device

The last library element you need to create is the device which combines the component Single OpAmp with the package SOT23-5. This is actually the only library element which is specifically for LMV321LILT — all previously created elements are generic and reusable for other OpAmps!

Again, click New Device in the library editor. Then you first have to choose the package and the component of the device to create:

Choose Package and Component

Choose the package and the component we just created in the previous steps. The result should look like this:

Review Package and Component

Specify Metadata

After clicking Next, specify the name of the new device. The category is now already taken from the component, so usually this is fine. If you have an URL to the datasheet, you may enter it also (optional):

Device Metadata

Then click on Next.

Define Pinout

Now you need to define the pinout, i.e. the connection between the package pads and the component signals. This needs to be don according to the pinout in the datasheet of LMV321LILT. There are various ways of defining the pinout, for example you can just use the dropdowns:

Empty Device Pinout

LibrePCB may also provide the options to define the pinout either automatically or interactively (which is very handy!). Once you have done that, the pinout should look like in the datasheet:

Review Device Pinout

It’s very important that the pinout is correct. When you are sure, click Next.

Add Parts

In the last step, you can add the exact part numbers (MPNs) as listed on distributors. This step is optional, but it helps to get accurate bill of materials (BOMs) out of projects so it improves the ordering workflow. To add so, add as many part numbers which are valid for this specific device (often only one, but can be multiple) and also specify their manufacturer name:

Add Parts

Then click Finish and save the device. You can now review the created device and make any adjustments if needed:

Review Device

And that’s it! The LMV321LILT is now ready to be added to schematics and boards (after the library rescan has completed). And because the categories, symbol, component and package are very generic, you created not only one single device, but the basement for many more devices in the future! For any additional single-channel OpAmp (with an already available package), you need to create only a device which is now a matter of a minute.