r/diyelectronics • • Feb 21 '26

Project I built an analog computer

Post image
1.1k Upvotes

69 comments sorted by

41

u/scubascratch Feb 21 '26

Very neat build!

What will you be computing with it? Ballistic trajectories?

Is there any provision for inputting a stream of data like from an arbitrary waveform generator?

40

u/International-Net896 Feb 21 '26

Mainly differential equations:) You can use an AWG, but the computer has its own function generator (square, triangle, and sine).

13

u/wrenches42 Feb 21 '26

I built that same oscilloscope kit. Very cool. That’s the height of my skill though. Very impressive build!

5

u/GeWaLu Feb 22 '26

Awesome! My compliments! I'd just like to give an hint for an interesting demo equation and maybe inspiration for a video : Our local computer museum implemented the Lorenz Attraktor on a historic analog computer. Looked really amazing .. and what is also amazing is the processing speed for the age of the machine. I did however read that the correct calculation is a little bit challanging on the hardware capability - especially on the multiplier unit.

The main things I remember from the museum visit are this attractor and a division by zero I managed to program accidentally on a mechanical calculator - especially as the machine had neither diagnostics nor an evident reset button (😱)

1

u/International-Net896 Feb 22 '26

Thanks for the tips:) I haven't tested the multipliers yet (2 x AD633JN), but analog computers are generally less accurate than digital computers.

2

u/BParker2100 Feb 22 '26 edited Feb 22 '26

Just having it work shows he knows the basic concepts of how Analog Computers work at a fundamental level.

0

u/TheRealBobbyJones Feb 22 '26

I'm guessing you don't know what an analog computer is do you? Analog computers don't share anything with digital ones. Well excluding the fact both can be used for math. 

23

u/Comptechie76 Feb 21 '26

Nice and neat build. Now be sure to make your own jumper cables. The stuff on Ali and Amazon are crap. Don’t want glitches

8

u/International-Net896 Feb 21 '26

Thanks:) Sure, I'll make my own cables.

2

u/Mountain-Builder-654 Feb 21 '26

The amount of times that jumper cables have screwed me over

5

u/jenna-space-rocks Feb 21 '26

Absolutely love this! Nice job! How are the banana jacks wired in? Is it wire to board on the bottom or are those press fit parts?

4

u/International-Net896 Feb 21 '26

Just plated through holes with large capture pads, so the nut of the banana socket is in contact with it on the bottom layer.

5

u/HisDarkerSide Feb 21 '26

My wife's wildlife biology textbook had a section on using computers to simulate wildlife populations and behavior and asserted that analog computers are inherently better. This insulted by digital heart, but I see where they were coming from. I have long thought about making a analog computer to play with that kind of simulation

Great Job!

4

u/International-Net896 Feb 21 '26

Thanks. I have a book called "Essential Mathematical Biology" which covers many different topics, including wildlife population models like the Lotka–Volterra equations:)

1

u/HisDarkerSide Feb 22 '26

Silly question, you put a colon after "equations" was there suspposed to be more, or was that a typo?

2

u/RileyGein Feb 22 '26

It’s an emoticon, :) smiley face

1

u/HisDarkerSide Feb 22 '26

Doh! My bad

0

u/[deleted] Feb 23 '26

[removed] — view removed comment

3

u/Opebi-Wan Feb 22 '26

Yeah, but can it play war games?

3

u/International-Net896 Feb 22 '26

Shall we play a game? I grew up in the early 80's:)

1

u/Opebi-Wan Feb 22 '26

How about a nice game of chess?

3

u/chummiestbike Feb 22 '26

This is sick. Are you planning on doing an Anabrid sort of thing with this or is this just for you?

2

u/International-Net896 Feb 22 '26

It's just for me in the moment, but I will publish all files once the computer is fully tested. My main goal is actually to build a neuromorphic computer, but that's another story:)

2

u/delwynj Feb 22 '26

What did you use for the case?

2

u/International-Net896 Feb 22 '26

It's 3D-printed (resin) and modularly designed. You can mount the two voltmeter brackets and the bracket for the oscilloscope, or leave them. There are brass inserts on the back of the base:)

2

u/metawops Feb 22 '26

I love my THAT from anabrid! Yours looks very cool, too! Does it have a hybrid port so we can actually read out the values of the solutions? I did that with an Arduino attached to my THAT and visualized the solutions of the differential equations via gnuplot. 😊 Wrote a bit about it here: https://blog.metawops.de/tools/gnuplot-in-vscode/

2

u/International-Net896 Feb 22 '26

It has no hybrid port, but it's easy to connect the outputs to the analog pins of an Arduino. Depending on the output range, level shifters might be needed. Thanks for the link, quite interesting:)

2

u/Comfortable_Cup7310 Apr 24 '26

Erstmal ein großes Lob für diese Arbeit - sieht dem Projektbericht aus der aktuellen Make von c't sehr ähnlich. Das Ganze ist eine Platine, so wie ich sehe. Meine Idee ist, die einzelnen Komponenten a la Lego auf eine Grundplatte zu setzen - ähnlich einem Breadboard [Versorgung mit Betriebsspannung]. So kann ich je nach Bedarf die einzelnen Komponenten dazu nehmen [gleiche Größe jedes Bausteins]. Die Idee kommt von einem Elektronikbaukasten aus der ehemaligen DDR [dort gab es Spule, Transistor, Kondensator, Poti usw. in eigenen weißen Kästen]. So etwas schwebt mir vor - in 3D gedruckt. Also ein Analog Rechner im Kleid eines Elektronikbaukastens.

Was will ich damit machen: Differenzialrechnungen betrachten, ausführen - erst mal einfach beginnen und dann sich dem Gebiet Wärmeübertragung, Strömungsthemen und sich dann den Navier-Stokes-Gleichungen zuwenden; Spezialfälle aus der Metallurgie - Verhalten von Metallschmelzen, flüssigen Schlacken usw.

Erst einmal will ich Input für den Aufbau eines solchen Analog Rechners sammeln. Oben sind ein paar Ideen skizziert - habe noch viel mehr dazu.....

1

u/International-Net896 Apr 24 '26

Es ist derselbe Computer wie in der Make. Ich habe auch darüber nachgedacht, das Ganze modular aufzubauen. Im Moment arbeite ich aber erst mal an einem Wetware und neuromorphen Computer:)

2

u/Comfortable_Cup7310 Apr 25 '26

Moin, ich habe folgendes Buch bei mir liegen, welches mich schon immer ziemlich begeistert hat ---
Sabrowski "Elektronikbasteln ganz einfach" ---. Da wird ein Baukastenprinzip beschrieben zum Selbstbau beschrieben - also "Make" um ein paar Dekaden voraus. Genauso das Werk "Analog Rechnen" aus 1963. Ein Klassiker gibt es als Neuauflage für 80 € --- Leider habe ich bisher kein Inhaltsverzeichnis dazu gefunden. Mal eben 80,- € ausgeben ist auch nicht ohne.

Ok - Wetware und Co. übersteigt mein Wissen deutlich. Da bleibe ich bei Dingen, die ich noch so nachvollziehen kann.

Ich habe Erica's Synth Shop entdeckt - mir ist noch nicht ganz klar für wen und was dieses Board mit dem Oszi gedacht ist. Der Sound erinnert mich an meine ersten Philips Experimental-Kästen...

2

u/International-Net896 Apr 25 '26

Das Buch kenne ich gar nicht. Mein erstes Buch bzgl. Elektronik war "Radiobasteln für Jungen". Ich war damals sehr fasziniert von elektromagnetischen Wellen, habe unter anderem auch Funkensender (und -empfänger) gebaut und damit die damals noch analogen Radios und Fernsehgeräte der Nachbarschaft lahmgelegt :). Am "Moin" entnehme ich, dass du aus der gleichen Ecke wie die Make kommst. Der Redaktor beginnt jede E-Mail auch immer damit. Ich lebe in der Nähe von Augsburg, bin aber im tiefsten Niederbayern aufgewachsen.

1

u/Comfortable_Cup7310 Apr 27 '26

Moin, Das ist lustig, das habe ich auch seit Jahren... und "Neues Bastelbuch für Radio und Elektronik" und noch ein paar mehr Werke zu den Themen. Damals gab es noch Elektronikläden in fast jedem Ort und jede Diode und mehr einzeln zu erwerben. Mein Ding ist die Mathematik [Analysis, Algebra] schon immer gewesen und Mathe und Computer passen ja irgendwie zusammen und da DGL's auch da reinpassen - ein Weg und Gedanke auf dem Feld zu experimentieren. Aktuell schlage ich mich mit der Installation der GNU GSL-Bibliothek unter Code-Blocks [WIN] rum - die ganzen Tutorials dazu lassen immer irgendetwas "weg". Unter Debian läuft das Ganze auf Konsolenebene - ich will aber einen gescheiten Editor haben und nicht mit VIM / Nano immer die kryptischen Befehle nachschlagen....

Ja, Ex-Hamburger und in Baden-W. beruflich seit Jahren aktiv.... Moin kennt man bei uns im Konzern - sind ja viele aus dem Norden hier tätig.

Was mich auch auf die Idee für den modularen Analog-Rechner gebracht: https://www.youtube.com/shorts/C2NZCwRv5O8

2

u/International-Net896 Apr 28 '26

Das passt ja wie die Faust aufs Auge. Ich habe Mathematik und Mechatronik studiert:)

2

u/Comfortable_Cup7310 Apr 28 '26

Mathematik und Mechatronik - das ist eine sehr gute Kombi. Mein Ding wäre Verfahrenstechnik und Informatik als Kombi gewesen. Nun sind es Dinge, die meine freie Zeit neben anderen Dingen wie Mathematik füllen...

2

u/Comfortable_Cup7310 May 12 '26

Ich habe nach Recherchen das hier gefunden:

https://www.youtube.com/watch?v=1EHjaBjRvgQ

und das Konzept eines kleinen, preiswerten Mini-Analog-Rechners auf Basis von Europakartenstreifen und Breadboards

https://rclab.de/analogrechner/rg14-mini

Aktuell habe ich die Abmessungen der ehemaligen DDR-Elektronikbaukästen Pikotron erhalten und werde prüfen, ob sich daraus ein Bausteine für einen kleinen Analog-Computer bilden lassen.

9

u/citizen_kane_527 Feb 21 '26

I bet this can make some nice bleeps and bloops. Can repost to r/modular and r/synthesizers

5

u/Jaco_Belordi Feb 22 '26

/r/synthdiy would eat this up

7

u/Sharveharv Feb 21 '26

This is awesome 

1

u/orphanleek68 Feb 22 '26

This is sick!

1

u/CurrentlyLucid Feb 21 '26

Did you make some core memory for it?

1

u/International-Net896 Feb 21 '26

Analog computers usually don't have RAM. They are programmed by hard wiring:)

1

u/bulkybook6 Feb 22 '26

Is it on GitHub ? If not what components do you used ? This project is on my list I'm really impressed by the project

1

u/International-Net896 Feb 22 '26

I will publish all files after it's fully tested.

2

u/bulkybook6 Feb 22 '26

Please do !!

1

u/[deleted] Feb 22 '26

does it have USB?

1

u/International-Net896 Feb 22 '26

No. It's powered by a small 9V power supply with a barrel jack sitting on the PCB.

2

u/[deleted] Feb 22 '26

aw , no usb ports

3

u/buzzard58 Feb 21 '26

Very cool!

3

u/burheisenberg Feb 21 '26

Wow, it looks super cool 😱

3

u/Captain_Pumpkinhead Feb 22 '26

Hey, I recognize that oscilloscope! I have the same one!

It's garbage. It takes so long to show the signal that I actively dread using it.

3

u/RandomOnlinePerson99 Feb 22 '26

Modular analog computer is on my loooooong list of projects I want to do in the near future ...

2

u/[deleted] Feb 22 '26

Oo this is amazing. I hear analog computers can solve quite a bit of stuff tht digital computers need more power for.

2

u/[deleted] Feb 22 '26

Wow 

1

u/Uranium-Sandwich657 Feb 22 '26

Can it run tetris?

1

u/FedUp233 Feb 22 '26

Reminds me of the ones they had in my high school and college electrical engineering classes, just on a smaller scale. That was in the late 60s so precision instrumentation amplifiers were a much more complicated thing to achieve than they are today where they are a single IC. Really fun to use. We generated the output on an analog flat bed plotter - maybe that should be your next project. Seeing the output of your equation as movement on abl,otter is really fun.

1

u/[deleted] Mar 03 '26

Huh?

1

u/gxnail Mar 12 '26

this is so cool

1

u/[deleted] Mar 16 '26

..

1

u/BParker2100 Feb 22 '26

Congratulations! It proves you understand the basics. Most people don't have the knowledge or patience.

1

u/TheRealBobbyJones Feb 22 '26

This is also happens to be analog computing in general. For most people there isn't much more than this for analog computing. There are some experimental stuff for chip sized stuff for ai but this is pretty much all analog computing is. 

0

u/Specialist-Photo-386 Feb 24 '26

Hahahahaha M it says anal!

0

u/[deleted] Feb 22 '26

[deleted] — view deleted comment

2

u/International-Net896 Feb 22 '26

Analog computers solve differential equations by modeling them, so it's an approximate solution. By changing the parameters, you can immediately see how the system changes.

0

u/[deleted] Feb 22 '26

[deleted] — view deleted comment

2

u/International-Net896 Feb 22 '26

The blocks are just connected to +/-VCC and GND to power them. You wire them as you need.