mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-03-02 21:39:35 +00:00
* Add stock quantity, datasheet URL, and HTTP caching to KiCad API - Add Stock field showing total available quantity across all part lots - Add Storage Location field when parts have stored locations - Resolve actual datasheet PDF from attachments (by type name, attachment name, or first PDF) instead of always linking to Part-DB page - Keep Part-DB page URL as separate "Part-DB URL" field - Add ETag and Cache-Control headers to all KiCad API endpoints - Support conditional requests (If-None-Match) returning 304 - Categories/part lists cached 5 min, part details cached 1 min * Add KiCadHelper unit tests and fix PDF detection for external URLs - Add comprehensive KiCadHelperTest with 14 test cases covering: - Stock quantity calculation (zero, single lot, multiple lots) - Stock exclusion of expired and unknown-quantity lots - Storage location display (present, absent, multiple) - Datasheet URL resolution by type name, attachment name, PDF extension - Datasheet fallback to Part-DB URL when no match - "Data sheet" (with space) name variant matching - Fix PDF extension detection for external attachments (getExtension() returns null for external-only attachments, now also parses URL path) * Fix 304 response body, parse_url safety, and location/stock consistency - Use empty Response instead of JsonResponse(null) for 304 Not Modified to avoid sending "null" as response body - Guard parse_url() result with is_string() since it can return false for malformed URLs - Move storage location tracking inside the availability check so expired and unknown-quantity lots don't contribute locations * Fix testPartDetailsPart2 to actually test Part 2 The test was requesting /parts/1.json instead of /parts/2.json and had Part 1's expected data. Now tests Part 2 which inherits EDA info from its category and footprint, verifying the inheritance behavior. * Use Symfony's built-in ETag handling for HTTP caching Replace manual If-None-Match comparison with Response::setEtag() and Response::isNotModified(), which properly handles ETag quoting, weak vs strong comparison, and 304 response cleanup. Fixes PHPStan return type error and CI test failures. * Add configurable KiCad field export for part parameters Add a kicad_export checkbox to parameters, allowing users to control which specifications appear as fields in the KiCad HTTP library API. Parameters with kicad_export enabled are included using their formatted value, without overwriting hardcoded fields like description or Stock. * Add partdb:kicad:populate command for bulk KiCad path assignment Console command that populates KiCad footprint/symbol paths on Footprint and Category entities based on name-to-library mappings. Supports dry-run, force overwrite, and list modes. Includes 130+ footprint mappings and 30+ category symbol mappings for KiCad 9.x standard libraries. * Add CSV import support for EDA/KiCad fields Add user-friendly column aliases (kicad_symbol, kicad_footprint, kicad_reference, kicad_value, eda_exclude_bom, etc.) to the CSV import system. Users can now bulk-set KiCad symbols, footprints, and other EDA metadata via CSV/Excel import without knowing the internal dot notation. * Add batch EDA field editing from parts table Users can now select multiple parts in any parts table and batch-edit their EDA/KiCad fields (symbol, footprint, reference prefix, value, visibility, exclude from BOM/board/sim). Each field has an "Apply" checkbox so users control exactly which fields are changed. * Remove unused counter variable in BatchEdaController * Fix PHPStan errors in PopulateKicadCommand and BatchEdaController Add @var type annotations for Doctrine repository findAll() calls so PHPStan can resolve getEdaInfo() on Footprint/Category entities. Fix array return type for numeric-string keys and add explicit callback to array_filter to satisfy strict rules. * Fix batch EDA edit: required validation and pre-populate shared values - Add required=false to TriStateCheckboxType fields so HTML5 validation doesn't force users to check visibility/BOM/board checkboxes - Pre-populate form fields when all selected parts share the same EDA value, so users can see current state before editing * Add KiCad API v2, orderdetail export control, EDA status indicator, BOM improvements - Add KiCad API v2 endpoints (/kicad-api/v2) with volatile field support for stock and storage location (shown but not saved to schematic) - Add kicad_export flag to Orderdetail entity for per-supplier SPN control (backward compatible: if no flag set, all SPNs exported as before) - Add EDA completeness indicator column in parts datatable (bolt icon) - Add ?minimal=true query param for faster category parts loading - Improve category descriptions (use comment instead of URL when available) - Improve BOM importer multi-footprint support: merge entries by Part-DB part ID when linked, tracking footprint variants in comments - Fix KiCost manf/manf# fields always present (not conditional on orderdetails) - Fix duplicate getEdaInfo() call in shouldPartBeVisible - Consolidate supplier SPN and KiCost field generation into single loop * Fix kicad_export column default for SQLite compatibility Add options default to ORM column definition so schema:update works correctly on SQLite test databases. * Make EDA status bolt icon clickable to open EDA settings tab * Fix EDA bolt link to correctly open EDA tab via data-turbo=false * Add configurable datasheet URL mode for KiCad API New setting "Datasheet field links to PDF" in KiCad EDA settings. When enabled (default), the datasheet field resolves to the actual PDF attachment URL. When disabled, it links to the Part-DB page (old behavior). Configurable via settings UI or EDA_KICAD_DATASHEET_AS_PDF env var. * Fix settings crash when upgrading: make datasheetAsPdf nullable The settings bundle stores values in the database. When upgrading from a version without datasheetAsPdf, the stored JSON lacks this key, causing a TypeError when assigning null to a non-nullable bool. Making it nullable with a fallback in KiCadHelper fixes the upgrade path. * Add functional tests for KiCad API v2 and batch EDA controller - KiCadApiV2ControllerTest: root, categories, parts, volatile fields, v1 vs v2 comparison, cache headers, 304 conditional request, auth - BatchEdaControllerTest: page load, empty redirect, form submission * Fix test failures: correct ids format and anonymous access assertion * Improve test coverage for BatchEdaController Add tests for: applying all EDA fields at once, custom redirect URL, and verifying unchecked fields are skipped. * Address PR review: rename to eda_visibility, merge migrations, API versioning Changes based on jbtronics' review of PR #1241: - Rename kicad_export -> eda_visibility (entities, forms, templates, translations, tests) with nullable bool for system default support - Merge two database migrations into one (Version20260211000000) - Rename createCachedJsonResponse -> createCacheableJsonResponse - Change bool $apiV2 -> int $apiVersion with version validation - EDA visibility field only shown for part parameters, not other entities - PopulateKicadCommand: check alternative names of footprints/categories - PopulateKicadCommand: support external JSON mapping file (--mapping-file) - Ship default mappings JSON at contrib/kicad-populate/default_mappings.json - Add system-wide defaultEdaVisibility setting in KiCadEDASettings - Add KiCad HTTP Library v2 spec link in controller docs * Fix duplicate loadMappingFile method causing PHP fatal error * Add tests for mapping file and alternative name matching, update populate command docs Add 5 new tests for PopulateKicadCommand covering: - Custom mapping file overriding defaults - Invalid JSON mapping file error handling - Missing mapping file error handling - Footprint alternative name matching - Category alternative name matching Update contrib README to document --mapping-file option, alternative name matching, and custom JSON mapping format. * Split out KiCad API v2 into separate PR as requested by maintainer Remove v2 controller, tests, and volatile field support from this PR. The v2 API will be submitted as a separate PR for focused discussion. * Improve test coverage for KiCadHelper and PopulateKicadCommand KiCadHelper: Add tests for orderdetail eda_visibility filtering, backward compatibility when no flags set, manufacturer/KiCost fields, and parameter with empty name skipping. PopulateKicadCommand: Add tests for mapping file with both footprints and categories sections, and mapping file with only categories. * Load populate Kicad default mappings from json file * Moved kicad:populate documentation to central docs * Added introduced column to PartTableColumns to make it configurable in the settings * Use TristateCheckboxes for parameter and orderdetail types * Fixed translation keys * Split up default eda visibility for parameters and purchase infos --------- Co-authored-by: Jan Böhmer <mail@jan-boehmer.de>
206 lines
10 KiB
JSON
206 lines
10 KiB
JSON
{
|
|
"_comment": "Default KiCad footprint/symbol mappings for partdb:kicad:populate command. Based on KiCad 9.x standard libraries. Use --mapping-file to override or extend these mappings.",
|
|
"footprints": {
|
|
"SOT-23": "Package_TO_SOT_SMD:SOT-23",
|
|
"SOT-23-3": "Package_TO_SOT_SMD:SOT-23",
|
|
"SOT-23-5": "Package_TO_SOT_SMD:SOT-23-5",
|
|
"SOT-23-6": "Package_TO_SOT_SMD:SOT-23-6",
|
|
"SOT-223": "Package_TO_SOT_SMD:SOT-223-3_TabPin2",
|
|
"SOT-223-3": "Package_TO_SOT_SMD:SOT-223-3_TabPin2",
|
|
"SOT-89": "Package_TO_SOT_SMD:SOT-89-3",
|
|
"SOT-89-3": "Package_TO_SOT_SMD:SOT-89-3",
|
|
"SOT-323": "Package_TO_SOT_SMD:SOT-323_SC-70",
|
|
"SOT-363": "Package_TO_SOT_SMD:SOT-363_SC-70-6",
|
|
"TSOT-25": "Package_TO_SOT_SMD:SOT-23-5",
|
|
"SC-70-5": "Package_TO_SOT_SMD:SOT-353_SC-70-5",
|
|
"SC-70-6": "Package_TO_SOT_SMD:SOT-363_SC-70-6",
|
|
"TO-220": "Package_TO_SOT_THT:TO-220-3_Vertical",
|
|
"TO-220AB": "Package_TO_SOT_THT:TO-220-3_Vertical",
|
|
"TO-220AB-3": "Package_TO_SOT_THT:TO-220-3_Vertical",
|
|
"TO-220FP": "Package_TO_SOT_THT:TO-220F-3_Vertical",
|
|
"TO-247-3": "Package_TO_SOT_THT:TO-247-3_Vertical",
|
|
"TO-92": "Package_TO_SOT_THT:TO-92_Inline",
|
|
"TO-92-3": "Package_TO_SOT_THT:TO-92_Inline",
|
|
"TO-252": "Package_TO_SOT_SMD:TO-252-2",
|
|
"TO-252-2L": "Package_TO_SOT_SMD:TO-252-2",
|
|
"TO-252-3L": "Package_TO_SOT_SMD:TO-252-3",
|
|
"TO-263": "Package_TO_SOT_SMD:TO-263-2",
|
|
"TO-263-2": "Package_TO_SOT_SMD:TO-263-2",
|
|
"D2PAK": "Package_TO_SOT_SMD:TO-252-2",
|
|
"DPAK": "Package_TO_SOT_SMD:TO-252-2",
|
|
"SOIC-8": "Package_SO:SOIC-8_3.9x4.9mm_P1.27mm",
|
|
"ESOP-8": "Package_SO:SOIC-8_3.9x4.9mm_P1.27mm",
|
|
"SOIC-14": "Package_SO:SOIC-14_3.9x8.7mm_P1.27mm",
|
|
"SOIC-16": "Package_SO:SOIC-16_3.9x9.9mm_P1.27mm",
|
|
"TSSOP-8": "Package_SO:TSSOP-8_3x3mm_P0.65mm",
|
|
"TSSOP-14": "Package_SO:TSSOP-14_4.4x5mm_P0.65mm",
|
|
"TSSOP-16": "Package_SO:TSSOP-16_4.4x5mm_P0.65mm",
|
|
"TSSOP-16L": "Package_SO:TSSOP-16_4.4x5mm_P0.65mm",
|
|
"TSSOP-20": "Package_SO:TSSOP-20_4.4x6.5mm_P0.65mm",
|
|
"MSOP-8": "Package_SO:MSOP-8_3x3mm_P0.65mm",
|
|
"MSOP-10": "Package_SO:MSOP-10_3x3mm_P0.5mm",
|
|
"MSOP-16": "Package_SO:MSOP-16_3x4mm_P0.5mm",
|
|
"SO-5": "Package_TO_SOT_SMD:SOT-23-5",
|
|
"DIP-4": "Package_DIP:DIP-4_W7.62mm",
|
|
"DIP-6": "Package_DIP:DIP-6_W7.62mm",
|
|
"DIP-8": "Package_DIP:DIP-8_W7.62mm",
|
|
"DIP-14": "Package_DIP:DIP-14_W7.62mm",
|
|
"DIP-16": "Package_DIP:DIP-16_W7.62mm",
|
|
"DIP-18": "Package_DIP:DIP-18_W7.62mm",
|
|
"DIP-20": "Package_DIP:DIP-20_W7.62mm",
|
|
"DIP-24": "Package_DIP:DIP-24_W7.62mm",
|
|
"DIP-28": "Package_DIP:DIP-28_W7.62mm",
|
|
"DIP-40": "Package_DIP:DIP-40_W15.24mm",
|
|
"QFN-8": "Package_DFN_QFN:QFN-8-1EP_3x3mm_P0.65mm_EP1.55x1.55mm",
|
|
"QFN-12(3x3)": "Package_DFN_QFN:QFN-12-1EP_3x3mm_P0.5mm_EP1.65x1.65mm",
|
|
"QFN-16": "Package_DFN_QFN:QFN-16-1EP_3x3mm_P0.5mm_EP1.45x1.45mm",
|
|
"QFN-20": "Package_DFN_QFN:QFN-20-1EP_4x4mm_P0.5mm_EP2.5x2.5mm",
|
|
"QFN-24": "Package_DFN_QFN:QFN-24-1EP_4x4mm_P0.5mm_EP2.45x2.45mm",
|
|
"QFN-32": "Package_DFN_QFN:QFN-32-1EP_5x5mm_P0.5mm_EP3.45x3.45mm",
|
|
"QFN-48": "Package_DFN_QFN:QFN-48-1EP_7x7mm_P0.5mm_EP5.3x5.3mm",
|
|
"TQFP-32": "Package_QFP:TQFP-32_7x7mm_P0.8mm",
|
|
"TQFP-44": "Package_QFP:TQFP-44_10x10mm_P0.8mm",
|
|
"TQFP-48": "Package_QFP:TQFP-48_7x7mm_P0.5mm",
|
|
"TQFP-48(7x7)": "Package_QFP:TQFP-48_7x7mm_P0.5mm",
|
|
"TQFP-64": "Package_QFP:TQFP-64_10x10mm_P0.5mm",
|
|
"TQFP-100": "Package_QFP:TQFP-100_14x14mm_P0.5mm",
|
|
"LQFP-32": "Package_QFP:LQFP-32_7x7mm_P0.8mm",
|
|
"LQFP-48": "Package_QFP:LQFP-48_7x7mm_P0.5mm",
|
|
"LQFP-64": "Package_QFP:LQFP-64_10x10mm_P0.5mm",
|
|
"LQFP-100": "Package_QFP:LQFP-100_14x14mm_P0.5mm",
|
|
|
|
"SOD-123": "Diode_SMD:D_SOD-123",
|
|
"SOD-123F": "Diode_SMD:D_SOD-123F",
|
|
"SOD-123FL": "Diode_SMD:D_SOD-123F",
|
|
"SOD-323": "Diode_SMD:D_SOD-323",
|
|
"SOD-523": "Diode_SMD:D_SOD-523",
|
|
"SOD-882": "Diode_SMD:D_SOD-882",
|
|
"SOD-882D": "Diode_SMD:D_SOD-882",
|
|
"SMA(DO-214AC)": "Diode_SMD:D_SMA",
|
|
"SMA": "Diode_SMD:D_SMA",
|
|
"SMB": "Diode_SMD:D_SMB",
|
|
"SMC": "Diode_SMD:D_SMC",
|
|
|
|
"DO-35": "Diode_THT:D_DO-35_SOD27_P7.62mm_Horizontal",
|
|
"DO-35(DO-204AH)": "Diode_THT:D_DO-35_SOD27_P7.62mm_Horizontal",
|
|
"DO-41": "Diode_THT:D_DO-41_SOD81_P10.16mm_Horizontal",
|
|
"DO-201": "Diode_THT:D_DO-201_P15.24mm_Horizontal",
|
|
|
|
"DFN-2(0.6x1)": "Package_DFN_QFN:DFN-2-1EP_0.6x1.0mm_P0.65mm_EP0.2x0.55mm",
|
|
"DFN1006-2": "Package_DFN_QFN:DFN-2_1.0x0.6mm",
|
|
"DFN-6": "Package_DFN_QFN:DFN-6-1EP_2x2mm_P0.65mm_EP1x1.6mm",
|
|
"DFN-8": "Package_DFN_QFN:DFN-8-1EP_3x2mm_P0.5mm_EP1.3x1.5mm",
|
|
|
|
"0201": "Resistor_SMD:R_0201_0603Metric",
|
|
"0402": "Resistor_SMD:R_0402_1005Metric",
|
|
"0603": "Resistor_SMD:R_0603_1608Metric",
|
|
"0805": "Resistor_SMD:R_0805_2012Metric",
|
|
"1206": "Resistor_SMD:R_1206_3216Metric",
|
|
"1210": "Resistor_SMD:R_1210_3225Metric",
|
|
"1812": "Resistor_SMD:R_1812_4532Metric",
|
|
"2010": "Resistor_SMD:R_2010_5025Metric",
|
|
"2512": "Resistor_SMD:R_2512_6332Metric",
|
|
"2917": "Resistor_SMD:R_2917_7343Metric",
|
|
"2920": "Resistor_SMD:R_2920_7350Metric",
|
|
|
|
"CASE-A-3216-18(mm)": "Capacitor_Tantalum_SMD:CP_EIA-3216-18_Kemet-A",
|
|
"CASE-B-3528-21(mm)": "Capacitor_Tantalum_SMD:CP_EIA-3528-21_Kemet-B",
|
|
"CASE-C-6032-28(mm)": "Capacitor_Tantalum_SMD:CP_EIA-6032-28_Kemet-C",
|
|
"CASE-D-7343-31(mm)": "Capacitor_Tantalum_SMD:CP_EIA-7343-31_Kemet-D",
|
|
"CASE-E-7343-43(mm)": "Capacitor_Tantalum_SMD:CP_EIA-7343-43_Kemet-E",
|
|
|
|
"SMD,D4xL5.4mm": "Capacitor_SMD:CP_Elec_4x5.4",
|
|
"SMD,D5xL5.4mm": "Capacitor_SMD:CP_Elec_5x5.4",
|
|
"SMD,D6.3xL5.4mm": "Capacitor_SMD:CP_Elec_6.3x5.4",
|
|
"SMD,D6.3xL7.7mm": "Capacitor_SMD:CP_Elec_6.3x7.7",
|
|
"SMD,D8xL6.5mm": "Capacitor_SMD:CP_Elec_8x6.5",
|
|
"SMD,D8xL10mm": "Capacitor_SMD:CP_Elec_8x10",
|
|
"SMD,D10xL10mm": "Capacitor_SMD:CP_Elec_10x10",
|
|
"SMD,D10xL10.5mm": "Capacitor_SMD:CP_Elec_10x10.5",
|
|
|
|
"Through Hole,D5xL11mm": "Capacitor_THT:CP_Radial_D5.0mm_P2.00mm",
|
|
"Through Hole,D6.3xL11mm": "Capacitor_THT:CP_Radial_D6.3mm_P2.50mm",
|
|
"Through Hole,D8xL11mm": "Capacitor_THT:CP_Radial_D8.0mm_P3.50mm",
|
|
"Through Hole,D10xL16mm": "Capacitor_THT:CP_Radial_D10.0mm_P5.00mm",
|
|
"Through Hole,D10xL20mm": "Capacitor_THT:CP_Radial_D10.0mm_P5.00mm",
|
|
"Through Hole,D12.5xL20mm": "Capacitor_THT:CP_Radial_D12.5mm_P5.00mm",
|
|
|
|
"LED 3mm": "LED_THT:LED_D3.0mm",
|
|
"LED 5mm": "LED_THT:LED_D5.0mm",
|
|
"LED 0603": "LED_SMD:LED_0603_1608Metric",
|
|
"LED 0805": "LED_SMD:LED_0805_2012Metric",
|
|
"SMD5050-4P": "LED_SMD:LED_WS2812B_PLCC4_5.0x5.0mm_P3.2mm",
|
|
"SMD5050-6P": "LED_SMD:LED_WS2812B_PLCC4_5.0x5.0mm_P3.2mm",
|
|
|
|
"HC-49": "Crystal:Crystal_HC49-4H_Vertical",
|
|
"HC-49/U": "Crystal:Crystal_HC49-4H_Vertical",
|
|
"HC-49/S": "Crystal:Crystal_HC49-U_Vertical",
|
|
"HC-49/US": "Crystal:Crystal_HC49-U_Vertical",
|
|
|
|
"USB-A": "Connector_USB:USB_A_Stewart_SS-52100-001_Horizontal",
|
|
"USB-B": "Connector_USB:USB_B_OST_USB-B1HSxx_Horizontal",
|
|
"USB-Mini-B": "Connector_USB:USB_Mini-B_Lumberg_2486_01_Horizontal",
|
|
"USB-Micro-B": "Connector_USB:USB_Micro-B_Molex-105017-0001",
|
|
"USB-C": "Connector_USB:USB_C_Receptacle_GCT_USB4085",
|
|
|
|
"1x2 P2.54mm": "Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_Vertical",
|
|
"1x3 P2.54mm": "Connector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_Vertical",
|
|
"1x4 P2.54mm": "Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_Vertical",
|
|
"1x5 P2.54mm": "Connector_PinHeader_2.54mm:PinHeader_1x05_P2.54mm_Vertical",
|
|
"1x6 P2.54mm": "Connector_PinHeader_2.54mm:PinHeader_1x06_P2.54mm_Vertical",
|
|
"1x8 P2.54mm": "Connector_PinHeader_2.54mm:PinHeader_1x08_P2.54mm_Vertical",
|
|
"1x10 P2.54mm": "Connector_PinHeader_2.54mm:PinHeader_1x10_P2.54mm_Vertical",
|
|
"2x2 P2.54mm": "Connector_PinHeader_2.54mm:PinHeader_2x02_P2.54mm_Vertical",
|
|
"2x3 P2.54mm": "Connector_PinHeader_2.54mm:PinHeader_2x03_P2.54mm_Vertical",
|
|
"2x4 P2.54mm": "Connector_PinHeader_2.54mm:PinHeader_2x04_P2.54mm_Vertical",
|
|
"2x5 P2.54mm": "Connector_PinHeader_2.54mm:PinHeader_2x05_P2.54mm_Vertical",
|
|
"2x10 P2.54mm": "Connector_PinHeader_2.54mm:PinHeader_2x10_P2.54mm_Vertical",
|
|
"2x20 P2.54mm": "Connector_PinHeader_2.54mm:PinHeader_2x20_P2.54mm_Vertical",
|
|
"SIP-3-2.54mm": "Package_SIP:SIP-3_P2.54mm",
|
|
"SIP-4-2.54mm": "Package_SIP:SIP-4_P2.54mm",
|
|
"SIP-5-2.54mm": "Package_SIP:SIP-5_P2.54mm"
|
|
},
|
|
"categories": {
|
|
"Electrolytic": "Device:C_Polarized",
|
|
"Polarized": "Device:C_Polarized",
|
|
"Tantalum": "Device:C_Polarized",
|
|
"Zener": "Device:D_Zener",
|
|
"Schottky": "Device:D_Schottky",
|
|
"TVS": "Device:D_TVS",
|
|
"LED": "Device:LED",
|
|
"NPN": "Device:Q_NPN_BCE",
|
|
"PNP": "Device:Q_PNP_BCE",
|
|
"N-MOSFET": "Device:Q_NMOS_GDS",
|
|
"NMOS": "Device:Q_NMOS_GDS",
|
|
"N-MOS": "Device:Q_NMOS_GDS",
|
|
"P-MOSFET": "Device:Q_PMOS_GDS",
|
|
"PMOS": "Device:Q_PMOS_GDS",
|
|
"P-MOS": "Device:Q_PMOS_GDS",
|
|
"MOSFET": "Device:Q_NMOS_GDS",
|
|
"JFET": "Device:Q_NJFET_DSG",
|
|
"Ferrite": "Device:Ferrite_Bead",
|
|
"Crystal": "Device:Crystal",
|
|
"Oscillator": "Oscillator:Oscillator_Crystal",
|
|
"Fuse": "Device:Fuse",
|
|
"Transformer": "Device:Transformer_1P_1S",
|
|
"Resistor": "Device:R",
|
|
"Capacitor": "Device:C",
|
|
"Inductor": "Device:L",
|
|
"Diode": "Device:D",
|
|
"Transistor": "Device:Q_NPN_BCE",
|
|
"Voltage Regulator": "Regulator_Linear:LM317_TO-220",
|
|
"LDO": "Regulator_Linear:AMS1117-3.3",
|
|
"Op-Amp": "Amplifier_Operational:LM358",
|
|
"Comparator": "Comparator:LM393",
|
|
"Optocoupler": "Isolator:PC817",
|
|
"Relay": "Relay:Relay_DPDT",
|
|
"Connector": "Connector:Conn_01x02",
|
|
"Switch": "Switch:SW_Push",
|
|
"Button": "Switch:SW_Push",
|
|
"Potentiometer": "Device:R_POT",
|
|
"Trimpot": "Device:R_POT",
|
|
"Thermistor": "Device:Thermistor",
|
|
"Varistor": "Device:Varistor",
|
|
"Photo": "Device:LED"
|
|
}
|
|
}
|