Single Board Relay Computer

Поділитися
Вставка
  • Опубліковано 8 лют 2025

КОМЕНТАРІ • 256

  • @redstonedreamer6896
    @redstonedreamer6896 7 років тому +431

    Finally someone posted something that's not just a adder!

    • @tomaszk2242
      @tomaszk2242 5 років тому +23

      Exactly. Understanding adder is fairly achievable, but nobody touches a topic like: actually printing "hello world".

    • @yoshiguy35
      @yoshiguy35 3 роки тому +2

      @Westley Yousef We really don't

    • @Yadobler
      @Yadobler Рік тому +1

      ​@@tomaszk2242to me, printing hello world is still easy - especially if it's just some logic to pump bits into an lcd display
      But the tough part is designing a self sustaining cycle of fetch-decode-execute-i/o
      That's crazy

  • @donaldwycoff4154
    @donaldwycoff4154 5 років тому +75

    Sounded like an old tractor when you adjusted the frequency. Very cool. Reminds me of my youth, plunking away on a KIM-1.

    • @AmirPourkashef
      @AmirPourkashef 5 років тому +3

      More like radioactive dosemeter :3

  • @hrnekbezucha
    @hrnekbezucha 7 років тому +134

    Dude, this is super impressive. I didn't expect this feature-rich instruction set. No big dieal you used silicon for memory and I/O. That would be ridiculously expensive and expansive. Really nice.

  • @MADORCS
    @MADORCS 5 років тому +109

    You're gonna be glad you have this relay computer when Skynet takes over......

    • @MLFranklin
      @MLFranklin 5 років тому +4

      Until this relay computer becomes self-aware...

    • @dshaprin
      @dshaprin 5 років тому +9

      This computer will become skynet

  • @fivefive2433
    @fivefive2433 5 років тому +61

    I saw this video back in 2017 and was really amazed by every single second of it,
    I really liked the idea, so today I'm starting to plan to rebuild a similar thing but with more relays, actually it'll be all relays and no ic's at all, all the way from memory to display decoder,
    After some calculations by now I realized for the memory sizes I decided on, I'll need about 1,664 relays, just for the main memory, and I'm going for it whatever it costs because I know the moment it runs it'll be priceless to me, thank you for the inspiration sir

    • @CharlesJrPike
      @CharlesJrPike 5 років тому +3

      Even the memory? I'm impressed. How are you going to make that part work?

    • @suhailab3634
      @suhailab3634 4 роки тому +1

      Very impressive

    • @Scyth3934
      @Scyth3934 Рік тому +2

      Any updates?

  • @mike0rr
    @mike0rr 6 років тому +194

    Lol everyone complaining about the memory ICs. I just want to see relays multiplex the 7 segment outputs :P
    Very cool. Don't let the haters bring this down. The implementation of the idea is where it's at. A whole computer is ambitious enough with ICs, let alone the work half of a cpu being little magic metal fingers bouncing back and forth. Bad ass.

    • @CharlesJrPike
      @CharlesJrPike 5 років тому +22

      The options for random-access memory that doesn't need semiconductors to read and write calls for things that are either massive, obscenely tedious, require vacuum tubes, or all of the above. I agree they should cut him some slack.

    • @ri-gor
      @ri-gor 4 роки тому +5

      >the work of half of a cpu being little magic metal fingers
      now THAT's counting on your fingers.

  • @BobDiaz123
    @BobDiaz123 Рік тому +3

    I love the fact that you went into detail about the instructions and block diagram.

  • @gavin5861
    @gavin5861 4 роки тому +7

    I'm so happy this exists, I like the idea of seeing a computer run, like when you see a cross section of a motor running but their is just no equivalent. Would look super cool with see-though relay cases!

  • @bzert281
    @bzert281 5 років тому +12

    i just love this! when thinking of "period" memory solutions, core memory comes to mind. Well done, sir.

    • @CharlesJrPike
      @CharlesJrPike 5 років тому +1

      I figured that core memory would need at the very least vacuum tubes to amplify the read pulse. His options are limited. I shudder at the thought of something like thousands of relay latches.

    • @dougaltolan3017
      @dougaltolan3017 Рік тому

      ​@@CharlesJrPike the latches aren't that much of an issue. The fun starts with demuxing the address, and really rolls when you do a walking 0 memory test.

  • @johncherry108
    @johncherry108 7 років тому +17

    I bought one of these computers a few months ago when jhallenworld sold a few. It's an excellent implementation of programming concepts I first came across when I used PDP-8 computers in the 1980s, and I wanted to revisit those good times.
    Unfortunately, because of ill-health I haven't been able to do much, but this latest video has encouraged me to try harder.

    • @youtuuba
      @youtuuba 5 років тому +1

      John Cherry, Joe Allen is still selling these kits on eBay.

  • @priyath86
    @priyath86 5 років тому +11

    Brings back memories of how I used to write assembly code for PIC micro controllers.

    • @technodrome
      @technodrome 5 років тому +2

      I remember having to write a RAM clearing assembly subroutine for PIC32 after soft resets, as the hardware didn't clear RAM.

  • @RoscioTube
    @RoscioTube 5 років тому +31

    In the early 70's I made a 4 bits adder at school, with only relays and small bulb lamps! :)

    • @LouSwan
      @LouSwan 3 роки тому +5

      Wow ! That's so cool ! I currently don't have the material to build any logic gates ,so I'm having fun making a 8 bits adder in Minecraft to learn the theory behind it ^^ !

    • @RyRy2057
      @RyRy2057 3 роки тому +2

      @@LouSwan thats actually super dope i didnt think of that

  • @Jeffrey314159
    @Jeffrey314159 7 років тому +73

    This is a hybrid machine! All of the memory and programming is stored on IC's.
    Nice to hear those relays clicking though.

    • @zosxavius
      @zosxavius 5 років тому +4

      thank you for answering my question. that is what I suspected. I don't think you could do this on a single board without the ICs.

    • @among-us-99999
      @among-us-99999 5 років тому +12

      The CPU is made out of relays though

    • @edgeeffect
      @edgeeffect Рік тому

      So few relays, so much functionality... something has to be amis

  • @MrBanzoid
    @MrBanzoid 5 років тому +4

    This takes me back to my miss-spent youth. We had Burroughs L2000 minicomputers which came with some software that we used. I wanted to write some simple routines like reading punched cards and doing a bit of maths and totals of numbers punched on the cards. I found a pinched paper tape that put the L2000 I to programming mode and I had a card with a list of the op codes with their corresponding hex machine code. The memory was organised in four instructions of four hex characters per word. The instructions were executed in reverse order from each word which was a bit of a headache until I found this out! Manually converting the app codes into hex was a bit a pain but I thought that was how you wrote programs! Imagine my surprise when I was gold that such things as assemblers were available to do this for you! And then high level languages - I thought all my birthdays had one at once. Great video and a wonderful machine!

  • @Narwaro
    @Narwaro 5 років тому +59

    Of course the PC speaker on a relais computer is a coil-driven bell.

  • @Skibidi_Male_X
    @Skibidi_Male_X Рік тому

    I love videos like this. Considering how complicated today's computers are, this is very understandable

  • @blenderbuch
    @blenderbuch 7 років тому +2

    Recently got hooked with a PDP-8 at the vintage computer festival at Berlin and now stumbled upon your site/video. Very fun stuff!

  • @MisterBadNews
    @MisterBadNews 5 років тому +4

    Impressive work, sir! Congratulation! Really amazing that you made all the CPU by relays!

  • @ericwazhung
    @ericwazhung 2 роки тому +8

    The control-bit "horizontal"[?] instruction-encoding is a huge eye-opener for me... Really drives-home how a CPU functions at an internal level. Suddenly I can visualize the different paths in e.g.the ALU, each having a separate "Chip-select."
    [Edit: commented before seeing the diagram later in the video. Well-explained. And using MUXes makes a lot of sense]]
    Never seen nor heard of "control bits" in this manner, so tightly-coupled to the instruction-set (and I have a degree and many years in embedded systems)!
    I wonder what weird instructions this allows for that one might never think to intentionally make or look for... e.g. Compliment A (bitmask), AND B, Shift-Right, output to a port, and store back to B, all in a single instruction! Could be useful for e.g. bitbanging RS-232.
    It looks like a jump could be thrown into that same instruction... Oh how I want to find a use for all that in a single cycle!

    • @ericwazhung
      @ericwazhung Рік тому

      @@someoned16 Intriguing, I'll have to look into that. Thanks!

  • @bukster1
    @bukster1 5 років тому +3

    This is a bit like a single board TEC-1 computer I built in the 80's just without relays. Very interesting work.

  • @amberisvibin3287
    @amberisvibin3287 5 років тому +1

    i would love to hook this thing up to an old serial terminal and just mess around. imagine typing a command, hearing this thing go, then getting a response. sounds magical : )

  • @adamthethird4753
    @adamthethird4753 5 років тому +1

    Wow.
    This makes me so happy. Wish I had found it when it came out.
    Thanks for posting an excellent video!

  • @MegaDroin
    @MegaDroin Місяць тому

    Love the sound of this computer

  • @st3ddyman
    @st3ddyman 5 років тому +3

    That’s beautiful. Great job man. I wish I had found this while you were still selling them.

    • @youtuuba
      @youtuuba 5 років тому +2

      Stephen Eddy, as of December 30, 2019, there were several of these kits for sale on eBay. Joe told me on Christmas that he plans to make the kits available as long as people continue buying them.

  • @javierjp2090
    @javierjp2090 5 років тому +7

    Neat sound. Sounds like the Nostromo computer in Alien.

  • @walknotes
    @walknotes 5 років тому +1

    I like people who made something and really enjoy what he/she made :)

  • @lwilton
    @lwilton 5 років тому

    I just came across this some two years late, but I have to say, that is a really elegant implementation.
    For those complaining that the memory wasn't implemented in relays too, very few if any first generation computers used the same technology for memory and the CPU. Typically a relay computer would have paper tape memory or something equally arcane and hard to duplicate these days.

    • @1FireyPhoenix
      @1FireyPhoenix 5 років тому

      The one I remember was rope core memory

    • @lwilton
      @lwilton 5 років тому

      Rope core or braided wire memory was relatively new compared to a relay machine. The Burroughs B 3500 third generation integrated circuit machine used that for ROM in the 1970s. So did the Apollo guidance computer and a number of others from that general era. But that was a form of ROM, and we are talking RAM here.
      First generation vacuum tube machines used a number of forms of RAM. Flying spot scanner CRTs and mercury delay lines were among the most common, along with drum memory. Of course accounting machines like the IBM 402 and 407 used relays and mechanical switches of various forms for memory, but they only had a few registers, not a large addressable RAM field.

    • @1FireyPhoenix
      @1FireyPhoenix 5 років тому

      @@lwilton Huh. Interesting. I haven't studied the old old technology. My knowledge of computers kinda ends in the 80s. I'm working my way back though

  • @Lam-s-Workshop
    @Lam-s-Workshop 5 років тому +5

    Oh the sweet sweet sound of relays

  • @disposablebasterd
    @disposablebasterd 5 років тому

    Very sweet, I love the sounds it makes when it is working.

  • @Jalecko
    @Jalecko 4 роки тому

    these clicks are pretty satisfying

  • @777arc2
    @777arc2 4 роки тому +4

    Damn shame they aren't transparent relays, it's so cool to see the mechanical movement

  • @jimbailey3141
    @jimbailey3141 5 років тому

    If you guys are interested its not a bad build it took about 8-10 hours. If you are experienced you may shave an hour or two. All in all it's a great computer for learning the general principles of a CPU.

  • @antonnym214
    @antonnym214 6 років тому +2

    outstanding! I really like the way you make the control bits the opcode in the msbs. All good wishes.

    • @ericwazhung
      @ericwazhung 2 роки тому

      Seconded. It really helps in understanding what a CPU does and how it does it.

  • @MIGHTYcbu
    @MIGHTYcbu 5 років тому

    This is so much like i learned to program a Z80 cpu, we used Z80dt at school. Very nice, thank you

  • @jimmy2drinks
    @jimmy2drinks 5 років тому +3

    Impressive docs as well.

  • @mishalobanov9744
    @mishalobanov9744 5 років тому +1

    Such a beautiful device!

  • @bobdehuisbaas1
    @bobdehuisbaas1 5 років тому

    Absolute madman, this is beautiful

  • @WebSprocket
    @WebSprocket 4 роки тому +2

    Very cool and inspiring. I would love to build something like this for myself.

  • @Delta25M
    @Delta25M 5 років тому

    And you evne madeyour own architecture and instruction set, amazing!

  • @mdevries8495
    @mdevries8495 4 роки тому

    I love the sound! More relays!!!!

  • @PixelOutlaw
    @PixelOutlaw 5 років тому +1

    Beautiful machine.
    Sometimes it's nice to stop and appreciate the actual calculations a computer crunches through at a more "human" speed.

  • @lucdrouin2625
    @lucdrouin2625 Рік тому

    Brilliant, absolute genius!

  • @kestasjk
    @kestasjk 5 років тому +11

    With so few relays I really expected a simpler machine .. there must be some trickery going on surely?

    • @jhallenworld
      @jhallenworld  5 років тому +4

      The RAM is emulated, so the only trick is to exploit this to the max- it's using multi-port memory, which ends up saving many relays. Otherwise the savings are from careful architecture and circuit design.

    • @stephanesonneville
      @stephanesonneville 5 років тому +2

      There's a surface mounted STM32 ARM and its embedded Linux who do the job under the board !

    • @comicsansgreenkirby
      @comicsansgreenkirby 5 років тому

      It’s going down
      in *_hISTORY_*

  • @GenuflectingRotation
    @GenuflectingRotation 5 років тому

    So satisfying to listen to

  • @gotj
    @gotj Рік тому

    Me quito el sombrero. ¡Qué chulada!

  • @jamesgrimwood1285
    @jamesgrimwood1285 5 років тому +8

    This sounds like what computers in movies (like Mother from Alien) sound like 😁

    • @NexxuSix
      @NexxuSix 5 років тому +3

      Exactly my thoughts! Was going to comment the same!

  • @POVwithRC
    @POVwithRC Рік тому

    Ah gawd the heavenly noise.

  • @2000freefuel
    @2000freefuel 5 років тому +6

    This thing needs to be used to run a Pinball machine!

  • @AlexFlockhart
    @AlexFlockhart 5 років тому +3

    Sounds very much like the "mother" computer in Alien

  • @stevenkenyon8040
    @stevenkenyon8040 5 років тому +80

    can't play crysis with all that clatter going on

    • @xXshadow223Xx
      @xXshadow223Xx 5 років тому +1

      @The Lavian Apparently yours is deader.

  • @WarrenGarabrandt
    @WarrenGarabrandt 5 років тому

    Holy crap! Mother from the movie Alien was a relay computer! The sound is nearly identical!

  • @gianis666
    @gianis666 Рік тому

    genuine inventor

  • @dylangarrant3027
    @dylangarrant3027 4 роки тому +1

    Awesome computer

  • @johanvisser9942
    @johanvisser9942 5 років тому

    Nice, the JSR trick from older computers, I think it is called the Wheelers jump....

  • @novatoagarioslayer
    @novatoagarioslayer Рік тому

    Reminds me when we simulate a microprossesor using a microcontroller... Neat.

  • @radarmusen
    @radarmusen 5 років тому +1

    Great video. At the start when it ran fast it sounds like a military tattoos, but I guess that the drummers don't do Euler's calculations there.

  • @colemanbergad6865
    @colemanbergad6865 5 років тому

    This is just beyond cool

  • @just_a_rock
    @just_a_rock 5 років тому

    Imagine going into your math exams with this instead of a TI-83.

  • @raffler5555
    @raffler5555 Рік тому

    sounds like the computer from the original Alien movie :)
    i like it

  • @wisteela
    @wisteela Рік тому

    Absolutely fantastic

  • @DoRC
    @DoRC 7 років тому +4

    Darnit I really wanted to see how you translated to machine code:( Wonderful thing you have made though!

  • @technomax409
    @technomax409 5 років тому

    First time youtube give me a good recommendation !!!

  • @hstrinzel
    @hstrinzel Рік тому

    Unbelieevably good! WOW! Thank You! Can this still be bought ANYWHERE? Or from ANYONE?

  • @FandCCD
    @FandCCD 6 років тому

    Manual frequency adjustment = Michael Flatley/Feet of Flames

  • @mekkler
    @mekkler Рік тому

    So, with COM (invert) and ANDTO you can make all bitwise logic gates. Turing Complete!

  • @okboing
    @okboing 3 роки тому

    I really want one of these

  • @petermuller608
    @petermuller608 Рік тому

    Very impressive!

  • @PaulodeSouzaLima
    @PaulodeSouzaLima 5 років тому +14

    What? No ferrite ring memory? No output to valve tubes numbered displays? No paper card reader? No reed switch keyboard? :-D

    • @joeypc87
      @joeypc87 5 років тому +3

      I think it is not fully relay based computer. You still see there are some ICs. I think it is a combination of modern and relay computer. Relays just do some logic functions to show us how some logic functions are done. It is quite interesting to see clicking relays, leds showing logic level and final results displayed in 7 segments leds display though.

    • @monad_tcp
      @monad_tcp 5 років тому +1

      that's why I'm making a replica of the Fujiwara Facom computer

    • @monad_tcp
      @monad_tcp 5 років тому +1

      I mean, the Fujitsu Facom, yep, I'm buying 5000 miniaturized relays (I wish they were transparent so I could see them clicking).

    • @youtuuba
      @youtuuba 5 років тому

      @@joeypc87 , the entire CPU is implemented in relays. Think of this as the microprocessor on any single board computer, e.g. the KIM-1.
      The memory is a separate thing, and in this case is the 1k Bytes of RAM internal to a PIC microcontroller (arranged as 256 words of 32 bits each, as required by the relay CPU. When the relay program counter asks for the next program instruction, the PIC reads it from its RAM and presents the 32 bits to the relay CPU, which then executes the instruction. The PIC is there to 'be the memory'. There is a second, smaller PIC microcontroller which handles scanning the keypad and multiplexing the 7-segment LED display, and maybe also the serial port. One of the PICs also generates the clock for the relay CPU. Neither PIC is involved in executing the program, i.e. no cheating.
      When you study in instruction set and CPU architecture diagram, it is easy to see how so much can be accomplished by 83 relays.

  • @Крщенебудуказати

    Relay computer made on integral circuits. Nice... How to make it?

  • @vyratron839
    @vyratron839 5 років тому

    I wouldn't make a relay computer unless I had plenty of relays and no semiconductors. Not sure what I'd use for memory but maybe something like what antique typewriters used to set and clear tabs.

  • @mheermance
    @mheermance 5 років тому

    Sweet design!

  • @griml0gic420
    @griml0gic420 7 років тому

    I'm in love. Those clicks tho😍

  • @tylerk6206
    @tylerk6206 5 років тому

    This is incredible!!

  • @argore9709
    @argore9709 5 років тому +8

    finally i can play pong at 0.003 FPS.

  • @cthoadmin7458
    @cthoadmin7458 5 років тому

    God I so want one of those!

  • @SO_DIGITAL
    @SO_DIGITAL 6 років тому

    Impressive work sir.

  • @axodus7863
    @axodus7863 6 років тому

    Thanks you little bit inspired me with making a Binary Translator.

  • @richardhoff5255
    @richardhoff5255 5 років тому +2

    I wish you sold a complete kit and not just bare boards.

  • @deepakk1347
    @deepakk1347 5 років тому +1

    01:08 from here it started sounding like a hand start generator engine 😲

  • @gorillaau
    @gorillaau 6 років тому +28

    Does it have a mnemonic for HCF: Halt and Catch Fire.

  • @twinshobbytwinshobby3863
    @twinshobbytwinshobby3863 Рік тому

    Awesome Video !

  • @teslastellar
    @teslastellar 5 років тому

    Beautiful 👍 Thanks for sharing.

  • @eric_stotz
    @eric_stotz Рік тому

    Hello, I also bought and finished this relay computer ... When I first switched it on, some random LEDs shone, but the display showed nothing ... I think I placed some ICs in the wrong place ... Do you have a list or so where I can see which IC comes in which place?

  • @Decco6306
    @Decco6306 5 років тому +8

    this is the "I have too much time on my hands" model

  • @SZebS
    @SZebS 5 років тому

    0:25 that's such a cool sound, imma sample that

  • @getuliocavalcante5215
    @getuliocavalcante5215 2 роки тому

    Assembly i Love

  • @mx0r
    @mx0r 5 років тому +1

    That's running on diesel!

  • @visiontranscend60
    @visiontranscend60 4 роки тому

    So what exactly is this? A calculator with relays?

  • @Leonvolt28
    @Leonvolt28 5 років тому +3

    0:00 I thought that it was a video from electric boom for second 😂

    • @chuiivan2624
      @chuiivan2624 5 років тому +1

      Leon Vollebregt “Hi !”

  • @toothrobber8076
    @toothrobber8076 5 років тому

    Could you please provide a closeup picture of the keypad, or a description of how it works

    • @youtuuba
      @youtuuba 5 років тому

      Robert Booth, I am preparing my own detailed exploration of this computer, including how to write a program, and will be uploading to UA-cam soon.

  • @AkashJadhavIT
    @AkashJadhavIT 3 роки тому

    am new to this topic with basic understanding of gates and relays and gates in general, i want to built my own 4bit relay any resources where i can get started with ?

  • @rubbersoul2841
    @rubbersoul2841 3 місяці тому

    Nice drum machine 😎

  • @richfiles
    @richfiles 7 років тому +2

    That's a real neat computer! Really rings my bell! :D
    Are the ebay ones all assembled or a kit? I _REALLY_ enjoy soldering. :P

  • @TheRojo387
    @TheRojo387 3 роки тому

    Why use relays when you have transistors? Why??

  • @laucompanyadvocates7914
    @laucompanyadvocates7914 5 років тому

    Can it use NEC 5V DPDT dip relays? I have plenty of them from the LIC cards of the dismantled NEAX61 exchange. Using them instead of buying new 12V relays would save a handle.

  • @EvilSandwich
    @EvilSandwich 4 роки тому +1

    Do you have any plans to add more status flags in the future, like a Zero Flag?

  • @paulschreiber9384
    @paulschreiber9384 9 місяців тому

    Curious what value you used for R204 (holding resistors), and if you had to "swap relays around" to get it to run.

  • @Munden
    @Munden 7 років тому

    Amazing. Nice Work!

  • @Blue-Maned_Hawk
    @Blue-Maned_Hawk 5 років тому

    Imagine if modern computers were like this. Your computer would be the size of a room and make you deaf trying to listen to a piece of music.

  • @Tinkerlog
    @Tinkerlog 7 років тому

    Excellent. And sounds great! :D