How a Character LCD Works - Part 2

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

Комментарии • 1,7 тыс.

  • @brusspup
    @brusspup 7 лет назад +737

    I think I'm addicted to this channel.

  • @evanparker
    @evanparker 7 лет назад +195

    The best part about your videos is that you explain the entire the creative process, including the troubleshooting part. Things NEVER go to plan, and that's always part of the fun.

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

      I agree!!!

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

      Ditto. Kudos to the 8-Bit Guy for showing his actual process and not an idealized or perfect process that certainly could have been obtained by simply showing (via editing or making several attempts) only steps that were successful. What we’re seeing is an honest, real-world experience.

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

      7:45 ye just not good stuff

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

      I was struggling with use old Noritake VFD 16x2 display with Raspberry Pi and spend a lot of hours trying to figure out what's going on. It worked for about a few minutes and then started showing "random" characters each time. I thought, that it is because my VFD is not 100% compatible with HD44780 controller, which is common used in LCD displays like in this video. But the reason was the cables between RPi and VFD, and the USB power cable. They did not contact correctly. But it was strange, because I didn't touch them and it was happening! Thanks to this video I didn't give up! I love this guy :)

  • @dragon_ex2139
    @dragon_ex2139 7 лет назад +844

    Death toll: 2 LCDs, 1 speech synthesizer card, 1 C64, and 1 C64 power supply. Rest in peace.

    • @The8BitGuy
      @The8BitGuy  7 лет назад +262

      yeah... It was like a murder-suicide, huh?

    • @RacerX-
      @RacerX- 7 лет назад +70

      This video also shows how flaky the Original C64 PSUs are. They have killed one too many C64s.

    • @radostin04wastaken
      @radostin04wastaken 7 лет назад +2

      Electronic suicide!

    • @vejin9
      @vejin9 7 лет назад +8

      We should play them a Cannon Fodder Recruit Theme.

    • @FedorSteeman
      @FedorSteeman 7 лет назад +5

      Collateral damage.

  • @TheGeekPub
    @TheGeekPub 7 лет назад +153

    This was quite interesting. Now we need a repair the C64 video!

    • @The8BitGuy
      @The8BitGuy  7 лет назад +67

      indeed... and something about the power supplies.

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

      @@The8BitGuy hey man where did you get that shirt please?

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

      @@The8BitGuy Yea we really do... R.I.P The 8-Bit Guy's C64 ????-2017

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

      @@The8BitGuy don't suppose there's been a repair video for the c64? Or was it beyond recovery?

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

      @@alexmcd378 I hope it wasn't beyond recovery.

  • @enilenis
    @enilenis 7 лет назад +63

    When using 4-bit transfer mode, it is recommended to use pulldown resistors on vacant data lines, else they may accumulate static and cause initialization glitches during LCD power-up.
    Additionally, hooking things up directly to parallel or serial ports without current limiting resistors, PTC fuses or diodes for protection is very risky. I've fried my share of hardware that way. This is especially critical when you expect to be hot swapping homebrew peripherals. When things are plugged/unplugged the electricity sometimes may flow in unexpected directions. Not all computers or microcontrollers know how to limit current or deal with reversed polarity.
    A loose ground wire is a recipe for disaster also. I had one brush against the logic pins of a serial port for a split second and that was enough to destroy the RS232 chip. Good thing you caught it.

  • @billybbob18
    @billybbob18 7 лет назад +58

    I've never seen a better explanation of how these screens work. The toggle switch demo did it for me. Thanks a bunch.

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

      billybbob18! Change your name to Osciman!!!!!!!!!

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

      Why? Its his name

  • @elmic91
    @elmic91 7 лет назад +51

    This video is a great demonstration of Murphy's Law, and methodical troubleshooting.

  • @astyrquartz9471
    @astyrquartz9471 7 лет назад +165

    THAT POWER SUPPLY FRIED A PERFECTLY GOOD C64!
    KLLL IT WITH FIRE

  • @AgentKilo
    @AgentKilo 7 лет назад +111

    This is one of the best channels on RUclips! I'm calling it: you're hitting a million subs by the end of the year

    • @davebilldavebill961
      @davebilldavebill961 7 лет назад +5

      AgentK 04 extremely unlikely look at social blade

    • @gold4963
      @gold4963 7 лет назад +1

      Yeah!

    • @sonicblast19
      @sonicblast19 7 лет назад +2

      Doubt it since this is a channel that has actuall information and it's fun too watch. People like drama, scandals and other bullshit, I won't say nudity, because who doesn't like tities?

    • @bsvenss2
      @bsvenss2 7 лет назад +1

      Sure hope he does... one of the few RUclipsrs that really, really deserves it. The amount of work for each episode is amazing!

    • @BertGrink
      @BertGrink 7 лет назад +1

      +Infinite loop not just that, but he's such a cool, laid-back fellow as well, i always enjoy his videos.

  • @diamondburned5229
    @diamondburned5229 7 лет назад +153

    This dude looked so chill even when he completely fried his C64

    • @alerey4363
      @alerey4363 4 года назад +21

      what we dont see is his shooting to the PSU off-camera :p

    • @llscandgalaxy750
      @llscandgalaxy750 4 года назад +5

      At time of writing, your comment has 64 likes

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

      @@alerey4363 I'd be furious at myself if I were him. He knew better than to use the old power supply.

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

      Pretty sure we didnt see him trashing half his studio, taking a bottle of xanax, and then resuming shooting the next day. :)

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

      I was really surprised that he used and old power supply too.

  • @ImpiantoFacile
    @ImpiantoFacile 7 лет назад +265

    Will we see a C64 repair video?

    • @The8BitGuy
      @The8BitGuy  7 лет назад +194

      most likely...

    • @NaokisRC
      @NaokisRC 7 лет назад

      I hoping not. ;)

    • @piip4
      @piip4 7 лет назад +7

      I'm looking forward to a C64 repair video! I have a 'black screen' C64 myself.

    • @hiddenshadow2105
      @hiddenshadow2105 7 лет назад +9

      Yes, please. I really wish to see this machine restored.

    • @Viraqua
      @Viraqua 7 лет назад +9

      Full length feature, hopefully.

  • @spacefolder
    @spacefolder 7 лет назад +17

    This video series has everything I like, combined! (c64s, chiptunes, soldering irons, lcd screens, coding, cool t-shirts, schematics, multimeters, and even music keyboards hanging in the background). Everything a real man needs. Dave you made my day!

    • @DrayCrouse
      @DrayCrouse 7 лет назад

      A real man says no to an electric soldering challenge.

  • @magreger
    @magreger 7 лет назад +35

    great episode! I appreciate that you include your failures and troubleshooting into the episode. This makes the episodes even more interesting.

  • @philscomputerlab
    @philscomputerlab 7 лет назад +46

    Shame about the PSU. I only work woth old PC parts, but I always use modern power supplies for this very reason.

  • @deltaray3
    @deltaray3 7 лет назад +159

    Sorry about your luck on the power supply failing. Do you know about shift registers? They are useful when you're limited on pins and I think you could use one or two of those to also drive multiple LCDs.

    • @The8BitGuy
      @The8BitGuy  7 лет назад +58

      Indeed.. You could use it to feed in the data lines in a serial fashion.. then use the enable line separately.

    • @smallandangrywillow2247
      @smallandangrywillow2247 7 лет назад +2

      The 8-Bit Guy I (or my family) have a Casio CT-87

    • @retrovhsmanvaultfromthe70s97
      @retrovhsmanvaultfromthe70s97 7 лет назад +1

      deltaray3 how do you used this item

    • @ABaumstumpf
      @ABaumstumpf 7 лет назад +6

      or you could use the 3 pins for a Demux and use up to 7 screens.

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

      When it comes to character LCD's there is plenty of interface options - parallel, serial, 8/4 bit, and my personal favorite - SPI. I was making a "Back To The Future" console and was able to drive all digits with a single Atmega328 chip without any additional multiplexers. Unfortunately I failed to realize my LED displays were rated for 3.3v instead of 5v so at some point the setup burned out. Lesson learned.

  • @ArshedNabeel
    @ArshedNabeel 6 лет назад +3

    My favorite thing about this video is how you walk through the entire process, sharing some valuable best-practices and debugging tips along the way. Many thanks for the video!

  • @tails64dsntchannel8
    @tails64dsntchannel8 7 лет назад +69

    I am sorry for your C64... I hope that the damage isn't too severe..
    Now I am going to check my PSU.

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

      Your PSU should be fine, if it is newer.

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

      @@choccymalk123 All 3 of my c64 PSU's put out ±6v under load now, and two of them are the late spec beige bricks that came with 64c's.
      The circuitry in them is basically unchanged and they are potted all the way through unlike early spec "boot" bricks which leaves the caps and diodes out of the resin, that's why they die, the 7805 regulator is not cooled properly.
      Here in Europe there were some models of PSUs that didn't get potted and can be serviced but they are fairly hard to come by.

  • @warshon123
    @warshon123 7 лет назад +3

    I never thought I could feel such intense suspense for old technology. When I was young I wondered how LCD screens worked but of course this video wasn't available then and I wasn't guided in the right direction. Thank you so much for satisfying that childhood wonder within me.

  • @AmonRA
    @AmonRA 7 лет назад +90

    Always use an over voltage protection device when using an original​ C64 power supply! I recommend the "SaV64" (Google it).

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

      Seems like what's needed is the old "Crow-bar" device, a thyristor wired across the supply big enough to short it out linked to an over-voltage detector. It's crude and it isn't nice to the power supply but it saves the computer.

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

      I probably didn't explain: I'm not talking about an add on. The circuit would have been buried inside an old PSU anyway and the aim was to either pop a fuse or put the supply into current limit in the event of regulation failure. Damage to the PSU wasn't an issue as long as it prevented the overvoltage hitting the 5v rail.

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

      There are tons of overvoltage protection circuits on the web. You can easily implement them with a transistor, a zener and a couple of resistances.

    • @Jesse-qy6ur
      @Jesse-qy6ur 6 лет назад +8

      Ew, no. Crowbars were A Thing in electrical engineering back in the day. If the PSU is sending too much voltage, _it is already damaged_. It should be obvious that having the PSU commit suicide without killing the electronics is preferable to having the PSU commit suicide and taking the electronics with it.

  • @zyxnull
    @zyxnull 7 лет назад +1

    What I like the most about this channel is that your projects suffer the same perils we, simple mortals, suffer
    I mean, if you check other channels, manuals, tutorials, etc, the projects just work the first time for them, no hiccups nor glitches, and I think you learn the most from mistakes and how to avoid/fix them, so it is really appreciated that you explain how to debug the problem as it is time well spended.
    Thank you very much, also the music is so great!

  • @ProxyXIV
    @ProxyXIV 7 лет назад +18

    I really enjoyed the tense synth tune, reminds me of Kavinsky or Perturbator.

  • @jammi__
    @jammi__ 7 лет назад +27

    This is a good reminder for all of us to spare the remaining machines by not using the original power supply with them.

  • @AndersEngerJensen
    @AndersEngerJensen 7 лет назад +367

    Hehe, The Adventures of 8-Bit Guy continues! Most amusing and informative, keep up the good work. :D

    • @rcmgs7055
      @rcmgs7055 7 лет назад +2

      Anders Enger Jensen you are a great person

    • @TheMorc
      @TheMorc 7 лет назад

      Anders Enger Jensen it is going little bit to the style of videos from Druaga1

    • @jackpaton3317
      @jackpaton3317 7 лет назад +3

      is it your song at the end? If so love it and 8-bit guy's great videos!

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

      It's not mine. He played my latest song in the middle (Falling in love with you), but the first and last song is CLCOLLAB's song. You'll find them on SoundCloud, first title on their profile. :)

    • @eb2588
      @eb2588 7 лет назад

      Anders Enger Jensen I love you!!!

  • @grahaminatorca85
    @grahaminatorca85 7 лет назад +8

    I remember Commodore 64's through grades 1 to 3. 1990 to 1993. It's amazing they are still around!

    • @DrayCrouse
      @DrayCrouse 7 лет назад

      They dang are still around. Nostalgic nerds such as me and 8-bit guy likes to go back to nostalgic things.

  • @tristanjohanneskundrat1113
    @tristanjohanneskundrat1113 7 лет назад +74

    Great Video! Unfortunately your C64 died :(. Just a question: When is Part 3 coming?

    • @NiksGMD
      @NiksGMD 6 лет назад +3

      Tristan Kundrat Now
      ruclips.net/video/pQk3XgpuaJ4/видео.html

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

    "The 8-Bit Guy" -- You have the gift for teaching. Good video, good audio, easy to follow narrative telling a story. Thank you.
    The following is not exactly on point but...Re: Commodore power adapter high Voltage -- If you are powered by NIPSCO here in NW Indiana, one becomes accustomed to supply irregularities. Over about a 9 month time, I went through 3 older but previously very reliable HP and 2 new Samsung laser printers with all looking like something was really glitchy with the power supplies. The Samsung would power up and sit for about 10 minutes looking like it was downloading revised BIOS and then starting working normally. Then a washing machine with a capacitive touch screen bugged out but I was able to control using wire wrap in a pinch, and microwave bugged out for a short while, but came back to function normally. Submersible pump, compact fluorescent lamps also bugged out over a period of a few months. That summer was exceptionally hot and I wondered whether the neighborhood, which is about 60 years old, had the required service lines. So I checked the duplex socket Voltage... 143 V. Months later, NIPSCO replaced a line transformer serving three houses including my own. Subsequent line potential- 121 V. A neighbor later told me of similar problems but did not know of the high line Voltage. NIPSCO never told us of any problems. In 2020, my house had 18 power interruptions and only one was likely due to weather. NIPSCO suggested I install a whole house UPS.

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

    The only channel that is more entertaining than majority of my subscriptions. :D

  • @extrememoxie
    @extrememoxie 7 лет назад +1

    - I really dig the "How It's Made" type background music.
    - "Little program" my rear end! LOL!
    - Most importantly, though, I *really* like seeing the process of encountering, diagnosing and addressing failure. I'm very, very timid when it comes to working with electronics and seeing you encounter failure states actually encourages me. "If it breaks on me, I'm not stupid...and I can fix it." Or to put it another way -- I think one of the most important subtexts of your videos is "It's okay if it fails."

  • @abtaylors
    @abtaylors 7 лет назад +691

    Am I the only one who gets giddy when one of these comes out

    • @brendanwalker8903
      @brendanwalker8903 7 лет назад +6

      AuthenticAlex me too!

    • @kristiansvalland4595
      @kristiansvalland4595 7 лет назад +3

      i love them too, and am now considering digging out my old commodore 64 from the storage room and tinkering around with it again

    • @RamLaska
      @RamLaska 7 лет назад

      Totally!

    • @retrovhsmanvaultfromthe70s97
      @retrovhsmanvaultfromthe70s97 7 лет назад

      Kristian Svalland how do you activate this item

    • @DFMurray
      @DFMurray 7 лет назад +2

      No. I got a semi when I saw the alert, am fully erect watching it now.

  • @neilbarnett3046
    @neilbarnett3046 5 лет назад +3

    That was the first thing I was taught when I started mending PDP-11 computers in 1981, "Check the voltages." We sometimes had 3 PSUs on one computer, one for the processor, one for the memory and one for the 1Mb memory expansion.

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

    you are my favorite youtuber. I love how you include all "errors" showing in the end that sometimes hardware just fails on you - and that you persist and dont give up until you succeed.
    its very inspiring . cant wait until next video comes out, your notification are the best ones ^_^

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

    Your videos are always enlightening and informative. Watching someone problem solve is so much more informative than just watching someone do something that works flawlessly.

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

    I'm studying computer engineering, and we are using a NDS to learn how to control the Input/Output changing manually the registers, using And/or functions, and a bunch of hex numbers.
    For people like me, who loves that kind of stuff, it's awesome to understand how PCs work.
    Thanks for your work doing this videos :)

    • @DrayCrouse
      @DrayCrouse 7 лет назад

      Have a good time and stay safe of any bad power supplies!

  • @markoer
    @markoer 5 лет назад

    What I like about this channel is that also failures and problems are explained. This is very instructive.

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

    Rip C64. So many memories. It had a life in the spotlight, showing off hardware and software. And now it is reached its untimely death. You will be missed.
    R I P Commodore64
    1982-2017

  • @KurtThom4s
    @KurtThom4s 7 лет назад

    it's admirable that you leave your troubleshooting phase in your uploaded work. gives a realistic view of the challenges involved.

  • @stewiegriffin6503
    @stewiegriffin6503 7 лет назад +69

    we want part 4: repairing c64

    • @SpaceFighter2004
      @SpaceFighter2004 5 лет назад +4

      What the deuce?

    • @adamsucksatyt
      @adamsucksatyt 5 лет назад +4

      Not sure as the voltage could have fried all the chips in a microsecond

  • @ShokaLion
    @ShokaLion 7 лет назад

    These technical episodes are brilliant.
    I've always seen projects where people hook stuff up to parallel ports and stuff like that but they never explain the nitty gritty of what's going on.
    Personally I'd love to see more videos at this sort of level. It's technical without going overboard, and with your diagrams and descriptions, it's hard to not understand what's happening.
    Really brilliant work.

  • @itabiritomg
    @itabiritomg 6 лет назад +488

    4-bit guy

  • @fabioguggeri325
    @fabioguggeri325 7 лет назад

    Wonderful episode. I grew up with the C64 being mostly interested in software while my father was a hardware / electronics geek. Now, as a grown up software developer, looking back to what I have missed is wonderful, getting to understand how things actually worked and the stuff my father was always trying to teach me when I was a kid. Best channel ever.

  • @longshot6873
    @longshot6873 7 лет назад +97

    Rip C64 1982 - 2017

    • @104d_3rr0r_vince
      @104d_3rr0r_vince 7 лет назад

      You can put a diode on the motherboard to prevent that :-/

    • @104d_3rr0r_vince
      @104d_3rr0r_vince 7 лет назад +1

      I know but it acts like a fuse and it's better than nothing :-)

    • @SpearM3064
      @SpearM3064 7 лет назад +1

      +Mr T. Guru
      The problem with doing that is, those old black bricks are *solid epoxy* around a PCB. I took one apart once to try to do exactly what you're proposing. Drilling out the epoxy without damaging the PCB is a lot of hard work.

    • @ethanpoole3443
      @ethanpoole3443 7 лет назад

      SpearM3064 Actually, if you heat the epoxy to its glassification point (typically in the vicinity of 120-160C based upon past projects) you can easily chip away at the epoxy and just scrape it away. It is still a bit of work and you have to be careful, but it is much easier and with much less risk of damaging the board or components as you do not need to be nearly as aggressive.

    • @ethanpoole3443
      @ethanpoole3443 7 лет назад +2

      kazoon Most Zener diodes will not reliably handle that much fault current well and also have a rather high impedance versus what one would want to see for prompt and reliable overvoltage protection. A much better choice would be a either TVS diode or a crowbar circuit utilizing a Zener and SCR to short the power supply and blow the fuse. However, the power supply must be capable of delivering enough current to blow the fuse (not always a given) quickly or you may burn up the TVS diode or SCR if the short can not be cleared by the fuse (though, if your SCR has sufficient heatsinking and is rated for the necessary current then it can endure, but most crowbar circuits expect the fuse to clear the fault quickly and are undersized for a sustained short.

  • @AnthonyMEMU
    @AnthonyMEMU 7 лет назад

    Dave, nothing ever goes as planned. I love that your videos show this, as opposed to a flawless finished product.

  • @ZoidTechnology
    @ZoidTechnology 7 лет назад +12

    I did something similar using FreeBASIC on Windows XP. No idea if FreeBASIC is still around but it gave easy access to the parallel port on a modern OS.

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

      "Windows XP"
      "Modern"
      Wat

    • @lethallisa7128
      @lethallisa7128 7 лет назад +2

      Electronics Idiot FB is still alive and kicking!

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

      @@randomcatdude Modern compared to the C64

  • @3com111
    @3com111 7 лет назад

    This video really shows the issues with trying to do something cool with technology. Nothing works the first time, and then you break the things you're working with, and then there's a few hours trying to troubleshoot the issue only to show that you need to start over with a new piece.
    I love it because it's so damn realistic.

  • @der-andyman
    @der-andyman 7 лет назад +15

    Hey 8-Bit Guy, thanks for your videos, they enlighten my evenings :D
    By the way, do you plan on repairing your, now dead, Commodore64? If so, could you film the process and upload it? I do like videos of this style, like "searching for the problem, finding it, changing the parts, maybe soldering"

    • @The8BitGuy
      @The8BitGuy  7 лет назад +23

      I would imagine I'll eventually do a repair video on it.. I've got to get some of these other projects finished first.

    • @der-andyman
      @der-andyman 7 лет назад +3

      Ok, thank you for answering. I am looking forward to it :)
      Have a nice day.

  • @spooforbrains
    @spooforbrains 7 лет назад

    It's nice to know that other people experience projects going south spectacularly like this. Happens to almost everything I decide to try, and I usually give up long before getting to any kind of resolution. So this video was immensely satisfying to watch. Also, one minor correction that I hope you will accept in the spirit it is intended (pedantry is not always a bad thing!): 42 is not the meaning of life, the universe and everything. 42 is the answer to the ultimate question of life, the universe, and everything. The question of course remains a mystery. A small but important difference.

  • @andydoane
    @andydoane 7 лет назад +39

    It'd be cool to program Pong on that little screen.

    • @jwhite5008
      @jwhite5008 7 лет назад

      it is a text screen, not a graphical one. So there are large blank fringes around letters - like a "######" pattern that cannot be lit at all because the pixels are not there on the LCD.
      Furthermore, it would require constantly reprogramming character generator on-the-fly - possible in theory but slow and hackish.
      It would require connecting a graphical LCD with a completely different interface.

    • @ZiggyTheHamster
      @ZiggyTheHamster 7 лет назад +2

      Some of these screens allow you to send fonts, which gives you pseudographics.

    • @BrekMartin
      @BrekMartin 7 лет назад +2

      Pong is quite possible, and possible to run fast.

    • @ericcartmann
      @ericcartmann 7 лет назад +1

      just get a standard matrix display. much simpler, and looks a lot better

    • @hannahkan0622
      @hannahkan0622 7 лет назад

      You have to do the if-then-else clause, which would be painfully slow on 64k right?

  • @jaylipski
    @jaylipski 5 лет назад

    Love the exercises in trouble shooting. I had many hours of fun using the old ZX-81 and then Sinclair 1000 writing programs that included machine code, building a parallel port that allowed me to make a garden monitor using home brew analog to digital converters and wet and dry bulb thermistors to measure soil humidity to alert when water was needed. Every robotics class could benefit from these basic instructions and trouble shooting methods. Bravo!

  • @DJHaze36
    @DJHaze36 7 лет назад +3

    Im disappointed there is no part 3 yet but I loved the first two parts. Thanks!!

  • @AintNobodyAtAll
    @AintNobodyAtAll 7 лет назад

    I love that you show when things go wrong. It's just part of the game when you're tinkering with computers, but it's also a lot of fun to watch.

  • @johnm2012
    @johnm2012 Год назад +6

    Using a BASIC program to control the screen makes it slow enough that you can ignore an important requirement of the HD44780 controller chip in the LCD module. That requirement is that you give it enough time to respond to a command before sending the next one. Using toggle switches and a push button gives it plenty of time and, it seems, the BASIC program is slow enough too. But if you write code in assembly language you need to bear in mind that most instructions need at least 37us to execute, and some take as long as 1520us. You can use delays or you can poll the status register of the chip to determine when it's no longer busy before sending the next instruction. Maybe this is covered in part 3. I haven't watched it yet.

  • @user-zlcksu4asdv
    @user-zlcksu4asdv 7 лет назад

    The great aspect of the videos in this channel is that the guy shows all the failures unlike others. This is great. We all learn from failures!

  • @rumeru905
    @rumeru905 7 лет назад +6

    can't wait for part 3 and the video about the speach synth

  • @justinolds8834
    @justinolds8834 7 лет назад

    Great video! Love seeing the problems, troubleshooting and solutions. As a equipment maintenance tech in a semiconductor production facility, we deal with these problems on old technology every day! Keep up the great work Dave, love the videos!

  • @TCGProductions03
    @TCGProductions03 7 лет назад +7

    I COULD NOT WAIT LONG ENOUGH FOR THIS VIDEO!!!!

  • @shprynx2328
    @shprynx2328 7 лет назад

    only on this channel will you find videos that are this fascinatingly niche and specific. I swear to God I love this guy

  • @Whatsthegeek
    @Whatsthegeek 7 лет назад +23

    11:35 You could actualy connect more than 3 screens. If you used a simple ttl decoder on the last 3 pin, you could connect up to *8* displays !

    • @peterlinddk
      @peterlinddk 7 лет назад +3

      You do mean 8 displays, right? With something like a 74LS138.

    • @Whatsthegeek
      @Whatsthegeek 7 лет назад +3

      Yes xD i'll correct that

    • @The8BitGuy
      @The8BitGuy  7 лет назад +37

      Sure.. and with some shift registers I could add even more. But the point was I could add up to 3 without any additional hardware. Maybe I should have mentioned that.

    • @oooBASTIooo
      @oooBASTIooo 7 лет назад

      unless you use shift registers it's actually 7 screens, unless you want to constantly sent signals to the screens ..

    • @deelan_
      @deelan_ 7 лет назад +1

      u cud controll ovr 9000 screenz with enugh io expendrz

  • @MattMcIrvin
    @MattMcIrvin 5 лет назад

    The thing I love about these videos is that you show how no plan survives contact with the enemy.

  • @devrim-oguz
    @devrim-oguz 7 лет назад +27

    +8-Bit Guy you can also write a C program to control the parallel port of a PC, it is not that hard. Maybe you can make another episode of controlling an LCD with a PC?

    • @MarcinKralka
      @MarcinKralka 7 лет назад +2

      Yeah that's what I wondered about too. I think it can be achieved by BIOS calls, or talking directly with ports (if that's possible).

    • @devrim-oguz
      @devrim-oguz 7 лет назад +4

      Its pretty possible to talk directly with ports under linux. I don't know the situation in windows tough. In fact I've written a program for it. I can post it if I find it.

    • @ABaumstumpf
      @ABaumstumpf 7 лет назад

      It is still a loooot harder than just typing it in Basic. That was one of the things i stubmbled upon when testing audio-output for Arduino (atmega328), rasperberry Pi (ARMv6) and Saprtan FPGA (3E 250).
      arduino was the easiest, spartan you had to do a bit more, and raspberry is a mess in comparison.

    • @devrim-oguz
      @devrim-oguz 7 лет назад +5

      ABaumstumpf Check this out: stackoverflow.com/questions/17851461/how-to-access-parallel-port-in-linux

    • @NoOne-ft8bq
      @NoOne-ft8bq 7 лет назад +1

      for PC, outputting to port 0x378 should be equivalent to C64's 56577 (did I get these numbers right?)

  • @sIosha
    @sIosha 7 лет назад

    I like how you show everyone your trial and error. It makes it so much more authentic.

  • @Rokios
    @Rokios 7 лет назад +85

    Rest in peace C64.

    • @Chaos89P
      @Chaos89P 7 лет назад +7

      It ain't dead yet. A simplistic machine like that can survive much more than many of today's computers can. It probably just needs some repairing.

    • @NaokisRC
      @NaokisRC 7 лет назад +6

      8V on a 5V chip is usually a death sentence for most. Even if chips do survive, it's the question... which ones did? I have arcade boards and once I was diagnosing why one of my boards was having artfacts and random issues, turns out PSU died and sent 7 volts out to the 5V line... That made me sweat but thankfully I caught it in time and seemed to have saved it. Also had one where it inexplicably caught fire when I powered on. Thankfully that was only a tantalum cap that blew.
      All of these things leave fear of the formidable power switch and always makes you qustion "Am I sure this is correct" before flicking the switch lol.

    • @38911bytefree
      @38911bytefree 7 лет назад +5

      Naaaaaa they can be repaired ... issue is BLACK SCREEN could be EVERYTHING in the machine, it the worst scenario for a repair with no info unless you poke some measurements. It a comprehensive machine, schematics are not that easy to read, but for someone who knows about electronics ... it will survive.

    • @piip4
      @piip4 7 лет назад

      You seem to know a bit about it about it. Have you repaired one before? I'm currently working on fixing my C64 but it's a guessing game as to what exactly is wrong. Yes, I have the black screen. I bought a new PLA chip as internet adviced. Made sure I get 5V, check. Still black. Any tips?

    • @38911bytefree
      @38911bytefree 7 лет назад +5

      Well, I have repaired 3 C64 and read the schematics. Blank screen is the most common sympthon, since machine cant start. I repaired only ONE black screen. I bet hard on PLA, VIC II and ROMS. I have another C64 and the ICs were socketed. All of them tested fine (I was shocked). In this machine was a latch register, like 74245 or similar. The C64 has many glue logic chips around. If you dont have a donor to test, I would first try with a cart. Some of them start fine since the C64 doesnt need to look for ROMS (yes, ROMS go BAD as well). I would take the 6581 out from the system. It not required to start and can take the bus down. When I was child I got black screen and the C64 was found a BAD ROM CHIP. The colprits are the chips that are more stressed, VIC, PLA, and ROMS. Those run hot. One time I got BLACK screen due to a bad connection on the VIC II. The VIC was socketed. And the chip is a toaster. It ended ruining it own socket because the self heating and consuption. But the VIC was fine. Just the 40 DIP socket need to be replaced. It was MELTED on 2 pins. So, take the VIC out and have a look around. The VIC is usually inside a rectangular CAN with a coper finger on the top. RAM, MPU and CIAS ... are less prone to damage There is a color RAM there.
      Another thing is the RESET, C64 uses a reset (not sure if made on a 555) chip. This needs to come ok. Easy test: connect the 1541 or 1571 (if you have one) I believe that when the machine is powered on, the reset signal is sent to the 1541 as well. So you will notice it (not enterely sure by now ... to be honest).

  • @izzieb
    @izzieb 7 лет назад

    I mean this in the nicest possible way, it's really nice to see your mistakes, failures and eventual success. I feel like most RUclipsrs wouldn't be so open to doing so.

  • @FinalBaton
    @FinalBaton 7 лет назад +3

    Love how a cyber punk track started playing when things started to go awry XD

  • @chelmrtz
    @chelmrtz 7 лет назад

    I really appreciate these videos. I don't understand the subject matter well enough to go out and buy some components and then build stuff, but I understand enough to get the context of the technology. It's cool to see where computing has been and the potential for where we're going. 8 Bit Guy makes it accessible. :)

  • @TheRedCap
    @TheRedCap 7 лет назад +5

    R.I.P. Dave's C64...

    • @TheRedCap
      @TheRedCap 7 лет назад

      Dave is short for david

  • @elecblush
    @elecblush 7 лет назад

    I love how clearly you are able to communicate these concepts. I know a lot of the stuff you go through, but i feel like i know it better and feel smarter after watching your videos each time. :)

  • @sarahtonin58913
    @sarahtonin58913 7 лет назад +99

    42 Isn't the MEANING of life, the universe, and everything, it's the ANSWER to life, the universe, and everything.

    • @melodyofailingheart9400
      @melodyofailingheart9400 7 лет назад

      Ephraim Bane what exactly is it referring to?

    • @tohopes
      @tohopes 7 лет назад +23

      its from Hitchhikers Guide to the Galaxy. people built an oracle machine that could answer any question. so they asked it the answer to life, the universe, and everything, and then waited around for like 200 years for it to compute the answer. and the answer it gave was 42. at which point they realized that they would need to ask it what the question was to life, the universe, and everything, in order for the answer to make any sense.

    • @reyariass
      @reyariass 6 лет назад +1

      tohopes I wish they hadn’t cancelled the show, really loved the intro. ;

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

      And I noticed that your like count stayed on 42 (wink wink

    • @samuelhulme8347
      @samuelhulme8347 6 лет назад +1

      Google the answer to life and the universe and everything then it come up with 42

  • @rjhelms
    @rjhelms 7 лет назад

    Great video! I never really did anything interesting with the user port on my C64 back in the day so it's cool to finally learn about how it works.
    I really like how you're not afraid to go into all the setbacks and failed attempts you have in your projects - way better to show how these things go in practice rather than trying to make it look easier than it is!

  • @ericparent7794
    @ericparent7794 7 лет назад +8

    I can't find Part 3, I'm excited to see it connected to the cartridge port! When is part 3 coming out?

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

      ruclips.net/video/pQk3XgpuaJ4/видео.html

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

    I really appreciate that you show the troubleshooting process. Not everything will go according to plan

  • @nancyorischak2861
    @nancyorischak2861 7 лет назад +41

    make a video on the Commodore 16 or all your Commodores

    • @radostin04wastaken
      @radostin04wastaken 7 лет назад

      zoomer vlogs Braydankidgg2 a commodore 16?

    • @TorutheRedFox
      @TorutheRedFox 7 лет назад +9

      he literally mentions the Commodore 16 in the video

    • @chinapaulo
      @chinapaulo 7 лет назад

      He could bang that out easy. Easy like a Sunday morning.

  • @DanielJackson-SG1
    @DanielJackson-SG1 7 лет назад

    Another great video! I like how you also showed what went wrong and you being so patient with it!

  • @xidarian
    @xidarian 7 лет назад +3

    will we see a future build of a voltage "watch dog" to go in line with the C64 power supply. Shouldn't be too hard to get a blinking red LED and cut off.

  • @heathwellsNZ
    @heathwellsNZ 7 лет назад

    I really like the fact that it wasn't all edited to "hide" the power supply problem, or reshot... made for a really interesting "real life" video on the topic!

  • @soullessleftover8427
    @soullessleftover8427 7 лет назад +7

    Must leave a like for MR. MEESEEKS! 😄

  • @AdamPaez
    @AdamPaez 7 лет назад

    I love it when there are problems and the electronic music gets dramatic. Great video.

  • @pilotandy_com
    @pilotandy_com 7 лет назад +3

    great video. use a 74ls138 for p0, p1, and p2, and get 8 screens going :)

  • @Zenkai76
    @Zenkai76 5 лет назад

    I love you show the failures and trouble shooting, it's a good learning tool

  • @Lion_McLionhead
    @Lion_McLionhead 7 лет назад +9

    Thou shalt check voltages. The world is less another C64.

    • @Connie_TinuityError
      @Connie_TinuityError 7 лет назад +1

      +heroineworshipper Judging by your comment, the Commodore 64 was released late 1500's-early 1600's time period?

    • @DrayCrouse
      @DrayCrouse 7 лет назад

      Nah. No electronic computers existed in 1500.

  • @joshhyyym
    @joshhyyym 7 лет назад

    This was more tense and thrilling than literally any sports game I've ever watched.
    It was like a high-tech murder mystery. And it was all the power supply with the high voltage rail in the studio. So many different plots all going on at once, all of the plot twists. Will the screen work? Will the second one work? A third? Another computer? 10 10 would watch again.

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

    To quote EEVBlog "Thou shalt check voltages"

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

    i might be late but i like when you go deeper on subjects, pls keep doing this

  • @419Films
    @419Films 6 лет назад +2

    6:00 - "Make the plan, execute the plan, expect the plan to go off the rails . . . Throw away the plan."
    -Leonard Snart
    ;-)

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

    This takes me back. I used the 8 bits on this port on my c64 and made a pcb that held 8 optoisolators. I connected the switch sides of the optoisolators to the front pcb of a Fisher VCR to increment and decrement the channels and "press" record and tape speed. I lived in Japan on a military base and some local channels had American shows in English if you had a similcast box so I would switch this on or off. We also had one base channel that has just begun showing Star Trek the Next Generation a whole season behind the US. I wrote a program that was a great improvement over the regular VCR programming. I can't believe I was able to figure this out with c64 books back then and no internet. :-)

  • @HylkeJellema
    @HylkeJellema 7 лет назад +26

    and my friend complain there computer is to slow for running 4 screens. commodore be like. hold my beer

  • @AicosB
    @AicosB 5 лет назад

    I'm so grateful your putting out these videos. Beautifully presented and I'm learning stuff that I've wondered about for many years. Keep up the great work!

  • @doktormusmatta
    @doktormusmatta 7 лет назад +9

    42 is not the meaning of life, the universe and everything, it's the answer to the ultimate question.

    • @SpaceFighter2004
      @SpaceFighter2004 5 лет назад

      Me: Has a test
      Also me: decides to write 42 for every question
      Teacher: I am disappointed in you
      Me: 😐

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

    Every video you do on tech stuff is just 100% content. That's awesome! Thank you :)

  • @summerWTFE
    @summerWTFE 7 лет назад +5

    Very interesting

  • @pellaken
    @pellaken 7 лет назад

    Truly excellent video, walking through all the problems and showing the solutions really shows you know what you are doing.

  • @meme01230
    @meme01230 7 лет назад

    That troubleshooting process was some top notch content. And dem tracks was fire cuz

  • @neves188
    @neves188 7 лет назад +10

    Now im worried about that C64...i doesnt have a fuse or something that can be replaced?

    • @The76Malibu
      @The76Malibu 7 лет назад +5

      It appears to have a fuse, but fuses don't protect against over-voltage only over-current.

    • @ABaumstumpf
      @ABaumstumpf 7 лет назад +2

      A fuse doesn't cause this kind of problem. More likely a electrolytic capacitor - and replacing them is easy too.

    • @SuperFLEB
      @SuperFLEB 7 лет назад

      There's a known issue with the C64 power supplies that means that when they go bad, they send too much voltage down the line and fry... I want to say it's the memory, but I'm not 100% sure. I've never run into it myself, but I came across stories about it when I was just looking into getting a less gigantic power brick for my 64.

    • @ericcartmann
      @ericcartmann 7 лет назад

      but the simple fact that the nand gates saw 8+V can mean they probably died.
      FETs are extremely fragile to voltage. Simply rubbing your feet on the carpet and touching the pins of a device can kill it.

    • @ABaumstumpf
      @ABaumstumpf 7 лет назад

      Cartman - you do realize that ESD is on an entirely different scale and irrelevant when it comes to constant "low" overvoltages?
      Cause ESD can easily be more than a couple thousand volts - that can arc over and directly destroy the junction.

  • @socore3197
    @socore3197 7 лет назад

    I like that you left in your struggles and then how you over came them.

  • @Hydr8Man
    @Hydr8Man 7 лет назад +3

    Still waiting for a part three
    (yes I know the reference)

  • @KillBoxScalemodelling
    @KillBoxScalemodelling 6 лет назад +1

    Well I'm hooked.... :D
    Looking at your videos bring back a lot of sweet memories of my own projects and exploration of the VIC-20/C-64 back in the 80's. My VIC-20 was a bench mule for lot's of funny projects and it did it's final service as a printer server for my BBS in the early 90's :D
    I do have a broken down C-64 with a 1541 in the attic, so I'm tempeted to have a go at fixing that!

  • @ukraniankgb9131
    @ukraniankgb9131 7 лет назад +5

    You should rename the vid to: How to fry an brand new Commodore64

    • @DrayCrouse
      @DrayCrouse 7 лет назад

      Now that's not nice.

    • @diegorco399
      @diegorco399 7 лет назад

      Brand new huw vinicius br é foda viu

  • @shankerram3
    @shankerram3 7 лет назад

    really nice video, just recently learned about interfacing an 8051 microcontroller to an lcd at college amd these made things much more clear and intresting

  • @nneeerrrd
    @nneeerrrd 7 лет назад +34

    poor little C64 );

    • @AiOinc1
      @AiOinc1 7 лет назад +5

      I'm sure it's fine, they have an internal regulator for this purpose.
      Besides, they're very robust little machines, they'll survive just about anything.

    • @ABaumstumpf
      @ABaumstumpf 7 лет назад +2

      Aio-inc:
      Nope. going form 5V to 12 v is a bad bad bad thing. cause yes, you do build some protection into those things, but they are designed to handle 5 v and maybe slight overvoltages. but at 12v even your zener diode will just burn up.

    • @38911bytefree
      @38911bytefree 7 лет назад +3

      Brick provides two voltages. One is AC and the other is 5V DC regulated. The AC is the one that is rectified and regulated to 12V since VIC uses BOTH 5 and 12V (c64 and 9V on the 64C), cassette is 6V, but it feed from 12V. I believe that SID also uses both. The 5V come from the brick. The reason they have sent AC to the C64 is to provide grid clock (50Hz or 60Hz) to the SID and CIAs. But yes, even when it seems like too much, bet only a couple of thing got damaged, and the rest if fine. I have seen 3.3 micros operated CORRECTLY on near 8V ... MOS ICs (not the brand, but the type) are "more flexible" than TTL. C64 is basically made of MOS chips, but there are some TTL parts as well.

    • @38911bytefree
      @38911bytefree 7 лет назад

      Just de Analog part of it. The digital part runs on 5V, otherwise it will blow everything in the bus. Same is true for VIC II. They are "mixed" signal chips.

  • @wynterfoxx2517
    @wynterfoxx2517 7 лет назад

    I never though such a dramatic video could be made from a topic such as this. I love it.

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

    wheres part 3?