Single Board Relay Computer

Sdílet
Vložit
  • čas přidán 27. 07. 2024
  • A longer video featuring rev. 3 of my Single Board Relay Computer (Relay Trainer). See relaysbc.sourceforge.net
  • Věda a technologie

Komentáře • 266

  • @redstonedreamer6896
    @redstonedreamer6896 Před 6 lety +421

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

    • @tomaszk2242
      @tomaszk2242 Před 4 lety +23

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

    • @yoshiguy35
      @yoshiguy35 Před 3 lety +2

      @Westley Yousef We really don't

    • @Yadobler
      @Yadobler Před 7 měsíci +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

  • @MADORCS
    @MADORCS Před 4 lety +107

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

    • @MLFranklin
      @MLFranklin Před 4 lety +4

      Until this relay computer becomes self-aware...

    • @dshaprin
      @dshaprin Před 4 lety +9

      This computer will become skynet

  • @donaldwycoff4154
    @donaldwycoff4154 Před 4 lety +71

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

  • @hrnekbezucha
    @hrnekbezucha Před 6 lety +133

    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.

  • @mike0rr
    @mike0rr Před 5 lety +191

    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 Před 4 lety +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 Před 3 lety +4

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

  • @fivefive2433
    @fivefive2433 Před 5 lety +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 Před 4 lety +3

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

    • @suhailab3634
      @suhailab3634 Před 3 lety +1

      Very impressive

    • @Scyth3934
      @Scyth3934 Před rokem +2

      Any updates?

  • @RoscioTube
    @RoscioTube Před 4 lety +31

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

    • @LouSwan
      @LouSwan Před 3 lety +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 Před 3 lety +2

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

  • @BobDiaz123
    @BobDiaz123 Před 8 měsíci +3

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

  • @Narwaro
    @Narwaro Před 4 lety +59

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

  • @gavin5861
    @gavin5861 Před 3 lety +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!

  • @priyath86
    @priyath86 Před 4 lety +11

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

    • @technodrome
      @technodrome Před 4 lety +2

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

  • @Jeffrey314159
    @Jeffrey314159 Před 6 lety +72

    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 Před 4 lety +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 Před 4 lety +12

      The CPU is made out of relays though

    • @edgeeffect
      @edgeeffect Před 8 měsíci

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

  • @bzert281
    @bzert281 Před 4 lety +12

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

    • @CharlesJrPike
      @CharlesJrPike Před 4 lety +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 Před rokem

      ​@@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 Před 6 lety +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 Před 4 lety +1

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

  • @blenderbuch
    @blenderbuch Před 6 lety +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 Před 4 lety +4

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

  • @disposablebasterd
    @disposablebasterd Před 4 lety

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

  • @bukster1
    @bukster1 Před 4 lety +3

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

  • @adamthethird4753
    @adamthethird4753 Před 4 lety +1

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

  • @Skibidi_Male_X
    @Skibidi_Male_X Před 7 měsíci

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

  • @st3ddyman
    @st3ddyman Před 4 lety +3

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

    • @youtuuba
      @youtuuba Před 4 lety +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.

  • @MIGHTYcbu
    @MIGHTYcbu Před 4 lety

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

  • @mishalobanov9744
    @mishalobanov9744 Před 4 lety +1

    Such a beautiful device!

  • @bobdehuisbaas1
    @bobdehuisbaas1 Před 4 lety

    Absolute madman, this is beautiful

  • @Delta25M
    @Delta25M Před 4 lety

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

  • @javierjp2090
    @javierjp2090 Před 4 lety +6

    Neat sound. Sounds like the Nostromo computer in Alien.

  • @amberisvibin3287
    @amberisvibin3287 Před 4 lety +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 : )

  • @Jalecko
    @Jalecko Před 4 lety

    these clicks are pretty satisfying

  • @jimmy2drinks
    @jimmy2drinks Před 4 lety +3

    Impressive docs as well.

  • @Lam-s-Workshop
    @Lam-s-Workshop Před 5 lety +5

    Oh the sweet sweet sound of relays

  • @777arc2
    @777arc2 Před 3 lety +4

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

  • @antonnym214
    @antonnym214 Před 5 lety +2

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

    • @ericwazhung
      @ericwazhung Před rokem

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

  • @ericwazhung
    @ericwazhung Před rokem +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 Před rokem

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

  • @mdevries8495
    @mdevries8495 Před 4 lety

    I love the sound! More relays!!!!

  • @WebSprocket
    @WebSprocket Před 3 lety +2

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

  • @MrBanzoid
    @MrBanzoid Před 4 lety +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!

  • @walknotes
    @walknotes Před 4 lety +1

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

  • @kestasjk
    @kestasjk Před 5 lety +11

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

    • @jhallenworld
      @jhallenworld  Před 5 lety +3

      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 Před 4 lety +2

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

    • @comicsansgreenkirby
      @comicsansgreenkirby Před 4 lety

      It’s going down
      in *_hISTORY_*

  • @jimbailey3141
    @jimbailey3141 Před 5 lety

    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.

  • @GenuflectingRotation
    @GenuflectingRotation Před 4 lety

    So satisfying to listen to

  • @stevenkenyon8040
    @stevenkenyon8040 Před 4 lety +80

    can't play crysis with all that clatter going on

    • @xXshadow223Xx
      @xXshadow223Xx Před 4 lety +1

      @The Lavian Apparently yours is deader.

  • @lucdrouin2625
    @lucdrouin2625 Před 8 měsíci

    Brilliant, absolute genius!

  • @lwilton
    @lwilton Před 4 lety

    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 Před 4 lety

      The one I remember was rope core memory

    • @lwilton
      @lwilton Před 4 lety

      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 Před 4 lety

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

  • @gotj
    @gotj Před 8 měsíci

    Me quito el sombrero. ¡Qué chulada!

  • @griml0gic420
    @griml0gic420 Před 6 lety

    I'm in love. Those clicks tho😍

  • @SO_DIGITAL
    @SO_DIGITAL Před 5 lety

    Impressive work sir.

  • @tylerk6206
    @tylerk6206 Před 4 lety

    This is incredible!!

  • @colemanbergad6865
    @colemanbergad6865 Před 4 lety

    This is just beyond cool

  • @richfiles
    @richfiles Před 6 lety +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

  • @Munden
    @Munden Před 6 lety

    Amazing. Nice Work!

  • @radarmusen
    @radarmusen Před 4 lety +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.

  • @wisteela
    @wisteela Před rokem

    Absolutely fantastic

  • @johanvisser9942
    @johanvisser9942 Před 4 lety

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

  • @Tinkerlog
    @Tinkerlog Před 6 lety

    Excellent. And sounds great! :D

  • @WarrenGarabrandt
    @WarrenGarabrandt Před 4 lety

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

  • @FandCCD
    @FandCCD Před 6 lety

    Manual frequency adjustment = Michael Flatley/Feet of Flames

  • @antonyprasad5536
    @antonyprasad5536 Před 4 lety +5

    This is all most important things to learn embedded design and programming, not Arduino libraries.

    • @among-us-99999
      @among-us-99999 Před 4 lety +6

      Using Arduino is almost cheating. Also, using an Arduino for production would be kind of weird for any real product

    • @antonyprasad5536
      @antonyprasad5536 Před 4 lety +2

      @@among-us-99999 Yes, just the Arduino board and libraries, not the actual microcontroller ATMEGA328, So, I can still use the MCU for production with my own embedded code firmware without using Arduino libraries.

    • @antonyprasad5536
      @antonyprasad5536 Před 4 lety

      @@kengineer1379 Yes, Baby boomers and Gen X, the creators and pioneers of everything you learn and use now

    • @ericwazhung
      @ericwazhung Před rokem

      @@kengineer1379 LOL, did you really say that? Please tell me that folk with the engineering-sense expressed here build nothing more important than toys that run off a few grocery-store batteries, otherwise I think we may have discovered a root cause of neighborhoods falling victim to fires, and planes falling from the sky.

  • @dylangarrant3027
    @dylangarrant3027 Před 3 lety +1

    Awesome computer

  • @axodus7863
    @axodus7863 Před 6 lety

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

  • @mheermance
    @mheermance Před 4 lety

    Sweet design!

  • @EvilSandwich
    @EvilSandwich Před 4 lety +1

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

  • @just_a_rock
    @just_a_rock Před 4 lety

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

  • @elurb7231
    @elurb7231 Před 5 lety

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

  • @JDArtagnanAO
    @JDArtagnanAO Před 6 lety

    Amazing very good project

  • @DoRC
    @DoRC Před 6 lety +4

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

  • @laucompanyadvocates7914

    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.

  • @petermuller608
    @petermuller608 Před 7 měsíci

    Very impressive!

  • @attila3028
    @attila3028 Před 4 lety

    what causes that sound is there a buzzer attached?

  • @AlexFlockhart
    @AlexFlockhart Před 4 lety +3

    Sounds very much like the "mother" computer in Alien

  • @jamesgrimwood1285
    @jamesgrimwood1285 Před 4 lety +8

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

    • @NexxuSix
      @NexxuSix Před 4 lety +3

      Exactly my thoughts! Was going to comment the same!

  • @twinshobbytwinshobby3863
    @twinshobbytwinshobby3863 Před 8 měsíci

    Awesome Video !

  • @okboing
    @okboing Před 2 lety

    I really want one of these

  • @AkashJadhavIT
    @AkashJadhavIT Před 3 lety

    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 ?

  • @paulschreiber9384
    @paulschreiber9384 Před 3 měsíci

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

  • @eric_stotz
    @eric_stotz Před 9 měsíci

    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?

  • @cthoadmin7458
    @cthoadmin7458 Před 4 lety

    God I so want one of those!

  • @hstrinzel
    @hstrinzel Před 8 měsíci

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

  • @ctbram0627
    @ctbram0627 Před rokem

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

  • @POVwithRC
    @POVwithRC Před 8 měsíci

    Ah gawd the heavenly noise.

  • @technomax409
    @technomax409 Před 4 lety

    First time youtube give me a good recommendation !!!

  • @PaulodeSouzaLima
    @PaulodeSouzaLima Před 4 lety +14

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

    • @joeypc87
      @joeypc87 Před 4 lety +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 Před 4 lety +1

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

    • @monad_tcp
      @monad_tcp Před 4 lety +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 Před 4 lety

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

  • @tomhankstomhanks2579
    @tomhankstomhanks2579 Před 7 měsíci

    Is it possible to made coder and decoder with relays?

  • @teslastellar
    @teslastellar Před 4 lety

    Beautiful 👍 Thanks for sharing.

  • @richardhoff5255
    @richardhoff5255 Před 4 lety +1

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

  • @gorillaau
    @gorillaau Před 6 lety +28

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

  • @2000freefuel
    @2000freefuel Před 4 lety +6

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

  • @toothrobber8076
    @toothrobber8076 Před 4 lety

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

    • @youtuuba
      @youtuuba Před 4 lety

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

  • @vyratron839
    @vyratron839 Před 4 lety

    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.

  • @rpraver1
    @rpraver1 Před 4 lety

    What doed the build cost?

  • @PixelOutlaw
    @PixelOutlaw Před 4 lety +1

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

  • @JohnG1989
    @JohnG1989 Před 5 lety

    Most interesting. I supposed these relay computers can bee shrunken down even further and perform more in a compact unit with Crydom telecom equipment microclareed relays for an even faster instruction clock cycle
    and be nuclear hardened/EMP proof also.

  • @NM-zq5tf
    @NM-zq5tf Před 5 lety

    Schematics?

  • @kurero1431
    @kurero1431 Před 8 měsíci

    what is making the sound?

  • @mekkler
    @mekkler Před rokem

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

  • @user-im5ok5px2p
    @user-im5ok5px2p Před 8 měsíci

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

  • @SZebS
    @SZebS Před 4 lety

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

  • @yenypurwa
    @yenypurwa Před 4 lety

    can you overclock it?

  • @raffler5555
    @raffler5555 Před 6 měsíci

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

  • @retromobs6018
    @retromobs6018 Před rokem

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

  • @gianis666
    @gianis666 Před rokem

    genuine inventor