Single Board Relay Computer

Поделиться
HTML-код
  • Опубликовано: 22 окт 2024

Комментарии • 254

  • @redstonedreamer6896
    @redstonedreamer6896 7 лет назад +425

    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 10 месяцев назад +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

  • @mike0rr
    @mike0rr 5 лет назад +192

    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 4 года назад +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 3 года назад +4

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

  • @MADORCS
    @MADORCS 4 года назад +109

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

    • @MLFranklin
      @MLFranklin 4 года назад +4

      Until this relay computer becomes self-aware...

    • @dshaprin
      @dshaprin 4 года назад +9

      This computer will become skynet

  • @donaldwycoff4154
    @donaldwycoff4154 4 года назад +73

    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 4 года назад +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.

  • @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 4 года назад +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?

  • @BobDiaz123
    @BobDiaz123 11 месяцев назад +3

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

  • @RoscioTube
    @RoscioTube 4 года назад +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 4 года назад +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 4 года назад +12

      The CPU is made out of relays though

    • @edgeeffect
      @edgeeffect 11 месяцев назад

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

  • @gavin5861
    @gavin5861 3 года назад +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!

  • @Narwaro
    @Narwaro 4 года назад +59

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

  • @johncherry108
    @johncherry108 6 лет назад +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 4 года назад +1

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

  • @bzert281
    @bzert281 5 лет назад +12

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

    • @CharlesJrPike
      @CharlesJrPike 4 года назад +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.

  • @priyath86
    @priyath86 4 года назад +11

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

    • @technodrome
      @technodrome 4 года назад +2

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

  • @ericwazhung
    @ericwazhung Год назад +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 4 года назад +3

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

  • @MisterBadNews
    @MisterBadNews 4 года назад +4

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

  • @MrBanzoid
    @MrBanzoid 4 года назад +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!

  • @javierjp2090
    @javierjp2090 4 года назад +7

    Neat sound. Sounds like the Nostromo computer in Alien.

  • @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!

  • @Skibidi_Male_X
    @Skibidi_Male_X 10 месяцев назад

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

  • @amberisvibin3287
    @amberisvibin3287 4 года назад +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 : )

  • @st3ddyman
    @st3ddyman 4 года назад +3

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

    • @youtuuba
      @youtuuba 4 года назад +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.

  • @stevenkenyon8040
    @stevenkenyon8040 4 года назад +80

    can't play crysis with all that clatter going on

    • @xXshadow223Xx
      @xXshadow223Xx 4 года назад +1

      @The Lavian Apparently yours is deader.

  • @777arc2
    @777arc2 3 года назад +4

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

  • @adamthethird4753
    @adamthethird4753 4 года назад +1

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

  • @lwilton
    @lwilton 4 года назад

    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 4 года назад

      The one I remember was rope core memory

    • @lwilton
      @lwilton 4 года назад

      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 4 года назад

      @@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

  • @walknotes
    @walknotes 4 года назад +1

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

  • @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 4 года назад +2

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

    • @comicsansgreenkirby
      @comicsansgreenkirby 4 года назад

      It’s going down
      in *_hISTORY_*

  • @Lam-s-Workshop
    @Lam-s-Workshop 5 лет назад +5

    Oh the sweet sweet sound of relays

  • @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.

  • @disposablebasterd
    @disposablebasterd 4 года назад

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

  • @Jalecko
    @Jalecko 4 года назад

    these clicks are pretty satisfying

  • @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 Год назад

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

  • @jimmy2drinks
    @jimmy2drinks 4 года назад +3

    Impressive docs as well.

  • @WebSprocket
    @WebSprocket 3 года назад +2

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

  • @gorillaau
    @gorillaau 6 лет назад +28

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

  • @MIGHTYcbu
    @MIGHTYcbu 4 года назад

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

  • @jamesgrimwood1285
    @jamesgrimwood1285 4 года назад +8

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

    • @NexxuSix
      @NexxuSix 4 года назад +3

      Exactly my thoughts! Was going to comment the same!

  • @bobdehuisbaas1
    @bobdehuisbaas1 4 года назад

    Absolute madman, this is beautiful

  • @mishalobanov9744
    @mishalobanov9744 4 года назад +1

    Such a beautiful device!

  • @PraxZimmerman
    @PraxZimmerman 4 года назад +8

    So for clarification, this has an entirely relay CPU, and ICs for the rest of the components, right? Would love to see a more in-depth video on the layout.

    • @youtuuba
      @youtuuba 4 года назад

      Prax, I am preparing a video of exactly what you ask for, using the identical one of these that I built.

  • @portlyoldman
    @portlyoldman 4 года назад +40

    Oh no. The algorithm has led me deep into the dark side again... I foresee hours on Digi-Key ordering supplies and more hours of construction ahead .... 🤓🤓🤓🤓

  • @hstrinzel
    @hstrinzel 11 месяцев назад

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

  • @PaulodeSouzaLima
    @PaulodeSouzaLima 4 года назад +14

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

    • @joeypc87
      @joeypc87 4 года назад +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 4 года назад +1

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

    • @monad_tcp
      @monad_tcp 4 года назад +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 4 года назад

      @@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.

  • @Delta25M
    @Delta25M 4 года назад

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

  • @AlexFlockhart
    @AlexFlockhart 4 года назад +3

    Sounds very much like the "mother" computer in Alien

  • @2000freefuel
    @2000freefuel 4 года назад +6

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

  • @EvilSandwich
    @EvilSandwich 4 года назад +1

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

  • @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 11 месяцев назад

    Brilliant, absolute genius!

  • @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?

  • @mdevries8495
    @mdevries8495 4 года назад

    I love the sound! More relays!!!!

  • @MrLittlecat123
    @MrLittlecat123 3 года назад

    One question!
    Ermm..... With so many chips... Yet you are still using relay for computing?

  • @WarrenGarabrandt
    @WarrenGarabrandt 4 года назад

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

  • @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

  • @radarmusen
    @radarmusen 4 года назад +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.

  • @johanvisser9942
    @johanvisser9942 4 года назад

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

  • @Decco6306
    @Decco6306 4 года назад +8

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

  • @POVwithRC
    @POVwithRC 11 месяцев назад

    Ah gawd the heavenly noise.

  • @dylangarrant3027
    @dylangarrant3027 4 года назад +1

    Awesome computer

  • @GenuflectingRotation
    @GenuflectingRotation 4 года назад

    So satisfying to listen to

  • @gotj
    @gotj 10 месяцев назад

    Me quito el sombrero. ¡Qué chulada!

  • @just_a_rock
    @just_a_rock 4 года назад

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

  • @paulschreiber9384
    @paulschreiber9384 6 месяцев назад

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

  • @gianis666
    @gianis666 Год назад

    genuine inventor

  • @ctbram0627
    @ctbram0627 Год назад

    I qwould love one of these is it possible to get the gerber file or purcahase a BOM and pre-made board?

  • @Крщенебудуказати
    @Крщенебудуказати 11 месяцев назад

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

  • @colemanbergad6865
    @colemanbergad6865 4 года назад

    This is just beyond cool

  • @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 ?

  • @novatoagarioslayer
    @novatoagarioslayer 11 месяцев назад

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

  • @raffler5555
    @raffler5555 9 месяцев назад

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

  • @Leonvolt28
    @Leonvolt28 4 года назад +3

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

    • @chuiivan2624
      @chuiivan2624 4 года назад +1

      Leon Vollebregt “Hi !”

  • @DoRC
    @DoRC 7 лет назад +4

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

  • @mekkler
    @mekkler Год назад

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

  • @laucompanyadvocates7914
    @laucompanyadvocates7914 4 года назад

    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.

  • @wisteela
    @wisteela Год назад

    Absolutely fantastic

  • @visiontranscend60
    @visiontranscend60 4 года назад

    So what exactly is this? A calculator with relays?

  • @argore9709
    @argore9709 5 лет назад +8

    finally i can play pong at 0.003 FPS.

  • @vyratron839
    @vyratron839 4 года назад

    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.

  • @FandCCD
    @FandCCD 6 лет назад

    Manual frequency adjustment = Michael Flatley/Feet of Flames

  • @tomhankstomhanks2579
    @tomhankstomhanks2579 9 месяцев назад

    Is it possible to made coder and decoder with relays?

  • @toothrobber8076
    @toothrobber8076 4 года назад

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

    • @youtuuba
      @youtuuba 4 года назад

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

  • @TheRojo387
    @TheRojo387 3 года назад

    Why use relays when you have transistors? Why??

  • @richardhoff5255
    @richardhoff5255 4 года назад +1

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

  • @okboing
    @okboing 2 года назад

    I really want one of these

  • @tylerk6206
    @tylerk6206 4 года назад

    This is incredible!!

  • @petermuller608
    @petermuller608 10 месяцев назад

    Very impressive!

  • @attila3028
    @attila3028 4 года назад

    what causes that sound is there a buzzer attached?

  • @kurero1431
    @kurero1431 10 месяцев назад

    what is making the sound?

  • @griml0gic420
    @griml0gic420 6 лет назад

    I'm in love. Those clicks tho😍

  • @elurb7231
    @elurb7231 6 лет назад

    What is the max clock speed this computer is capable of?

  • @mx0r
    @mx0r 4 года назад +1

    That's running on diesel!

  • @twinshobbytwinshobby3863
    @twinshobbytwinshobby3863 11 месяцев назад

    Awesome Video !

  • @kaderdenen
    @kaderdenen 3 года назад

    That two microcontroller ruin all the magic.

  • @pablogarin
    @pablogarin 4 года назад +7

    Slow clap in machine code xD

  • @mheermance
    @mheermance 4 года назад

    Sweet design!

  • @deepakk1347
    @deepakk1347 4 года назад +1

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

  • @retromobs6018
    @retromobs6018 Год назад

    How would one implement video output on this computer? And would one be able to use a rom by implementing a mux?

  • @SZebS
    @SZebS 4 года назад

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