dev.nlited.com

>>

Specifying Parts

<<<< prev
next >>>>

2014-07-21 19:44:45 chip Page 1065 📢 PUBLIC

The schematic is complete, but there are parts that are only generically identified: 1K resistor, 47K resistor, 10uF cap, 0.1uF cap, 0.01uF cap, 32KHz crystal, and LED. These generic parts need to be nailed down to the specific parts that I will be using. This is also where I start to build the Excel spreadsheet that will serve as the BOM (Bill of Materials) for the project.


Create the BOM

It may be tempting to skip creating the Bill of Materials for a small project, but it is the central document that ties the project together. This is will become the definitive reference used to build the board. Taking time and being diligent and specific to the point of neurosis to create a complete and accurate BOM will pay dividends over the lifetime of the project. Do not skimp on the BOM.

DipTrace can create a BOM very easily. In the Schematic Capture create a new sheet (Edit > Add Sheet) and name it "BOM". Click "Objects > Bill of Materials..." to bring up the BOM edit window.

EZ430 DipTrace BOM

Order the BOM by "Parts" to create a table row for each part in the design. This will make transferring the data to the Excel spreadsheet easier. Add columns for RefDes, Name, Value, and Description. Click "Place Table" and click anywhere on the sheet to place it. The BOM does not update once it is placed! Whenever the schematic changes, I need to remember to manually delete and recreate the BOM.

I then use the DipTrace BOM to create an external Excel spreadsheet which I will use to manage the procurement process.

My BlinkBOM.xlsx has two sheets, the first sheet lists each part specified in the schematic. Multiple parts (RefDes) can refer to the same component (PartRef). PartRef is an index into the Parts sheet, which lists all the unique parts, and the information on how to order the parts and where to find the datasheets.

EZ430 DipTrace schematic BOM  EZ430 DipTrace schematic parts

This cross-referencing is accomplished by a couple formulae:

Excel Schematic!InStock =VLOOKUP(D2,Parts!A:C,3,FALSE) Parts!Qty =COUNTIF(Schematic!D:D,Parts!A2)

The Parts sheet has a row for each unique component in the design with the following columns:

  1. PartRef: This is the index key for the component and is used to look up the component in the master inventory.
  2. Type: Identifies the component type (package). Surface mount parts will be SMD (for ICs), 0201, 0402, 0603, 0804, or 1206. TH indicates through-hole. .1" indicates spacing of header pins.
  3. InStock: The number of components currently in inventory. If this field is blank or zero, the part needs to be ordered.
  4. Feeder: The PnP feeder assigned to this component. If blank, the component needs to be configured in the PnP project. 'Q' indicates tray (cut-tape), 'C' indicates rear autofeeders, 'D' indicates front autofeeders, 'H' indicates hand-mounted parts.
  5. Description: Human-readable description of the component.
  6. Mfg: Manufacturer
  7. MfgPartID: Manufacturer's part number
  8. Vendor: Where the component is ordered.
  9. VendorID: Vendor's part number
  10. Datasheet: link to the component datasheet
  11. Remarks: Additional info

These are all cheap commodity parts and normally it would be quicker, easier, and less error-prone to simply pick the parts out of the Digikey catalog, order them, and extract the patterns from the datasheets. However, I know I have all these parts in stock at the office and it is just a matter of determining the precise part number so I can look up the datasheets to create the pad patterns.

Once again, the hardest part about creating the patterns is finding the information. All components must have a specific matching pattern before I can generate any board layouts.

I found the standard Cap0603 and Res0402 patterns in the stock DipTrace libraries. Right-click the component in the schematic, Replace Part. Then Add Library, navigate to the DipTrace installation folder, Libraries, __discrete_smd.lib.

My BOM now tells me I am now missing the patterns for only the crystal and the LED. I grabbed the LED from the Digikey site using the VendorID. I also added a second red led. This is the point in the project where I need to be very conscious of feature creep. It is very easy to add features, and there is an infinite supply of them. But the purpose of this project is to build the World's Simplest MSP430 board. Extra features are the enemy!

EZ430 DipTrace schematic LED

Now the only missing pattern is the crystal. I don't have the part number for the crystal so I need to go to the office to read it from the package. Hmmm... This is a very frustrating experience, sifting through bins of old projects looking for a 32KHz crystal. I know it was used in some previous project, but I could not find any. This reinforced two things:

  1. It is quicker to order new parts than to find old ones.
    Hunting through piles of IC bags, trying to interpret the part numbers, counting tiny parts is all a giant pain. Plus, I still may not have enough information to know how to use the part, or the part it not exactly what I need. Keep in mind the cost of ordering a new part against the cost in time of searching for an old part. It makes no sense to spend 2 hours looking for a fifty cent crystal.
  2. If an IC is not in a labelled bag, I should just throw it in the trash.
    Many parts are indistinguishable, even under a microscope. Plus it takes time to identify the part, there is no knowing the condition of the part, and any uncertainty is just another point of failure for the next project.
I spent an afternoon inventorying everything in the office, entering descriptions, quantities, and locations into an inventory spreadsheet.

So I need to select a 32KHz crystal from Digikey. I start by entering "32KHz crystal" in the search box, then click "Crystals". Narrow my search, one term at a time:

  1. In stock
  2. Packaging: Digi-Reel

Wow, only two SMD item! Abracon Corporation at $1.089 each for 10, and Citizen Finetech Miyota at $1.625 each for 10. Both have the same footprint, and having no preference I go for the cheaper Abracon. Digikey 535-10242-6-ND.

UPDATE: DigiReel was not the correct choice, I should have ordered them as cut tape. Any quantity less than 1000 is easier to manage using strips of tape laid out on the PnP tray. Reels are for large quantities, in the thousands.



WebV7 (C)2018 nlited | Rendered by tikope in 50.061ms | 3.145.58.90