Hypergenius commited on
Commit
e1ed10f
·
verified ·
1 Parent(s): a77cb31

Add 3 files

Browse files
Files changed (3) hide show
  1. README.md +7 -5
  2. index.html +864 -19
  3. prompts.txt +1 -0
README.md CHANGED
@@ -1,10 +1,12 @@
1
  ---
2
- title: Electronics Refrence
3
- emoji: 🐨
4
- colorFrom: indigo
5
- colorTo: green
6
  sdk: static
7
  pinned: false
 
 
8
  ---
9
 
10
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
1
  ---
2
+ title: electronics-refrence
3
+ emoji: 🐳
4
+ colorFrom: pink
5
+ colorTo: pink
6
  sdk: static
7
  pinned: false
8
+ tags:
9
+ - deepsite
10
  ---
11
 
12
+ Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
index.html CHANGED
@@ -1,19 +1,864 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
19
- </html>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>Electronic Components Reference Guide</title>
7
+ <script src="https://cdn.tailwindcss.com"></script>
8
+ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
9
+ <script>
10
+ tailwind.config = {
11
+ theme: {
12
+ extend: {
13
+ colors: {
14
+ resistor: '#FF6B6B',
15
+ capacitor: '#4ECDC4',
16
+ inductor: '#45B7D1',
17
+ diode: '#FFA07A',
18
+ transistor: '#98D8C8',
19
+ ic: '#F06292',
20
+ connector: '#FFD166',
21
+ crystal: '#A78BFA',
22
+ sensor: '#7FB800'
23
+ }
24
+ }
25
+ }
26
+ }
27
+ </script>
28
+ <style>
29
+ .component-card {
30
+ transition: all 0.3s ease;
31
+ transform-style: preserve-3d;
32
+ }
33
+ .component-card:hover {
34
+ transform: translateY(-5px) scale(1.02);
35
+ box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
36
+ }
37
+ .category-tag {
38
+ transition: all 0.2s ease;
39
+ }
40
+ .category-tag:hover {
41
+ transform: scale(1.05);
42
+ }
43
+ .chart-container {
44
+ perspective: 1000px;
45
+ }
46
+ .chart-bar {
47
+ transition: all 0.5s ease;
48
+ transform-origin: bottom;
49
+ }
50
+ .chart-bar:hover {
51
+ transform: scaleY(1.1);
52
+ }
53
+ </style>
54
+ </head>
55
+ <body class="bg-gray-50 min-h-screen">
56
+ <div class="container mx-auto px-4 py-8">
57
+ <!-- Header -->
58
+ <header class="mb-12 text-center">
59
+ <h1 class="text-4xl font-bold text-gray-800 mb-2">Electronic Components Reference Guide</h1>
60
+ <p class="text-xl text-gray-600 max-w-3xl mx-auto">
61
+ A comprehensive visual guide to common electronic components with specifications, applications, and interactive features.
62
+ </p>
63
+ <div class="mt-6 flex justify-center space-x-4">
64
+ <span class="px-4 py-2 bg-blue-100 text-blue-800 rounded-full text-sm font-medium">
65
+ <i class="fas fa-microchip mr-2"></i> 32 Components
66
+ </span>
67
+ <span class="px-4 py-2 bg-green-100 text-green-800 rounded-full text-sm font-medium">
68
+ <i class="fas fa-layer-group mr-2"></i> 8 Categories
69
+ </span>
70
+ <span class="px-4 py-2 bg-purple-100 text-purple-800 rounded-full text-sm font-medium">
71
+ <i class="fas fa-tags mr-2"></i> 18 Subcategories
72
+ </span>
73
+ </div>
74
+ </header>
75
+
76
+ <!-- Category Navigation -->
77
+ <div class="mb-10">
78
+ <h2 class="text-2xl font-semibold text-gray-800 mb-4">Browse by Category</h2>
79
+ <div class="grid grid-cols-2 sm:grid-cols-4 md:grid-cols-8 gap-3">
80
+ <button onclick="filterComponents('Resistor')" class="category-tag bg-resistor hover:bg-red-500 text-white px-3 py-2 rounded-lg flex items-center justify-center">
81
+ <i class="fas fa-bolt mr-2"></i> Resistor
82
+ </button>
83
+ <button onclick="filterComponents('Capacitor')" class="category-tag bg-capacitor hover:bg-teal-500 text-white px-3 py-2 rounded-lg flex items-center justify-center">
84
+ <i class="fas fa-bolt mr-2"></i> Capacitor
85
+ </button>
86
+ <button onclick="filterComponents('Inductor')" class="category-tag bg-inductor hover:bg-blue-500 text-white px-3 py-2 rounded-lg flex items-center justify-center">
87
+ <i class="fas fa-circle-notch mr-2"></i> Inductor
88
+ </button>
89
+ <button onclick="filterComponents('Diode')" class="category-tag bg-diode hover:bg-orange-500 text-white px-3 py-2 rounded-lg flex items-center justify-center">
90
+ <i class="fas fa-arrow-right mr-2"></i> Diode
91
+ </button>
92
+ <button onclick="filterComponents('Transistor')" class="category-tag bg-transistor hover:bg-emerald-500 text-white px-3 py-2 rounded-lg flex items-center justify-center">
93
+ <i class="fas fa-exchange-alt mr-2"></i> Transistor
94
+ </button>
95
+ <button onclick="filterComponents('Integrated Circuit')" class="category-tag bg-ic hover:bg-pink-500 text-white px-3 py-2 rounded-lg flex items-center justify-center">
96
+ <i class="fas fa-microchip mr-2"></i> IC
97
+ </button>
98
+ <button onclick="filterComponents('Connector')" class="category-tag bg-connector hover:bg-yellow-500 text-white px-3 py-2 rounded-lg flex items-center justify-center">
99
+ <i class="fas fa-plug mr-2"></i> Connector
100
+ </button>
101
+ <button onclick="filterComponents('Sensor')" class="category-tag bg-sensor hover:bg-lime-600 text-white px-3 py-2 rounded-lg flex items-center justify-center">
102
+ <i class="fas fa-thermometer-half mr-2"></i> Sensor
103
+ </button>
104
+ </div>
105
+ </div>
106
+
107
+ <!-- Stats and Charts -->
108
+ <div class="mb-12 grid grid-cols-1 md:grid-cols-2 gap-8">
109
+ <!-- Component Distribution Chart -->
110
+ <div class="bg-white p-6 rounded-xl shadow-md">
111
+ <h3 class="text-xl font-semibold text-gray-800 mb-4">Component Distribution by Category</h3>
112
+ <div class="chart-container h-64 flex items-end justify-between mt-8">
113
+ <div class="flex flex-col items-center">
114
+ <div class="chart-bar bg-resistor w-8 h-16 rounded-t" title="Resistors: 5"></div>
115
+ <span class="text-xs mt-2">Resistor</span>
116
+ </div>
117
+ <div class="flex flex-col items-center">
118
+ <div class="chart-bar bg-capacitor w-8 h-24 rounded-t" title="Capacitors: 5"></div>
119
+ <span class="text-xs mt-2">Capacitor</span>
120
+ </div>
121
+ <div class="flex flex-col items-center">
122
+ <div class="chart-bar bg-inductor w-8 h-12 rounded-t" title="Inductors: 2"></div>
123
+ <span class="text-xs mt-2">Inductor</span>
124
+ </div>
125
+ <div class="flex flex-col items-center">
126
+ <div class="chart-bar bg-diode w-8 h-20 rounded-t" title="Diodes: 4"></div>
127
+ <span class="text-xs mt-2">Diode</span>
128
+ </div>
129
+ <div class="flex flex-col items-center">
130
+ <div class="chart-bar bg-transistor w-8 h-20 rounded-t" title="Transistors: 4"></div>
131
+ <span class="text-xs mt-2">Transistor</span>
132
+ </div>
133
+ <div class="flex flex-col items-center">
134
+ <div class="chart-bar bg-ic w-8 h-28 rounded-t" title="ICs: 5"></div>
135
+ <span class="text-xs mt-2">IC</span>
136
+ </div>
137
+ <div class="flex flex-col items-center">
138
+ <div class="chart-bar bg-connector w-8 h-16 rounded-t" title="Connectors: 3"></div>
139
+ <span class="text-xs mt-2">Connector</span>
140
+ </div>
141
+ <div class="flex flex-col items-center">
142
+ <div class="chart-bar bg-sensor w-8 h-12 rounded-t" title="Sensors: 2"></div>
143
+ <span class="text-xs mt-2">Sensor</span>
144
+ </div>
145
+ </div>
146
+ </div>
147
+
148
+ <!-- Popular Components -->
149
+ <div class="bg-white p-6 rounded-xl shadow-md">
150
+ <h3 class="text-xl font-semibold text-gray-800 mb-4">Most Common Components</h3>
151
+ <div class="space-y-4">
152
+ <div class="flex items-center">
153
+ <div class="w-8 h-8 rounded-full bg-resistor flex items-center justify-center text-white">
154
+ <i class="fas fa-bolt text-xs"></i>
155
+ </div>
156
+ <div class="ml-3">
157
+ <h4 class="text-sm font-medium text-gray-800">Metal Film Resistor</h4>
158
+ <p class="text-xs text-gray-500">General purpose, low noise</p>
159
+ </div>
160
+ <div class="ml-auto text-xs bg-gray-100 px-2 py-1 rounded">0805, 0603</div>
161
+ </div>
162
+ <div class="flex items-center">
163
+ <div class="w-8 h-8 rounded-full bg-capacitor flex items-center justify-center text-white">
164
+ <i class="fas fa-bolt text-xs"></i>
165
+ </div>
166
+ <div class="ml-3">
167
+ <h4 class="text-sm font-medium text-gray-800">MLCC Capacitor</h4>
168
+ <p class="text-xs text-gray-500">Decoupling, filtering</p>
169
+ </div>
170
+ <div class="ml-auto text-xs bg-gray-100 px-2 py-1 rounded">0402, 0603</div>
171
+ </div>
172
+ <div class="flex items-center">
173
+ <div class="w-8 h-8 rounded-full bg-diode flex items-center justify-center text-white">
174
+ <i class="fas fa-arrow-right text-xs"></i>
175
+ </div>
176
+ <div class="ml-3">
177
+ <h4 class="text-sm font-medium text-gray-800">1N400x Diode</h4>
178
+ <p class="text-xs text-gray-500">Power rectification</p>
179
+ </div>
180
+ <div class="ml-auto text-xs bg-gray-100 px-2 py-1 rounded">DO-41</div>
181
+ </div>
182
+ <div class="flex items-center">
183
+ <div class="w-8 h-8 rounded-full bg-transistor flex items-center justify-center text-white">
184
+ <i class="fas fa-exchange-alt text-xs"></i>
185
+ </div>
186
+ <div class="ml-3">
187
+ <h4 class="text-sm font-medium text-gray-800">2N3904 Transistor</h4>
188
+ <p class="text-xs text-gray-500">General switching</p>
189
+ </div>
190
+ <div class="ml-auto text-xs bg-gray-100 px-2 py-1 rounded">TO-92</div>
191
+ </div>
192
+ </div>
193
+ </div>
194
+ </div>
195
+
196
+ <!-- Search and Filter -->
197
+ <div class="mb-8 bg-white p-4 rounded-xl shadow-md">
198
+ <div class="flex flex-col md:flex-row md:items-center md:justify-between gap-4">
199
+ <div class="relative flex-1">
200
+ <div class="absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none">
201
+ <i class="fas fa-search text-gray-400"></i>
202
+ </div>
203
+ <input type="text" id="searchInput" placeholder="Search components..." class="pl-10 pr-4 py-2 w-full border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-blue-500">
204
+ </div>
205
+ <div class="flex space-x-2">
206
+ <select id="categoryFilter" class="px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-blue-500">
207
+ <option value="">All Categories</option>
208
+ <option value="Resistor">Resistor</option>
209
+ <option value="Capacitor">Capacitor</option>
210
+ <option value="Inductor">Inductor</option>
211
+ <option value="Diode">Diode</option>
212
+ <option value="Transistor">Transistor</option>
213
+ <option value="Integrated Circuit">IC</option>
214
+ <option value="Connector">Connector</option>
215
+ <option value="Sensor">Sensor</option>
216
+ </select>
217
+ <select id="subcategoryFilter" class="px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-blue-500">
218
+ <option value="">All Subcategories</option>
219
+ <option value="Fixed">Fixed</option>
220
+ <option value="Variable">Variable</option>
221
+ <option value="Sensor">Sensor</option>
222
+ <option value="Ceramic">Ceramic</option>
223
+ <option value="Electrolytic">Electrolytic</option>
224
+ <option value="Film">Film</option>
225
+ <option value="Power">Power</option>
226
+ <option value="RF">RF</option>
227
+ <option value="Rectifier">Rectifier</option>
228
+ <option value="Zener">Zener</option>
229
+ <option value="Schottky">Schottky</option>
230
+ <option value="Opto">Opto</option>
231
+ <option value="BJT">BJT</option>
232
+ <option value="MOSFET">MOSFET</option>
233
+ <option value="Microcontroller">Microcontroller</option>
234
+ <option value="Op Amp">Op Amp</option>
235
+ <option value="Voltage Regulator">Voltage Regulator</option>
236
+ <option value="USB">USB</option>
237
+ <option value="Header">Header</option>
238
+ <option value="Crystal">Crystal</option>
239
+ <option value="Oscillator">Oscillator</option>
240
+ <option value="Temperature">Temperature</option>
241
+ <option value="Motion">Motion</option>
242
+ </select>
243
+ </div>
244
+ </div>
245
+ </div>
246
+
247
+ <!-- Components Grid -->
248
+ <div id="componentsGrid" class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6">
249
+ <!-- Components will be inserted here by JavaScript -->
250
+ </div>
251
+
252
+ <!-- Additional Resources -->
253
+ <div class="mt-16 bg-blue-50 p-6 rounded-xl">
254
+ <h2 class="text-2xl font-semibold text-blue-800 mb-4">Additional Resources</h2>
255
+ <div class="grid grid-cols-1 md:grid-cols-3 gap-6">
256
+ <div class="bg-white p-4 rounded-lg shadow-sm">
257
+ <div class="w-12 h-12 bg-blue-100 rounded-full flex items-center justify-center text-blue-600 mb-3">
258
+ <i class="fas fa-book-open text-xl"></i>
259
+ </div>
260
+ <h3 class="font-medium text-lg text-gray-800 mb-2">Component Selection Guide</h3>
261
+ <p class="text-gray-600 text-sm">Learn how to choose the right components for your circuit design based on specifications and applications.</p>
262
+ </div>
263
+ <div class="bg-white p-4 rounded-lg shadow-sm">
264
+ <div class="w-12 h-12 bg-green-100 rounded-full flex items-center justify-center text-green-600 mb-3">
265
+ <i class="fas fa-ruler-combined text-xl"></i>
266
+ </div>
267
+ <h3 class="font-medium text-lg text-gray-800 mb-2">Footprint Reference</h3>
268
+ <p class="text-gray-600 text-sm">Detailed information about component packages and footprints for PCB design.</p>
269
+ </div>
270
+ <div class="bg-white p-4 rounded-lg shadow-sm">
271
+ <div class="w-12 h-12 bg-purple-100 rounded-full flex items-center justify-center text-purple-600 mb-3">
272
+ <i class="fas fa-project-diagram text-xl"></i>
273
+ </div>
274
+ <h3 class="font-medium text-lg text-gray-800 mb-2">Circuit Design Patterns</h3>
275
+ <p class="text-gray-600 text-sm">Common circuit configurations using these components with example schematics.</p>
276
+ </div>
277
+ </div>
278
+ </div>
279
+ </div>
280
+
281
+ <script>
282
+ // Component data
283
+ const components = [
284
+ {
285
+ "Category": "Resistor",
286
+ "Subcategory": "Fixed",
287
+ "Part Type": "Metal Film",
288
+ "Value/Rating": "1Ω - 10MΩ",
289
+ "Tolerance": "±1%, ±5%",
290
+ "Package/Footprint": "0805, 0603, 1206",
291
+ "Technology": "Thin Film",
292
+ "Applications/Notes": "General purpose, low noise",
293
+ "Popularity": "High",
294
+ "Temperature Coefficient": "±50ppm/°C",
295
+ "Power Rating": "0.125W - 1W",
296
+ "Color Code": "4 or 5 bands"
297
+ },
298
+ {
299
+ "Category": "Resistor",
300
+ "Subcategory": "Fixed",
301
+ "Part Type": "Carbon Film",
302
+ "Value/Rating": "1Ω - 10MΩ",
303
+ "Tolerance": "±5%, ±10%",
304
+ "Package/Footprint": "Through-hole, 1206",
305
+ "Technology": "Thick Film",
306
+ "Applications/Notes": "Cost-sensitive applications",
307
+ "Popularity": "Medium",
308
+ "Temperature Coefficient": "±250ppm/°C",
309
+ "Power Rating": "0.25W - 2W",
310
+ "Color Code": "4 bands"
311
+ },
312
+ {
313
+ "Category": "Resistor",
314
+ "Subcategory": "Variable",
315
+ "Part Type": "Potentiometer",
316
+ "Value/Rating": "1kΩ - 1MΩ",
317
+ "Tolerance": "±20%",
318
+ "Package/Footprint": "Through-hole",
319
+ "Technology": "Cermet",
320
+ "Applications/Notes": "User-adjustable",
321
+ "Popularity": "High",
322
+ "Temperature Coefficient": "±100ppm/°C",
323
+ "Power Rating": "0.1W - 2W",
324
+ "Rotation": "Single or multi-turn"
325
+ },
326
+ {
327
+ "Category": "Resistor",
328
+ "Subcategory": "Sensor",
329
+ "Part Type": "Thermistor (NTC)",
330
+ "Value/Rating": "10kΩ @ 25°C",
331
+ "Tolerance": "±1%",
332
+ "Package/Footprint": "Through-hole, SMD",
333
+ "Technology": "Ceramic",
334
+ "Applications/Notes": "Temperature sensing",
335
+ "Popularity": "Medium",
336
+ "Beta Value": "3950K",
337
+ "Operating Range": "-40°C to +125°C",
338
+ "Response Time": "Fast"
339
+ },
340
+ {
341
+ "Category": "Resistor",
342
+ "Subcategory": "Sensor",
343
+ "Part Type": "LDR",
344
+ "Value/Rating": "10kΩ @ dark",
345
+ "Tolerance": "±30%",
346
+ "Package/Footprint": "Through-hole",
347
+ "Technology": "Photoresistive",
348
+ "Applications/Notes": "Light sensing",
349
+ "Popularity": "Medium",
350
+ "Response Time": "Slow (tens of ms)",
351
+ "Spectral Range": "400-700nm",
352
+ "Dark Resistance": "1MΩ typical"
353
+ },
354
+ {
355
+ "Category": "Capacitor",
356
+ "Subcategory": "Ceramic",
357
+ "Part Type": "MLCC",
358
+ "Value/Rating": "1pF - 1µF",
359
+ "Tolerance": "±5%, ±10%",
360
+ "Package/Footprint": "0402, 0603, 0805",
361
+ "Technology": "Class II/III",
362
+ "Applications/Notes": "Decoupling, filtering",
363
+ "Popularity": "Very High",
364
+ "Voltage Rating": "6.3V - 50V",
365
+ "Temperature Stability": "X7R, X5R common",
366
+ "ESR": "Very low"
367
+ },
368
+ {
369
+ "Category": "Capacitor",
370
+ "Subcategory": "Electrolytic",
371
+ "Part Type": "Aluminum",
372
+ "Value/Rating": "1µF - 10000µF, 6V-63V",
373
+ "Tolerance": "±20%",
374
+ "Package/Footprint": "Radial, SMD can",
375
+ "Technology": "Wet electrolyte",
376
+ "Applications/Notes": "Bulk storage, smoothing",
377
+ "Popularity": "High",
378
+ "Lifetime": "1000-5000 hours",
379
+ "Leakage Current": "High",
380
+ "ESR": "Medium"
381
+ },
382
+ {
383
+ "Category": "Capacitor",
384
+ "Subcategory": "Electrolytic",
385
+ "Part Type": "Tantalum",
386
+ "Value/Rating": "0.1µF - 100µF, 4V-50V",
387
+ "Tolerance": "±10%, ±20%",
388
+ "Package/Footprint": "SMD (A, B)",
389
+ "Technology": "Solid electrolyte",
390
+ "Applications/Notes": "Stable, small size",
391
+ "Popularity": "Medium",
392
+ "Lifetime": "Long",
393
+ "Leakage Current": "Low",
394
+ "ESR": "Low"
395
+ },
396
+ {
397
+ "Category": "Capacitor",
398
+ "Subcategory": "Film",
399
+ "Part Type": "Polyester",
400
+ "Value/Rating": "10pF - 10µF",
401
+ "Tolerance": "±5%, ±10%",
402
+ "Package/Footprint": "Box",
403
+ "Technology": "Plastic film",
404
+ "Applications/Notes": "Signal coupling, timing",
405
+ "Popularity": "Low",
406
+ "Voltage Rating": "50V - 630V",
407
+ "Temperature Stability": "Good",
408
+ "ESR": "Very low"
409
+ },
410
+ {
411
+ "Category": "Inductor",
412
+ "Subcategory": "Power",
413
+ "Part Type": "Shielded Choke",
414
+ "Value/Rating": "1µH - 1000µH",
415
+ "Tolerance": "±10%",
416
+ "Package/Footprint": "Through-hole, SMD",
417
+ "Technology": "Ferrite core",
418
+ "Applications/Notes": "DC-DC converters",
419
+ "Popularity": "High",
420
+ "Current Rating": "100mA - 5A",
421
+ "Saturation Current": "Specified",
422
+ "Core Losses": "Low"
423
+ },
424
+ {
425
+ "Category": "Inductor",
426
+ "Subcategory": "RF",
427
+ "Part Type": "Ferrite Bead",
428
+ "Value/Rating": "100Ω @ 100MHz",
429
+ "Tolerance": "N/A",
430
+ "Package/Footprint": "0805, 1206",
431
+ "Technology": "Ferrite",
432
+ "Applications/Notes": "EMI suppression",
433
+ "Popularity": "Medium",
434
+ "Impedance Curve": "Frequency dependent",
435
+ "Current Rating": "100mA - 3A",
436
+ "DC Resistance": "Low"
437
+ },
438
+ {
439
+ "Category": "Diode",
440
+ "Subcategory": "Rectifier",
441
+ "Part Type": "1N400x",
442
+ "Value/Rating": "50V-1000V, 1A",
443
+ "Tolerance": "N/A",
444
+ "Package/Footprint": "DO-41",
445
+ "Technology": "PN junction",
446
+ "Applications/Notes": "Power rectification",
447
+ "Popularity": "Very High",
448
+ "Forward Voltage": "0.7V",
449
+ "Reverse Recovery Time": "Slow (μs range)",
450
+ "Peak Current": "30A"
451
+ },
452
+ {
453
+ "Category": "Diode",
454
+ "Subcategory": "Zener",
455
+ "Part Type": "BZX55",
456
+ "Value/Rating": "3.3V-75V",
457
+ "Tolerance": "±5%",
458
+ "Package/Footprint": "SMD, Through-hole",
459
+ "Technology": "Zener",
460
+ "Applications/Notes": "Voltage regulation",
461
+ "Popularity": "High",
462
+ "Power Rating": "0.5W - 1W",
463
+ "Zener Impedance": "Varies with voltage",
464
+ "Temperature Coefficient": "Positive or negative"
465
+ },
466
+ {
467
+ "Category": "Diode",
468
+ "Subcategory": "Schottky",
469
+ "Part Type": "SS14",
470
+ "Value/Rating": "40V, 1A",
471
+ "Tolerance": "N/A",
472
+ "Package/Footprint": "SMA",
473
+ "Technology": "Metal-Semiconductor",
474
+ "Applications/Notes": "Fast switching",
475
+ "Popularity": "High",
476
+ "Forward Voltage": "0.3V-0.5V",
477
+ "Reverse Recovery Time": "Very fast (ns range)",
478
+ "Leakage Current": "Higher than PN"
479
+ },
480
+ {
481
+ "Category": "Diode",
482
+ "Subcategory": "Opto",
483
+ "Part Type": "LED",
484
+ "Value/Rating": "2V-3.6V",
485
+ "Tolerance": "N/A",
486
+ "Package/Footprint": "Through-hole, SMD",
487
+ "Technology": "GaAsP, InGaN",
488
+ "Applications/Notes": "Indicator, optocoupler",
489
+ "Popularity": "Very High",
490
+ "Forward Current": "5mA-30mA",
491
+ "Wavelength": "Varies by color",
492
+ "Viewing Angle": "30°-120°"
493
+ },
494
+ {
495
+ "Category": "Transistor",
496
+ "Subcategory": "BJT",
497
+ "Part Type": "2N3904 (NPN)",
498
+ "Value/Rating": "40V, 200mA",
499
+ "Tolerance": "N/A",
500
+ "Package/Footprint": "TO-92",
501
+ "Technology": "Silicon",
502
+ "Applications/Notes": "General switching",
503
+ "Popularity": "Very High",
504
+ "Current Gain (hFE)": "100-300",
505
+ "Transition Frequency": "300MHz",
506
+ "Power Dissipation": "625mW"
507
+ },
508
+ {
509
+ "Category": "Transistor",
510
+ "Subcategory": "BJT",
511
+ "Part Type": "2N3906 (PNP)",
512
+ "Value/Rating": "40V, 200mA",
513
+ "Tolerance": "N/A",
514
+ "Package/Footprint": "TO-92",
515
+ "Technology": "Silicon",
516
+ "Applications/Notes": "General switching",
517
+ "Popularity": "High",
518
+ "Current Gain (hFE)": "100-300",
519
+ "Transition Frequency": "250MHz",
520
+ "Power Dissipation": "625mW"
521
+ },
522
+ {
523
+ "Category": "Transistor",
524
+ "Subcategory": "MOSFET",
525
+ "Part Type": "IRLZ44N (N-Channel)",
526
+ "Value/Rating": "55V, 47A",
527
+ "Tolerance": "N/A",
528
+ "Package/Footprint": "TO-220",
529
+ "Technology": "Power MOSFET",
530
+ "Applications/Notes": "High-power switching",
531
+ "Popularity": "High",
532
+ "Gate Threshold": "1-2V",
533
+ "RDS(on)": "0.022Ω",
534
+ "Power Dissipation": "94W"
535
+ },
536
+ {
537
+ "Category": "Transistor",
538
+ "Subcategory": "MOSFET",
539
+ "Part Type": "SI2301 (P-Channel)",
540
+ "Value/Rating": "20V, 3.6A",
541
+ "Tolerance": "N/A",
542
+ "Package/Footprint": "SOT-23",
543
+ "Technology": "Power MOSFET",
544
+ "Applications/Notes": "Low-side/high-side switching",
545
+ "Popularity": "Medium",
546
+ "Gate Threshold": "0.4-1V",
547
+ "RDS(on)": "0.1Ω",
548
+ "Power Dissipation": "1.25W"
549
+ },
550
+ {
551
+ "Category": "Integrated Circuit",
552
+ "Subcategory": "Microcontroller",
553
+ "Part Type": "ATmega328P",
554
+ "Value/Rating": "20MHz, 32KB Flash",
555
+ "Tolerance": "N/A",
556
+ "Package/Footprint": "TQFP, DIP",
557
+ "Technology": "8-bit AVR",
558
+ "Applications/Notes": "Arduino boards",
559
+ "Popularity": "Very High",
560
+ "I/O Pins": "23",
561
+ "ADC Resolution": "10-bit",
562
+ "Communication": "UART, SPI, I2C"
563
+ },
564
+ {
565
+ "Category": "Integrated Circuit",
566
+ "Subcategory": "Microcontroller",
567
+ "Part Type": "PIC16F877A",
568
+ "Value/Rating": "20MHz, 8KB Flash",
569
+ "Tolerance": "N/A",
570
+ "Package/Footprint": "PDIP, QFN",
571
+ "Technology": "8-bit PIC",
572
+ "Applications/Notes": "Embedded control",
573
+ "Popularity": "High",
574
+ "I/O Pins": "33",
575
+ "ADC Resolution": "10-bit",
576
+ "Communication": "UART, SPI, I2C"
577
+ },
578
+ {
579
+ "Category": "Integrated Circuit",
580
+ "Subcategory": "Op Amp",
581
+ "Part Type": "LM358",
582
+ "Value/Rating": "±3V to ±32V",
583
+ "Tolerance": "N/A",
584
+ "Package/Footprint": "SOIC-8, DIP-8",
585
+ "Technology": "Dual Op Amp",
586
+ "Applications/Notes": "Signal conditioning",
587
+ "Popularity": "Very High",
588
+ "Gain Bandwidth": "1MHz",
589
+ "Slew Rate": "0.3V/μs",
590
+ "Input Offset": "2mV"
591
+ },
592
+ {
593
+ "Category": "Integrated Circuit",
594
+ "Subcategory": "Voltage Regulator",
595
+ "Part Type": "7805",
596
+ "Value/Rating": "5V, 1A",
597
+ "Tolerance": "±4%",
598
+ "Package/Footprint": "TO-220",
599
+ "Technology": "Linear",
600
+ "Applications/Notes": "Fixed regulator",
601
+ "Popularity": "Very High",
602
+ "Dropout Voltage": "2V",
603
+ "Input Voltage": "7-35V",
604
+ "Thermal Protection": "Yes"
605
+ },
606
+ {
607
+ "Category": "Integrated Circuit",
608
+ "Subcategory": "Voltage Regulator",
609
+ "Part Type": "LM1117",
610
+ "Value/Rating": "3.3V, 800mA",
611
+ "Tolerance": "±1%",
612
+ "Package/Footprint": "TO-220, SOT-223",
613
+ "Technology": "LDO",
614
+ "Applications/Notes": "Low dropout",
615
+ "Popularity": "High",
616
+ "Dropout Voltage": "1.2V",
617
+ "Input Voltage": "4.75-15V",
618
+ "Thermal Protection": "Yes"
619
+ },
620
+ {
621
+ "Category": "Connector",
622
+ "Subcategory": "USB",
623
+ "Part Type": "USB Type-A",
624
+ "Value/Rating": "5V, 500mA",
625
+ "Tolerance": "N/A",
626
+ "Package/Footprint": "Through-hole",
627
+ "Technology": "USB 2.0",
628
+ "Applications/Notes": "Host interface",
629
+ "Popularity": "Very High",
630
+ "Pins": "4",
631
+ "Current Rating": "1.8A (USB 3.0)",
632
+ "Mating Cycles": "1500"
633
+ },
634
+ {
635
+ "Category": "Connector",
636
+ "Subcategory": "USB",
637
+ "Part Type": "Micro USB B",
638
+ "Value/Rating": "5V, 1A",
639
+ "Tolerance": "N/A",
640
+ "Package/Footprint": "SMD",
641
+ "Technology": "USB 2.0",
642
+ "Applications/Notes": "Power/data",
643
+ "Popularity": "Very High",
644
+ "Pins": "5",
645
+ "Current Rating": "1.8A",
646
+ "Mating Cycles": "10000"
647
+ },
648
+ {
649
+ "Category": "Connector",
650
+ "Subcategory": "Header",
651
+ "Part Type": "2x5 Pin Header",
652
+ "Value/Rating": "N/A",
653
+ "Tolerance": "N/A",
654
+ "Package/Footprint": "Through-hole",
655
+ "Technology": "Gold plating",
656
+ "Applications/Notes": "Programming",
657
+ "Popularity": "High",
658
+ "Pitch": "2.54mm",
659
+ "Current Rating": "3A per pin",
660
+ "Mating Cycles": "50"
661
+ },
662
+ {
663
+ "Category": "Crystal/Oscillator",
664
+ "Subcategory": "Crystal",
665
+ "Part Type": "16 MHz HC-49/U",
666
+ "Value/Rating": "16 MHz ±20ppm",
667
+ "Tolerance": "±20ppm",
668
+ "Package/Footprint": "Through-hole",
669
+ "Technology": "Quartz",
670
+ "Applications/Notes": "Microcontroller clock",
671
+ "Popularity": "High",
672
+ "Load Capacitance": "18pF or 20pF",
673
+ "ESR": "30Ω",
674
+ "Aging": "±5ppm/year"
675
+ },
676
+ {
677
+ "Category": "Crystal/Oscillator",
678
+ "Subcategory": "Oscillator",
679
+ "Part Type": "32.768 kHz SMD",
680
+ "Value/Rating": "32.768 kHz",
681
+ "Tolerance": "±20ppm",
682
+ "Package/Footprint": "SMD",
683
+ "Technology": "Quartz",
684
+ "Applications/Notes": "RTC clock",
685
+ "Popularity": "Medium",
686
+ "Load Capacitance": "12.5pF",
687
+ "ESR": "35kΩ",
688
+ "Drive Level": "1μW"
689
+ },
690
+ {
691
+ "Category": "Sensor",
692
+ "Subcategory": "Temperature",
693
+ "Part Type": "LM35",
694
+ "Value/Rating": "-55°C to 150°C",
695
+ "Tolerance": "±0.5°C",
696
+ "Package/Footprint": "TO-92, SOIC-8",
697
+ "Technology": "Analog IC",
698
+ "Applications/Notes": "Precise temp sensing",
699
+ "Popularity": "High",
700
+ "Output": "10mV/°C",
701
+ "Supply Voltage": "4V-30V",
702
+ "Current Draw": "60μA"
703
+ },
704
+ {
705
+ "Category": "Sensor",
706
+ "Subcategory": "Motion",
707
+ "Part Type": "ADXL345",
708
+ "Value/Rating": "±2g/±4g/±8g/±16g",
709
+ "Tolerance": "N/A",
710
+ "Package/Footprint": "LGA",
711
+ "Technology": "MEMS",
712
+ "Applications/Notes": "3-axis accelerometer",
713
+ "Popularity": "Medium",
714
+ "Interface": "I2C/SPI",
715
+ "Resolution": "13-bit",
716
+ "Current Draw": "25-140μA"
717
+ }
718
+ ];
719
+
720
+ // Get category color
721
+ function getCategoryColor(category) {
722
+ const colors = {
723
+ "Resistor": "resistor",
724
+ "Capacitor": "capacitor",
725
+ "Inductor": "inductor",
726
+ "Diode": "diode",
727
+ "Transistor": "transistor",
728
+ "Integrated Circuit": "ic",
729
+ "Connector": "connector",
730
+ "Sensor": "sensor"
731
+ };
732
+ return colors[category] || "gray";
733
+ }
734
+
735
+ // Get category icon
736
+ function getCategoryIcon(category) {
737
+ const icons = {
738
+ "Resistor": "fa-bolt",
739
+ "Capacitor": "fa-bolt",
740
+ "Inductor": "fa-circle-notch",
741
+ "Diode": "fa-arrow-right",
742
+ "Transistor": "fa-exchange-alt",
743
+ "Integrated Circuit": "fa-microchip",
744
+ "Connector": "fa-plug",
745
+ "Sensor": "fa-thermometer-half"
746
+ };
747
+ return icons[category] || "fa-question";
748
+ }
749
+
750
+ // Render components
751
+ function renderComponents(filteredComponents = components) {
752
+ const grid = document.getElementById('componentsGrid');
753
+ grid.innerHTML = '';
754
+
755
+ filteredComponents.forEach(component => {
756
+ const color = getCategoryColor(component.Category);
757
+ const icon = getCategoryIcon(component.Category);
758
+
759
+ const card = document.createElement('div');
760
+ card.className = `component-card bg-white rounded-xl shadow-md overflow-hidden border-t-4 border-${color}`;
761
+
762
+ card.innerHTML = `
763
+ <div class="p-5">
764
+ <div class="flex justify-between items-start mb-3">
765
+ <div>
766
+ <span class="inline-block px-3 py-1 text-xs font-semibold rounded-full bg-${color}-100 text-${color}-800 mb-2">
767
+ ${component.Subcategory}
768
+ </span>
769
+ <h3 class="text-xl font-semibold text-gray-800">${component["Part Type"]}</h3>
770
+ <p class="text-sm text-gray-600">${component.Category}</p>
771
+ </div>
772
+ <div class="w-10 h-10 rounded-full bg-${color}-100 flex items-center justify-center text-${color}-600">
773
+ <i class="fas ${icon}"></i>
774
+ </div>
775
+ </div>
776
+
777
+ <div class="mt-4 space-y-3">
778
+ <div class="flex items-start">
779
+ <span class="text-gray-500 w-24 flex-shrink-0">Value/Rating:</span>
780
+ <span class="text-gray-800 font-medium">${component["Value/Rating"]}</span>
781
+ </div>
782
+ <div class="flex items-start">
783
+ <span class="text-gray-500 w-24 flex-shrink-0">Tolerance:</span>
784
+ <span class="text-gray-800">${component.Tolerance}</span>
785
+ </div>
786
+ <div class="flex items-start">
787
+ <span class="text-gray-500 w-24 flex-shrink-0">Package:</span>
788
+ <span class="text-gray-800">${component["Package/Footprint"]}</span>
789
+ </div>
790
+ <div class="flex items-start">
791
+ <span class="text-gray-500 w-24 flex-shrink-0">Technology:</span>
792
+ <span class="text-gray-800">${component.Technology}</span>
793
+ </div>
794
+ </div>
795
+
796
+ <div class="mt-4 pt-4 border-t border-gray-100">
797
+ <h4 class="text-sm font-medium text-gray-500 mb-1">Applications:</h4>
798
+ <p class="text-gray-700">${component["Applications/Notes"]}</p>
799
+ </div>
800
+
801
+ ${component.Popularity ? `
802
+ <div class="mt-3 flex items-center">
803
+ <span class="text-gray-500 text-sm mr-2">Popularity:</span>
804
+ ${getPopularityStars(component.Popularity)}
805
+ </div>
806
+ ` : ''}
807
+ </div>
808
+ `;
809
+
810
+ grid.appendChild(card);
811
+ });
812
+ }
813
+
814
+ // Get popularity stars
815
+ function getPopularityStars(popularity) {
816
+ const levels = {
817
+ "Very High": 3,
818
+ "High": 2,
819
+ "Medium": 1,
820
+ "Low": 0
821
+ };
822
+
823
+ const stars = [];
824
+ for (let i = 0; i < 3; i++) {
825
+ stars.push(
826
+ `<i class="fas fa-star ${i < levels[popularity] ? 'text-yellow-400' : 'text-gray-300'}"></i>`
827
+ );
828
+ }
829
+ return stars.join('');
830
+ }
831
+
832
+ // Filter components
833
+ function filterComponents(category = '') {
834
+ const searchTerm = document.getElementById('searchInput').value.toLowerCase();
835
+ const categoryFilter = document.getElementById('categoryFilter').value || category;
836
+ const subcategoryFilter = document.getElementById('subcategoryFilter').value;
837
+
838
+ const filtered = components.filter(component => {
839
+ const matchesCategory = !categoryFilter || component.Category === categoryFilter;
840
+ const matchesSubcategory = !subcategoryFilter || component.Subcategory === subcategoryFilter;
841
+ const matchesSearch = !searchTerm ||
842
+ component["Part Type"].toLowerCase().includes(searchTerm) ||
843
+ component.Category.toLowerCase().includes(searchTerm) ||
844
+ component.Subcategory.toLowerCase().includes(searchTerm) ||
845
+ component["Applications/Notes"].toLowerCase().includes(searchTerm);
846
+
847
+ return matchesCategory && matchesSubcategory && matchesSearch;
848
+ });
849
+
850
+ renderComponents(filtered);
851
+ }
852
+
853
+ // Initialize
854
+ document.addEventListener('DOMContentLoaded', () => {
855
+ renderComponents();
856
+
857
+ // Set up event listeners
858
+ document.getElementById('searchInput').addEventListener('input', filterComponents);
859
+ document.getElementById('categoryFilter').addEventListener('change', filterComponents);
860
+ document.getElementById('subcategoryFilter').addEventListener('change', filterComponents);
861
+ });
862
+ </script>
863
+ <p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=Hypergenius/electronics-refrence" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
864
+ </html>
prompts.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ create a visual representation and add more commentary to this data, you can add more data if you want: ata = [ {"Category": "Resistor", "Subcategory": "Fixed", "Part Type": "Metal Film", "Value/Rating": "1Ω - 10MΩ", "Tolerance": "±1%, ±5%", "Package/Footprint": "0805, 0603, 1206", "Technology": "Thin Film", "Applications/Notes": "General purpose, low noise"}, {"Category": "Resistor", "Subcategory": "Fixed", "Part Type": "Carbon Film", "Value/Rating": "1Ω - 10MΩ", "Tolerance": "±5%, ±10%", "Package/Footprint": "Through-hole, 1206", "Technology": "Thick Film", "Applications/Notes": "Cost-sensitive applications"}, {"Category": "Resistor", "Subcategory": "Variable", "Part Type": "Potentiometer", "Value/Rating": "1kΩ - 1MΩ", "Tolerance": "±20%", "Package/Footprint": "Through-hole", "Technology": "Cermet", "Applications/Notes": "User-adjustable"}, {"Category": "Resistor", "Subcategory": "Sensor", "Part Type": "Thermistor (NTC)", "Value/Rating": "10kΩ @ 25°C", "Tolerance": "±1%", "Package/Footprint": "Through-hole, SMD", "Technology": "Ceramic", "Applications/Notes": "Temperature sensing"}, {"Category": "Resistor", "Subcategory": "Sensor", "Part Type": "LDR", "Value/Rating": "10kΩ @ dark", "Tolerance": "±30%", "Package/Footprint": "Through-hole", "Technology": "Photoresistive", "Applications/Notes": "Light sensing"}, {"Category": "Capacitor", "Subcategory": "Ceramic", "Part Type": "MLCC", "Value/Rating": "1pF - 1µF", "Tolerance": "±5%, ±10%", "Package/Footprint": "0402, 0603, 0805", "Technology": "Class II/III", "Applications/Notes": "Decoupling, filtering"}, {"Category": "Capacitor", "Subcategory": "Electrolytic", "Part Type": "Aluminum", "Value/Rating": "1µF - 10000µF, 6V-63V", "Tolerance": "±20%", "Package/Footprint": "Radial, SMD can", "Technology": "Wet electrolyte", "Applications/Notes": "Bulk storage, smoothing"}, {"Category": "Capacitor", "Subcategory": "Electrolytic", "Part Type": "Tantalum", "Value/Rating": "0.1µF - 100µF, 4V-50V", "Tolerance": "±10%, ±20%", "Package/Footprint": "SMD (A, B)", "Technology": "Solid electrolyte", "Applications/Notes": "Stable, small size"}, {"Category": "Capacitor", "Subcategory": "Film", "Part Type": "Polyester", "Value/Rating": "10pF - 10µF", "Tolerance": "±5%, ±10%", "Package/Footprint": "Box", "Technology": "Plastic film", "Applications/Notes": "Signal coupling, timing"}, {"Category": "Inductor", "Subcategory": "Power", "Part Type": "Shielded Choke", "Value/Rating": "1µH - 1000µH", "Tolerance": "±10%", "Package/Footprint": "Through-hole, SMD", "Technology": "Ferrite core", "Applications/Notes": "DC-DC converters"}, {"Category": "Inductor", "Subcategory": "RF", "Part Type": "Ferrite Bead", "Value/Rating": "100Ω @ 100MHz", "Tolerance": "N/A", "Package/Footprint": "0805, 1206", "Technology": "Ferrite", "Applications/Notes": "EMI suppression"}, {"Category": "Diode", "Subcategory": "Rectifier", "Part Type": "1N400x", "Value/Rating": "50V-1000V, 1A", "Tolerance": "N/A", "Package/Footprint": "DO-41", "Technology": "PN junction", "Applications/Notes": "Power rectification"}, {"Category": "Diode", "Subcategory": "Zener", "Part Type": "BZX55", "Value/Rating": "3.3V-75V", "Tolerance": "±5%", "Package/Footprint": "SMD, Through-hole", "Technology": "Zener", "Applications/Notes": "Voltage regulation"}, {"Category": "Diode", "Subcategory": "Schottky", "Part Type": "SS14", "Value/Rating": "40V, 1A", "Tolerance": "N/A", "Package/Footprint": "SMA", "Technology": "Metal-Semiconductor", "Applications/Notes": "Fast switching"}, {"Category": "Diode", "Subcategory": "Opto", "Part Type": "LED", "Value/Rating": "2V-3.6V", "Tolerance": "N/A", "Package/Footprint": "Through-hole, SMD", "Technology": "GaAsP, InGaN", "Applications/Notes": "Indicator, optocoupler"}, {"Category": "Transistor", "Subcategory": "BJT", "Part Type": "2N3904 (NPN)", "Value/Rating": "40V, 200mA", "Tolerance": "N/A", "Package/Footprint": "TO-92", "Technology": "Silicon", "Applications/Notes": "General switching"}, {"Category": "Transistor", "Subcategory": "BJT", "Part Type": "2N3906 (PNP)", "Value/Rating": "40V, 200mA", "Tolerance": "N/A", "Package/Footprint": "TO-92", "Technology": "Silicon", "Applications/Notes": "General switching"}, {"Category": "Transistor", "Subcategory": "MOSFET", "Part Type": "IRLZ44N (N-Channel)", "Value/Rating": "55V, 47A", "Tolerance": "N/A", "Package/Footprint": "TO-220", "Technology": "Power MOSFET", "Applications/Notes": "High-power switching"}, {"Category": "Transistor", "Subcategory": "MOSFET", "Part Type": "SI2301 (P-Channel)", "Value/Rating": "20V, 3.6A", "Tolerance": "N/A", "Package/Footprint": "SOT-23", "Technology": "Power MOSFET", "Applications/Notes": "Low-side/high-side switching"}, {"Category": "Integrated Circuit", "Subcategory": "Microcontroller", "Part Type": "ATmega328P", "Value/Rating": "20MHz, 32KB Flash", "Tolerance": "N/A", "Package/Footprint": "TQFP, DIP", "Technology": "8-bit AVR", "Applications/Notes": "Arduino boards"}, {"Category": "Integrated Circuit", "Subcategory": "Microcontroller", "Part Type": "PIC16F877A", "Value/Rating": "20MHz, 8KB Flash", "Tolerance": "N/A", "Package/Footprint": "PDIP, QFN", "Technology": "8-bit PIC", "Applications/Notes": "Embedded control"}, {"Category": "Integrated Circuit", "Subcategory": "Op Amp", "Part Type": "LM358", "Value/Rating": "±3V to ±32V", "Tolerance": "N/A", "Package/Footprint": "SOIC-8, DIP-8", "Technology": "Dual Op Amp", "Applications/Notes": "Signal conditioning"}, {"Category": "Integrated Circuit", "Subcategory": "Voltage Regulator", "Part Type": "7805", "Value/Rating": "5V, 1A", "Tolerance": "±4%", "Package/Footprint": "TO-220", "Technology": "Linear", "Applications/Notes": "Fixed regulator"}, {"Category": "Integrated Circuit", "Subcategory": "Voltage Regulator", "Part Type": "LM1117", "Value/Rating": "3.3V, 800mA", "Tolerance": "±1%", "Package/Footprint": "TO-220, SOT-223", "Technology": "LDO", "Applications/Notes": "Low dropout"}, {"Category": "Connector", "Subcategory": "USB", "Part Type": "USB Type-A", "Value/Rating": "5V, 500mA", "Tolerance": "N/A", "Package/Footprint": "Through-hole", "Technology": "USB 2.0", "Applications/Notes": "Host interface"}, {"Category": "Connector", "Subcategory": "USB", "Part Type": "Micro USB B", "Value/Rating": "5V, 1A", "Tolerance": "N/A", "Package/Footprint": "SMD", "Technology": "USB 2.0", "Applications/Notes": "Power/data"}, {"Category": "Connector", "Subcategory": "Header", "Part Type": "2x5 Pin Header", "Value/Rating": "N/A", "Tolerance": "N/A", "Package/Footprint": "Through-hole", "Technology": "Gold plating", "Applications/Notes": "Programming"}, {"Category": "Crystal/Oscillator", "Subcategory": "Crystal", "Part Type": "16 MHz HC-49/U", "Value/Rating": "16 MHz ±20ppm", "Tolerance": "±20ppm", "Package/Footprint": "Through-hole", "Technology": "Quartz", "Applications/Notes": "Microcontroller clock"}, {"Category": "Crystal/Oscillator", "Subcategory": "Oscillator", "Part Type": "32.768 kHz SMD", "Value/Rating": "32.768 kHz", "Tolerance": "±20ppm", "Package/Footprint": "SMD", "Technology": "Quartz", "Applications/Notes": "RTC clock"}, {"Category": "Sensor", "Subcategory": "Temperature", "Part Type": "LM35", "Value/Rating": "-55°C to 150°C", "Tolerance": "±0.5°C", "Package/Footprint": "TO-92, SOIC-8", "Technology": "Analog IC", "Applications/Notes": "Precise temp sensing"}, {"Category": "Sensor", "Subcategory": "Motion", "Part Type": "ADXL345", "Value/Rating": "±2g/±4g/±8g/±16g", "Tolerance": "N/A", "Package/Footprint": "LGA", "Technology": "MEMS", "Applications/Notes": "3-axis accelerometer"}, ] df = pd.DataFrame(data) import ace_tools as tools; tools.display_dataframe_to_user(name="Circuit Board Parts Reference", dataframe=df) Result Category Subcategory Part Type Value/Rating Tolerance \ 0 Resistor Fixed Metal Film 1Ω - 10MΩ ±1%, ±5% 1 Resistor Fixed Carbon Film 1Ω - 10MΩ ±5%, ±10% 2 Resistor Variable Potentiometer 1kΩ - 1MΩ ±20% 3 Resistor Sensor Thermistor (NTC) 10kΩ @ 25°C ±1% 4 Resistor Sensor LDR 10kΩ @ dark ±30% Package/Footprint Technology Applications/Notes 0 0805, 0603, 1206 Thin Film General purpose, low noise 1 Through-hole, 1206 Thick Film Cost-sensitive applications 2 Through-hole Cermet User-adjustable 3 Through-hole, SMD Ceramic Temperature sensing 4 Through-hole Photoresistive Light sensing