logoalt Hacker News

Diode – Build, program, and simulate hardware

419 pointsby rossantlast Friday at 10:14 PM92 commentsview on HN

Comments

dgxyztoday at 10:24 AM

I appreciated that smoke comes out of the battery if you short it :)

Edit: I am ex EE. I will note that it's horrible using this view. It is marginally more horrible than using breadboards in reality. Schematics exist because reality tends to suck or have inconsistencies. For example TO-99 packages come in different pin orders, so 2N3904 has the opposite order to a BC547. Also breadboards tend not to have full length bus bars depending on vendors. At least though in this form it's an ideal representation though which doesn't have parasitic capacitors, inductors, dodgy contacts and no ground plane all over it.

It is good fun though :)

Groxxtoday at 9:35 PM

- click simulate in the default "push button to turn on LED" demo

- clock advances

- voltage around the LED slowly rises to infinity for some reason

er.

paulgbtoday at 2:50 PM

I remember following this at the time! FYI it was "shut down" (kept online but no further development) two years ago (https://x.com/KennethCassel/status/1620500575183073280)

> Decided to shutdown Diode. (For now the site is live, I'll likely open-source the code in case anyone wants to take the baton and run)

Kenneth is now working on RMFG (https://www.rmfg.com/)

seanthemontoday at 10:35 AM

A more mature version of this is "CRUMB" found on steam, it costs money but it's got a lot of great features.

show 1 reply
svennidaltoday at 9:18 AM

Looks great, but pretty difficult to work with. Would be nice to be able to switch to top view to see more clearly where you're plugging things.

show 2 replies
KeplerBoytoday at 11:05 AM

Not a fan. The standard schematic abstraction is great and actually helps us parse circuits.

Don't add unnecessary complexity just because AIs are good at vibecoding threejs demos (edit: even if this particular demo seems to predate vibecoding and was likely used for training instead of being the product of inference).

show 4 replies
agcattoday at 5:14 PM

This is so damn cool. I remember 10-12 years ago i used to teach kids to do these things manually. This is a great product for kids to experiment and then run it real life on their kits.

1e1atoday at 12:26 PM

I feel like the fade-in animation when starting/stopping the simulation takes too long. Also, I think it would be helpful if the currently connected row was highlighted when dragging a pin.

samuelbeektoday at 3:32 PM

I'm working on a similar project, it's called schematik.io and you can use it to generate hardware projects (schematics, components lists, code, everything). Love the 3d viewer they've done here.

hippichtoday at 1:49 PM

Are there similar solutions without 3d view? I want to get a simulator that can show me what is going in the circuit, ideally slowed down a lot. For example I was making a dongle with resistor and capacitor which was delivering a pulse-short (i.e. removing power for a short period of time instead of delivering an impulse) and while I was able to confirm overall idea with some online simulator, dialing in capacitance and resistance required physically switching components. Ideally I want to be able simulate such transient effects and arrive at specific numbers ready to be soldered.

And I want it to be free/open-sourse ideally :)

show 5 replies
lasgawetoday at 6:14 PM

Years ago, around 10-12 years back, our Windows XP PC had software similar to this. Dont remember the name. I used to spend hours experimenting with it. haha Nostalgia.

antimony51today at 2:38 PM

I could not sign up, because "email rate limit exceeded" but i was wondering if it had a feature to probe the voltage at a certain node.

ge96today at 3:52 PM

Damn the 3D graphics look great

This would be useful for opensource hardware projects (aimed at beginners) to literally see how things are wired together. I'm still not at the schematic phase myself. But I use MS Paint wiring diagrams.

OMG the wires flex, damn

show 1 reply
wasmainiactoday at 12:21 PM

This was done before, years ago, but in 2D. I forget what it was called. It was like an LT Spice clone with better UX.

show 1 reply
PunchyHamstertoday at 9:33 AM

the 3D look is cool but makes it harder to put stuff together

krupantoday at 1:41 PM

Nice! You can play Electroboom without actually getting shocked. If you do want the real world experience you can get bags full of components on Amazon for pretty cheap

show 1 reply
fileyfood500today at 12:20 PM

Interesting if there could be automated circuit designs through it

fercircularbuftoday at 9:36 AM

This is really terrific!!!

zkmontoday at 9:22 AM

Super cool. Wonder if we can input the circuit as code.

show 2 replies
tamimiotoday at 7:13 PM

I want an AI that I throw the simulation and it design the PCB and all verification.

show 1 reply
bandramitoday at 10:33 AM

OK the smoke was really funny

00zer00today at 1:04 PM

Nice, reminds me of https://wokwi.com/ .

throwaway290today at 2:54 PM

Black screen with "Application error: a client-side exception has occurred (see the browser console for more information)."

NooneAtAll3today at 9:20 AM

lacks exception catching for when webgl is disabled

dorongrinsteinlast Friday at 10:28 PM

wow. looks amazing

luispatoday at 5:04 PM

this is dope

sschuellertoday at 12:28 PM

Lol, it simulates magic smoke as well.

shaknatoday at 10:19 AM

Holy requests, batman.

... Why so many requests for a static asset?

show 1 reply
umairnadeem123today at 8:37 PM

[dead]

lm28469today at 11:33 AM

[flagged]

show 2 replies
dirtytoken7today at 6:45 PM

[flagged]

show 1 reply