BBRouter 发布支持 3D 面包板仿真的 Ben Eater SAP-1 计算机及 MCP 服务
Show HN: BBRouter – Ben Eater's 8-bit computer, simulated on 3D breadboards
BBRouter 推出了基于 3D 面包板仿真的 Ben Eater SAP-1 8 位计算机项目,并支持通过内置的 MCP 服务让 Claude 等 AI 应用直接打开、修改和运行电路。
BBRouter
bbrouter/Ben Eater SAP-1 Public Star 0 Fork 0
Find Ctrl K
Community
?
BBRouter
Opening the layout…
Reg A––
ALU Add Σ––
Reg B––
PC 161––
Bus––
RAM Output––
RAM Data––
RAM Address––
RAM program
init:
0 LDI 0x1 ; Load 1 in register A
1 STA 0xE ; Store register A in var x
2 LDI 0x0 ; Store 0 in register A
loop:
3 OUT ; Output register A value on the display
4 ADD 0xE ; Add register A with var y
5 STA 0xF ; Store the result in var z
6 LDA 0xE ; Load var y in register A
7 STA 0xD ; Store register A in var x
8 LDA 0xF ; Load var z in register A
9 STA 0xE ; Store register A in var y
10 LDA 0xD ; Load var z in register A
11 JC init ; If the carry flag is set, jump to 'init' (0)
12 JMP loop ; If the carry flag is not set, jump to 'loop' (3)
variables:
13 NOP ; x (0xD)
14 NOP ; y (0xE)
15 NOP ; z (0xF)
Fit Grid Sheets
Sheet ·Up↑Back to main sheet Main sheet
No schematic yet. Add parts on the board or from the panel, and wire them: the board and the schematic keep in step.
Cancel
×
Add
Wire Notes Parts
Wire Net label Sheet Text Divider
‹ Parts No chip matches.
Parts
Chip DIP switch Resistor Diode Trimmer LED RGB LED Push button Ceramic cap Electrolytic 7-segment LED matrix RGB matrix Character LCD Slide switch Tact switch On/off switch Transistor LED module Power supply Signal generator Buzzer Servo Label Oscillator Crystal VGA monitor PS/2 keyboard Serial port Arduino Nano
Boards
- Full+830 pts · 165×53
- Full 630 pts · 165×38
- Half+400 pts · 81×53
- Half 300 pts · 81×38
- Mini 170 pts · 48×38
- Power rail 100 pts · 165×8
- Power rail ½ 50 pts · 81×8
- Arduino Uno 32 pts · 69×53
- Arduino Mega 86 pts · 102×53
Menu
Build Schematic
Power Running Paused⏸⏭AI Simulating
Connecting…Saved Saving…Offline Not saved
·Versions·Tour
Share⋯
Ben Eater SAP-1, a public project of @bbrouter’s Read-only: fork it to change it.
Ctrl K ↑ ↓ to choose · Enter to run · Esc to close
× Restart tour
Keyboard shortcuts
Anywhere
⌘K Find an action, part, project or jumper P Add a part or board (the library)?These shortcuts⌘Z Undo⌘U · ⇧⌘Z Redo Esc Cancel, deselect, close
Tools
V Select and move W Draw wires N Pin notes
Looking around
Right-drag Orbit Middle-drag Pan⇧ right-drag Pan Mouse wheel Zoom Two fingers Pan⌥ two fingers Orbit Pinch Zoom
Selection
⇧-click Add to or take from the selection⇧-drag Select everything in a box⌘A Select everything R · ⇧R Rotate (⇧: the other way)⌥-drag Move a part, its leads kept in their holes⌘C · ⌘V Copy, paste⌘D Duplicate H Hide what's selected (or show it again)⌫Delete
Wiring
Click a hole Start, then finish, a wire⇧-click · right-click Turn the wire there⌫Undo the last turn
Schematic
V · W · L Select, wires, net labels P · A Power labels, add a symbol R · ⇧R Rotate counter-clockwise (⇧: clockwise)X · Y Flip left to right, top to bottom E · double-click Its details D Its datasheet/While drawing: the corner the other way`Then a click: light that net Right-click What can be done with what's under it F Fit it all in view (the Home key too)⌘F Find a net or a part G Grid on or off S · H · ⌘L A sheet, a hierarchical label, a global label T · I A text, a divider (a click a corner; Enter ends it)⌘H The sheets, to go to one⇟ · ⇞The next sheet, the previous one (Page Down, Page Up)⌥⌫Back up to the sheet it's in
Workspace Build Schematic Schematic Project Project settings…Feature this project Import…Export Export YAML Reset state Use this view for link previews Use the default link preview Make it Build instructions Build sheet Bill of materials (CSV)Schematic (SVG)Schematic (PDF)Perma-Proto map Wires for fabrication History Versions…Branch to try a change
Open beside
Unsplit
Examples
Tour Edit the tour… 34 boards · 11,220 tie points · 161 parts · 729 wires
Claude, or another AI app, can open, change and run your projects with you, through BBRouter’s MCP server. Connect it once: it asks you to sign in, then works as you, on your projects only.
MCP server address
https://bbrouter.com/api/mcpCopy
Claude Code
claude mcp add --transport http bbrouter https://bbrouter.com/api/mcpCopy
Then type /mcp in Claude Code, pick bbrouter and choose Authenticate to sign in.
Claude (claude.ai, desktop and mobile)
Settings → Connectors → Add custom connector: name it BBRouter, paste the address and click Add, then Connect and sign in.
Other apps
Any app that takes a remote MCP server (HTTP, with OAuth sign-in): give it the address.
Step by step in the guideConnected apps
Click a button, a part or a hole to point this step at Cancel
Your projects
No projects yet: create one.
New project
Rotate Hide Delete Cancel
3D Top
X-ray Nets Jumpers Notes Controls Scope Displays Labels Sound Warnings Faults Hidden Show all
Selection Nets Notes Controls Faults Build×
Simulation
⏭
Done
← Previous Next →
- Follow Mark done up to here Print Stop building
Group holes
Controls
Nothing to control yet: variable jumpers, hole groups, warnings and the simulation show here.
Notes
Share link Click anything to pin a note to it.
New wire
⋯
Name
Name sticker- [x] At one end - [x] At the other end
Type
Solid core Dupont jumper
Jumper
Fixed Variable
Fixed: part of the circuit; carries the net from one end to the other. Variable: moved by hand (a probe, a control line); breaks the net, so each end stays its own.
States
Gauge
22 24 26 28 30
Colour
Height
−+
Crossings
Bridge Lift
Sections
Netlist
From wires Assign references Import…KiCad EasyEDA EasyEDA Pro SPICE Jumperless
No nets yet: read them from the wiring, import a netlist, or add them and pick their pins.
name more than one part: give each its own Reference, or exports and imports mix them up.
Auto-route- [x] Jumper-kit lengths
Auto-route colours:
- New net
Board
Part
Reference
On the schematic Show it on the schematic Not on the schematic yet Taken off the schematic Restore on schematic Remove from board
Serial monitor Clear
Send
Keyboard
0 parts
Link copied
Stop sharing Close Copy
This link doesn’t open a project any more
Its owner stopped sharing the project, or the link isn’t whole. Ask them for a new one.
Log in Your projects
The supply cut out
OK
× Add boards and chips from the left · W draw wires · right-drag to orbit · ⇧-drag to box-select
×
Power on the circuit: click Power.
Switch the power on to go on
Loading Ben Eater SAP-1…
来源:Hacker News-首页 · bbrouter.com