EEVblog Electronics Community Forum
Electronics => Beginners => Topic started by: Bullrider on September 06, 2017, 06:14:30 pm
-
Hi! Nice to join this forum, my name is Paul, i live in Sweden and i think i'm an advanced beginner or something. The last couple of years i've learned about basic electronics, soldered some stuff together and collected a bunch of equipment, parts and books. While i do feel like most knowledge is within my reach if i'm willing to put in some work, there's one thing i'm not really sure about how to learn. If, for example, i would like to make a serial terminal for my z80 computer with composite video for an old tv(or vga or whatever, i'm interested in all different kinds), is there any good "tutorial like" sources i could use to learn about how you design that kind of stuff? Or maybe you at least know where i can get a good understanding of how different kinds of video works in theory. Thanks!
-
A serial terminal, a VGA monitor and a TV video are totally different.
What Z80 computer do you have?
-
I realise that tv video and VGA are very different things, but i'm interested in using either for a terminal because i have access to both old television sets and old computer screens, and i'm just generally interested in both and it would be nice if someone knows about some good reading. I have the rc2014, a barebone thing, not an old pc, i need to use an ftdi cable and a terminal emulator if i don't wanna buy a terminal module from the seller.
-
I had a long reply but I managed to dump it before I got it posted. So, I'll cut to the chase: Way back when, all of the logic for a text display terminal was incorporated in the Motorola 6845 chip and these are still available on eBay. Of course, there will be a lot of supporting hardware required like RAM and so on. But the hard part is done.
For the RC2014 Z80 project, the author has a serial display terminal that uses a Raspberry PI Zero and he provides a custom micro-sd card that contains the terminal software for the PI. The slick thing is that it outputs HDMI or composite video. I have the board but I haven't assembled it yet. I'm having the delay of a lifetime in the delivery of the PI.
http://rc2014.co.uk/modules/pi-zero-serial-terminal/ (http://rc2014.co.uk/modules/pi-zero-serial-terminal/)
-
I had a long reply but I managed to dump it before I got it posted. So, I'll cut to the chase: Way back when, all of the logic for a text display terminal was incorporated in the Motorola 6845 chip and these are still available on eBay. Of course, there will be a lot of supporting hardware required like RAM and so on. But the hard part is done.
For the RC2014 Z80 project, the author has a serial display terminal that uses a Raspberry PI Zero and he provides a custom micro-sd card that contains the terminal software for the PI. The slick thing is that it outputs HDMI or composite video. I have the board but I haven't assembled it yet. I'm having the delay of a lifetime in the delivery of the PI.
http://rc2014.co.uk/modules/pi-zero-serial-terminal/ (http://rc2014.co.uk/modules/pi-zero-serial-terminal/)
Thanks! I didn't know about that chip specifically and will look it up. I know about that terminal and i may consider ordering it sometime, maybe i can analyze the software and learn something from that!
-
There is a book by Andew Lamothe called The Black Art of Video Game Console Design which I think covers designing vga output for a games console, might be worth a look.
-
You might also search out a copy of Don Lancaster's 'TV Typewriter Cookbook'. It's pretty old but covers a lot of the basics.
-
Those books seem really nice, thank you guys! Don Lancasters book was available as a pdf when i googled it in case someone other than me finds pleasure in such things, i've seen the ttl cookbook too before.
-
If you need some examples for a VT100 compatible serial monitor projects:
https://hackaday.com/tag/vt100/
-
There is a book by Andew Lamothe called The Black Art of Video Game Console Design which I think covers designing vga output for a games console, might be worth a look.
I was going to suggest this, it'll give a nice low level overview of a video system.
OP - I'd strongly recommend staying away from composite, you won't be happy with the results. Instead look into analogue monochrome or RGB video (either 15khz or 31khz H Sync).
Anyone can create a digital video output in this day and age, but where's the fun in that? :)
-
I was going to suggest this, it'll give a nice low level overview of a video system.
I've actually ordered it :)
OP - I'd strongly recommend staying away from composite, you won't be happy with the results. Instead look into analogue monochrome or RGB video (either 15khz or 31khz H Sync).
I'll look into that, this may be a dumb question but would i use RGB inputs to transfer a monochrome signal?
Anyone can create a digital video output in this day and age, but where's the fun in that? :)
Yeah, even though i'll learn about digital video there's just something exciting about analog video and crt screens!
-
Don't forget Charles Poynton, A Technical Introduction to Digital Video (Wiley, 1996; ISBN 0-471-12253-X)
Very good, demystifying treatment of color spaces, modulations, aspect ratios, etc.
-
I'll look into that, this may be a dumb question but would i use RGB inputs to transfer a monochrome signal?
If the R, G, and B signals are output from a common DAC, (and it could be a 1-bit DAC for B&W!) the signal is effectively monochrome even if your monitor is color. If your monitor is in fact monochrome, then it will only connect to one of the color signals, usually green by convention.
Composite is CVBS: Color, Video, Blanking, and Sync, all mixed together over a single wire. The reason it is hard to generate good composite is that these four signals occupy similar frequency bands and their phase relationship is critical to be able to be cleanly separated in the display. Just removing the Color signal makes it a lot easier (then you are left with Video (monochrome), Blanking, and Sync, which are all necessary in any analog system).
-
Don't forget Charles Poynton, A Technical Introduction to Digital Video (Wiley, 1996; ISBN 0-471-12253-X)
Very good, demystifying treatment of color spaces, modulations, aspect ratios, etc.
Nice! Ordered it on ebay!
If the R, G, and B signals are output from a common DAC, (and it could be a 1-bit DAC for B&W!) the signal is effectively monochrome even if your monitor is color. If your monitor is in fact monochrome, then it will only connect to one of the color signals, usually green by convention.
Composite is CVBS: Color, Video, Blanking, and Sync, all mixed together over a single wire. The reason it is hard to generate good composite is that these four signals occupy similar frequency bands and their phase relationship is critical to be able to be cleanly separated in the display. Just removing the Color signal makes it a lot easier (then you are left with Video (monochrome), Blanking, and Sync, which are all necessary in any analog system).
Thanks! That made things a bit more clear.