legacy-circuit-mockups by github/awesome-copilot
npx skills add https://github.com/github/awesome-copilot --skill legacy-circuit-mockups一个用于为复古计算和电子项目创建面包板电路模拟图和可视化示意图的技能。该技能利用 HTML5 Canvas 绘图机制来渲染交互式电路布局,包含 6502 微处理器、555 定时器 IC、EEPROM 和 7400 系列逻辑门等复古组件。
| 组件 | 引脚 | 描述 |
|---|---|---|
| W65C02S | 40 引脚 DIP | 具有 16 位地址总线的 8 位微处理器 |
| 28C256 | 28 引脚 DIP | 32KB 并行 EEPROM |
| W65C22 | 40 引脚 DIP | 通用接口适配器 |
| 62256 | 28 引脚 DIP | 32KB 静态 RAM |
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
| 组件 | 引脚 | 描述 |
|---|---|---|
| NE555 | 8 引脚 DIP | 用于定时和振荡的定时器 IC |
| 7400 | 14 引脚 DIP | 四路 2 输入与非门 |
| 7402 | 14 引脚 DIP | 四路 2 输入或非门 |
| 7404 | 14 引脚 DIP | 六路反相器 |
| 7408 | 14 引脚 DIP | 四路 2 输入与门 |
| 7432 | 14 引脚 DIP | 四路 2 输入或门 |
| 组件 | 描述 |
|---|---|
| LED | 发光二极管(多种颜色) |
| 电阻器 | 限流(可配置阻值) |
| 电容器 | 滤波和定时(陶瓷/电解) |
| 晶振 | 时钟振荡器 |
| 开关 | 拨动开关(锁定式) |
| 按钮 | 瞬时按钮 |
| 电位器 | 可变电阻器 |
| 光敏电阻 | 光敏电阻 |
// 标准面包板网格:20px 间距
const gridSize = 20;
const cellX = Math.floor(x / gridSize) * gridSize;
const cellY = Math.floor(y / gridSize) * gridSize;
// 所有组件遵循此结构:
{
type: 'component-type',
x: gridX,
y: gridY,
width: componentWidth,
height: componentHeight,
rotation: 0, // 0, 90, 180, 270
properties: { /* 组件特定数据 */ }
}
// 导线连接格式:
{
start: { x: startX, y: startY },
end: { x: endX, y: endY },
color: '#ff0000' // 导线颜色编码
}
| 引脚 | 名称 | 功能 |
|---|---|---|
| 1 | GND | 地线 |
| 2 | TRIG | 触发 |
| 3 | OUT | 输出 |
| 4 | RESET | 低电平有效复位 |
| 5 | CTRL | 控制电压 |
| 6 | THR | 阈值 |
| 7 | DIS | 放电 |
| 8 | Vcc | 电源 |
| 引脚 | 名称 | 功能 |
|---|---|---|
| 8 | VDD | 电源 |
| 21 | VSS | 地线 |
| 37 | PHI2 | 系统时钟输入 |
| 40 | RESB | 低电平有效复位 |
| 34 | RWB | 读/写信号 |
| 9-25 | A0-A15 | 地址总线 |
| 26-33 | D0-D7 | 数据总线 |
| 引脚 | 名称 | 功能 |
|---|---|---|
| 14 | GND | 地线 |
| 28 | VCC | 电源 |
| 20 | CE | 片选 |
| 22 | OE | 输出使能 |
| 27 | WE | 写使能 |
| 1-10, 21-26 | A0-A14 | 地址输入 |
| 11-19 | I/O0-I/O7 | 数据总线 |
非稳态模式:
单稳态模式:
| 颜色 | 用途 |
|---|---|
| 红色 | +5V / 电源 |
| 黑色 | 地线 |
| 黄色 | 时钟 / 定时 |
| 蓝色 | 地址总线 |
| 绿色 | 数据总线 |
| 橙色 | 控制信号 |
| 白色 | 通用 |
| 颜色 | 正向电压 |
|---|---|
| 红色 | 1.8V - 2.2V |
| 绿色 | 2.0V - 2.2V |
| 黄色 | 2.0V - 2.2V |
| 蓝色 | 3.0V - 3.5V |
| 白色 | 3.0V - 3.5V |
组件: 红色 LED、220Ω 电阻器、跳线、电源
步骤:
组件: NE555、LED、电阻器、电容器
步骤:
| 问题 | 解决方案 |
|---|---|
| LED 不亮 | 检查极性 |
| 电路不通电 | 验证电源轨连接 |
| IC 不工作 | 检查 VCC 和 GND 引脚连接 |
| 555 不振 | 验证阈值/触发电容器接线 |
| 微处理器卡住 | 检查 RESB 在复位脉冲后是否为高电平 |
详细的组件规格可在捆绑的参考文件中找到:
每周安装次数
7.5K
代码仓库
GitHub 星标数
26.7K
首次出现
Jan 22, 2026
安全审计
安装于
gemini-cli7.3K
codex7.3K
opencode7.3K
github-copilot7.3K
cursor7.3K
claude-code7.3K
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.
| 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 |
| 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 |
| 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 |
// Standard breadboard grid: 20px spacing
const gridSize = 20;
const cellX = Math.floor(x / gridSize) * gridSize;
const cellY = Math.floor(y / gridSize) * gridSize;
// 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 connection format:
{
start: { x: startX, y: startY },
end: { x: endX, y: endY },
color: '#ff0000' // Wire color coding
}
| 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) |
| 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 |
| 26-33 | D0-D7 | Data bus |
| Pin | Name | Function |
|---|---|---|
| 14 | GND | Ground |
| 28 | VCC | Power supply |
| 20 | CE | Chip enable (active-low) |
| 22 | OE | Output enable (active-low) |
| 27 | WE | Write enable (active-low) |
| 1-10, 21-26 | A0-A14 | Address inputs |
| 11-19 | I/O0-I/O7 | Data bus |
Astable Mode:
Monostable Mode:
| Color | Purpose |
|---|---|
| Red | +5V / Power |
| Black | Ground |
| Yellow | Clock / Timing |
| Blue | Address bus |
| Green | Data bus |
| Orange | Control signals |
| White | General purpose |
| Color | Forward Voltage |
|---|---|
| Red | 1.8V - 2.2V |
| Green | 2.0V - 2.2V |
| Yellow | 2.0V - 2.2V |
| Blue | 3.0V - 3.5V |
| White | 3.0V - 3.5V |
Components: Red LED, 220Ω resistor, jumper wires, power source
Steps:
Components: NE555, LED, resistors (10kΩ, 100kΩ), capacitor (10µF)
Steps:
| Issue | Solution |
|---|---|
| LED doesn't light | Check polarity (anode to +, cathode to -) |
| Circuit doesn't power | Verify power rail connections |
| IC not working | Check VCC and GND pin connections |
| 555 not oscillating | Verify threshold/trigger capacitor wiring |
| Microprocessor stuck | Check RESB is HIGH after reset pulse |
Detailed component specifications are available in the bundled reference files:
Weekly Installs
7.5K
Repository
GitHub Stars
26.7K
First Seen
Jan 22, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
gemini-cli7.3K
codex7.3K
opencode7.3K
github-copilot7.3K
cursor7.3K
claude-code7.3K
97,600 周安装