Chuyển đến nội dung
Skillpedia
Hình ảnh và biểu tượng40k · #7269

legacy-circuit-mockups

Skill này làm gì

Công cụ này tạo các bản vẽ trực quan của mạch điện tử, như những mạch lắp trên breadboard. Nó hữu ích để lên kế hoạch và thể hiện cách các linh kiện như bộ vi xử lý cũ và các chip khác kết nối với nhau.

Khi nào nên dùng

  • ✓Khi bạn muốn lên kế hoạch cho một mạch điện tử.
  • ✓Khi bạn muốn hình dung cách lắp ráp một máy tính cổ.
  • ✓Khi bạn cần sơ đồ của một mạch cụ thể.

Liên kết skill

https://github.com/github/awesome-copilot/blob/main/skills/legacy-circuit-mockups/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/github/awesome-copilot/blob/main/skills/legacy-circuit-mockups/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Tạo sơ đồ một mạch đơn giản gồm đèn LED, điện trở và pin.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Công cụ dùng hệ thống lưới để đặt linh kiện và vẽ các đường nối thể hiện kết nối giữa chúng. Nó hiểu cách các linh kiện đời cũ, như bộ vi xử lý 6502, được kết nối.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

Legacy Circuit Mockups

A skill for creating breadboard circuit mockups and visual diagrams for retro computing and electronics projects. This skill leverages HTML5 Canvas drawing mechanisms to render interactive circuit layouts featuring vintage components like the 6502 microprocessor, 555 timer ICs, EEPROMs, and 7400-series logic gates.

When to Use This Skill

  • User asks to "create a breadboard layout" or "mockup a circuit"
  • User wants to visualize component placement on a breadboard
  • User needs a visual reference for building a 6502 computer
  • User asks to "draw a circuit" or "diagram electronics"
  • User wants to create educational electronics visuals
  • User mentions Ben Eater tutorials or retro computing projects
  • User asks to mockup 555 timer circuits or LED projects
  • User needs to visualize wire connections between components

Prerequisites

  • Understanding of component pinouts from bundled reference files
  • Knowledge of breadboard layout conventions (rows, columns, power rails)

Supported Components

Microprocessors & Memory

Component Pins Description
W65C02S 40-pin DIP 8-bit microprocessor with 16-bit address bus
28C256 28-pin DIP 32KB parallel EEPROM
W65C22 40-pin DIP Versatile Interface Adapter (VIA)
62256 28-pin DIP 32KB static RAM

Logic & Timer ICs

Component Pins Description
NE555 8-pin DIP Timer IC for timing and oscillation
7400 14-pin DIP Quad 2-input NAND gate
7402 14-pin DIP Quad 2-input NOR gate
7404 14-pin DIP Hex inverter (NOT gate)
7408 14-pin DIP Quad 2-input AND gate
7432 14-pin DIP Quad 2-input OR gate

Passive & Active Components

Component Description
LED Light emitting diode (various colors)
Resistor Current limiting (configurable values)
Capacitor Filtering and timing (ceramic/electrolytic)
Crystal Clock oscillator
Switch Toggle switch (latching)
Button Momentary push button
Potentiometer Variable resistor
Photoresistor Light-dependent resistor

Grid System

// Standard breadboard grid: 20px spacing
const gridSize = 20;
const cellX = Math.floor(x / gridSize) * gridSize;
const cellY = Math.floor(y / gridSize) * gridSize;

Component Rendering Pattern

// All components follow this structure:
{
  type: 'component-type',
  x: gridX,
  y: gridY,
  width: componentWidth,
  height: componentHeight,
  rotation: 0,  // 0, 90, 180, 270
  properties: { /* component-specific data */ }
}

Wire Connections

// Wire connection format:
{
  start: { x: startX, y: startY },
  end: { x: endX, y: endY },
  color: '#ff0000'  // Wire color coding
}

Step-by-Step Workflows

Creating a Basic LED Circuit Mockup

  1. Define breadboard dimensions and grid
  2. Place power rail connections (+5V and GND)
  3. Add LED component with anode/cathode orientation
  4. Place current-limiting resistor
  5. Draw wire connections between components
  6. Add labels and annotations

Creating a 555 Timer Circuit

  1. Place NE555 IC on breadboard (pins 1-4 left, 5-8 right)
  2. Connect pin 1 (GND) to ground rail
  3. Connect pin 8 (Vcc) to power rail
  4. Add timing resistors and capacitors
  5. Wire trigger and threshold connections
  6. Connect output to LED or other load

Creating a 6502 Microprocessor Layout

  1. Place W65C02S centered on breadboard
  2. Add 28C256 EEPROM for program storage
  3. Place W65C22 VIA for I/O
  4. Add 7400-series logic for address decoding
  5. Wire address bus (A0-A15)
  6. Wire data bus (D0-D7)
  7. Connect control signals (R/W, PHI2, RESB)
  8. Add reset button and clock crystal

Component Pinout Quick Reference

555 Timer (8-pin DIP)

Pin Name Function
1 GND Ground (0V)
2 TRIG Trigger (< 1/3 Vcc starts timing)
3 OUT Output (source/sink 200mA)
4 RESET Active-low reset
5 CTRL Control voltage (bypass with 10nF)
6 THR Threshold (> 2/3 Vcc resets)
7 DIS Discharge (open collector)
8 Vcc Supply (+4.5V to +16V)

W65C02S (40-pin DIP) - Key Pins

Pin Name Function
8 VDD Power supply
21 VSS Ground
37 PHI2 System clock input
40 RESB Active-low reset
34 RWB Read/Write signal
9-25 A0-A15 Address bus

…

Câu hỏi thường gặp

Công cụ hỗ trợ những linh kiện nào?

Nó hỗ trợ các linh kiện như bộ vi xử lý 6502, chip định thời 555, bộ nhớ EEPROM, chip nhập/xuất VIA và các cổng logic dòng 7400, cùng với đèn LED, điện trở và nút nhấn.

Công cụ biết đặt linh kiện ở đâu bằng cách nào?

Nó dùng một hệ thống lưới, tương tự breadboard, để định vị linh kiện và vẽ các kết nối giữa chúng.

Tôi có thể tạo mọi loại mạch không?

Công cụ tập trung vào các mạch đời cũ và cụ thể, như những mạch dùng trong máy tính retro hoặc dự án với chip 555. Các mạch rất hiện đại hoặc phức tạp có thể chưa được hỗ trợ đầy đủ.

Chi tiết

Mô tả gốc của tác giả

Generate breadboard circuit mockups and visual diagrams using HTML5 Canvas drawing techniques. Use when asked to create circuit layouts, visualize electronic component placements, draw breadboard diagrams, mockup 6502 builds, generate retro computer schematics, or design vintage electronics projects. Supports 555 timers, W65C02S microprocessors, 28C256 EEPROMs, W65C22 VIA chips, 7400-series logic

repo: github/awesome-copilot

Độ phổ biến

Sao GitHub
40k
Vị trí xếp hạng
#7269
Giấy phép
MIT
Cập nhật
15/10/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự