Shop OBEX P1 Docs P2 Docs Learn Events
A VGA-type Propeller Backpack thing... — Parallax Forums

A VGA-type Propeller Backpack thing...

GrogsterGrogster Posts: 5
edited 2012-07-17 08:01 in Propeller 1
Hi all.
:)

I have just purchased a couple of Propeller Backpack things, to experiment with the TV-OUT ability pre-loaded into these modules. However, I have been reading lots of posts on the forums here, about VGA output, and plenty of photos to prove that the Propeller can certainly generate basic VGA.

Basic colour VGA is all I want - not interested in thousands of colours, 16 or less would be just fine with me.

However, I would need something along the lines of the standard Backpack device, that you can control with serial commands - this might be where the problem is, although the Propeller looks like a very juicy(read: powerful) chip...

I did a search of the forums before posting this thread, and there are plenty of hits for VGA, but they all seem to deal with screen capture of either NTSC or PAL, or VGA output tests in the form of patterns or 8-bit test images etc.

Is there any way to make a VGA backpack type thing - does exactly the same as the Propeller Backpack that outputs NTSC composite video, but instead of composite, outputs VGA instead?

VGA provides a much crisper image then composite does, so the text looks much sharper then composite which tends to look a little blurred around the edges. Not that this is a complaint, just an observation. :)

Comments

  • Peter JakackiPeter Jakacki Posts: 10,193
    edited 2012-07-16 06:07
    Grogster wrote: »
    Hi all.
    :)

    I have just purchased a couple of Propeller Backpack things, to experiment with the TV-OUT ability pre-loaded into these modules. However, I have been reading lots of posts on the forums here, about VGA output, and plenty of photos to prove that the Propeller can certainly generate basic VGA.

    Basic colour VGA is all I want - not interested in thousands of colours, 16 or less would be just fine with me.

    However, I would need something along the lines of the standard Backpack device, that you can control with serial commands - this might be where the problem is, although the Propeller looks like a very juicy(read: powerful) chip...

    I did a search of the forums before posting this thread, and there are plenty of hits for VGA, but they all seem to deal with screen capture of either NTSC or PAL, or VGA output tests in the form of patterns or 8-bit test images etc.

    Is there any way to make a VGA backpack type thing - does exactly the same as the Propeller Backpack that outputs NTSC composite video, but instead of composite, outputs VGA instead?

    VGA provides a much crisper image then composite does, so the text looks much sharper then composite which tends to look a little blurred around the edges. Not that this is a complaint, just an observation. :)

    You might be interested in this unit then that I developed for a special application, it plugs directly into the VGA socket on the monitor (no cable) and you can run it with a variety of interfaces. Basically there is RS485 or RS422 or direct from RS232. There's also my USB serial module that plugs into it or alternatively my Bluetooth module. Oh, and there is an option for a ZIGBEE module as well, plus an optional switch-mode regulatior and even a USB/PS2 keyboard input. I think that's all. Hang on, there's also TV and audio going to the VGA connector too. I can supply these in any configuration including the head-shell.

    PIXIE-m.jpg
    800 x 383 - 93K
  • GrogsterGrogster Posts: 5
    edited 2012-07-16 06:16
    Yes, very interested in that. Is is Prop based? Can you control it with serial commands like the Backpack?

    ...and the inevitable question - how much? ;)
  • Mike GreenMike Green Posts: 23,101
    edited 2012-07-16 06:25
    There are many Propeller boards that will produce VGA. The Propeller Demo board is one such. All you need are a group of 8 I/O pins, 8 resistors (see the Demo Board schematic for values), and the connector.

    As far as a Backpack-like thing "exactly the same as", it depends on what features you'd want. The Backpack provides audio input and output, video input and output, and video overlaying. Each feature requires some number of I/O pins and a few external components. The daughterboard connector needs a few components to provide possible ADC capability. Some of these capabilities use the same components for different functions since the features are not all expected to be available simultaneously. There are 3 unused I/O pins on the Backpack's Propeller, so it should be easy to do what you want.
  • Peter JakackiPeter Jakacki Posts: 10,193
    edited 2012-07-16 06:51
    I'm not familiar with the backpack but I will look it up. Of course it's a Prop, the photo could have been a little better but it's one I happened to have on hand. The serial commands are totally up to you of course as it comes back down to what you want. I normally use a variant of PocketTerm which emulates an ANSI serial terminal but take you pick. Now the price won't be anything like the standard commercial price as I always try to keep the price down for the forum and pretty much just cover costs so I've just checked the backpack and it looks like they sell them for $40 less a cent so you can have a standard Pixie for the same price including the USB serial module which can become part of it. I'm short of those little headshell cases at the moment though so I don't think it would hurt if it didn't have the case. So standard configuration would be 64K EEPROM, linear regulator, RS485x2 which also doubles as RS422 or 5V RS-232 plus standard USB A socket. You can power it from the USB serial module which BTW uses a standard microUSB and talk to it that way too. I will setup a web-page with some info on it later.
  • GrogsterGrogster Posts: 5
    edited 2012-07-16 16:54
    Excellent - please keep me posted. As far as the serial commands, I would be wanting the same commands as used by the Backpack for code compatibility, but PocketTerm may well be better - I will google for PocketTerm and do some research. If it can do colour text via TTL 5v serial commands from another controller IC, that's just about all I would want. Different font sizes on the same screen(but different lines) would be a bonus, but this might not be possible. Thank you and Mike for your replies. :)
  • WBA ConsultingWBA Consulting Posts: 2,936
    edited 2012-07-16 18:51
    Nice little board Peter! It appears to be XBee ready? If so, this is half of a project that is on a back burner. (a low cost wrestling timer/scoring system) The other half would be a handheld remote. Looking forward to the details as I may be able to get that project a little farther along.......
  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2012-07-16 19:29
    It's easy enough to make your own Backpack-ready VGA adaptor. All it takes is a Proto-DB, a standard three-row right-angle DB-15 connector, and a handful of resistors:

    attachment.php?attachmentid=94236&d=1342491924

    I scavenged my DB-15 connector form an old PC display board, but they're readily available from electronics distributors. The pins have a staggered footprint, but it's not difficult to coerce them into the Proto-DB's 0.1" grid. I used a mixture of thru-hole and SMT resistors, since that's what I had; but there's plenty of room on the board for the thru-hole variety. Just use the values recommended in this thread:

    -Phil
    540 x 300 - 40K
  • GrogsterGrogster Posts: 5
    edited 2012-07-16 20:58
    Wow, OK.
    Forgive me, as I am very new to Propeller...

    So, this add-on board obviously plugs into the daughterboard thingy on the main Backback board, by the look of it.

    Do I need to load a different program to the one that is in it already, or will this drive VGA directly from the software already in the Backpack from the factory?

    I have also ordered a Prop Plug for programming, so that should be easy enough using this plug if need be, but perhaps I don't even need to touch it software wise?
  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2012-07-16 21:09
    Yes, you will need to load new software into the Backpack to redirect output to the VGA. The Backpack, as programmed from the factory, produces output on NTSC video only.

    -Phil
  • GrogsterGrogster Posts: 5
    edited 2012-07-16 21:24
    Hokey pokey, I will have a look around for both the programmer software and the VGA output software - I'll keep you posted.
  • Peter JakackiPeter Jakacki Posts: 10,193
    edited 2012-07-16 22:26
    Nice little board Peter! It appears to be XBee ready? If so, this is half of a project that is on a back burner. (a low cost wrestling timer/scoring system) The other half would be a handheld remote. Looking forward to the details as I may be able to get that project a little farther along.......
    Hi Andy, yes that's for an XBEE alright so you could connect to it remotely like that too. I have also used my little Bluetooth modules that plug in where the USB serial module normally goes and that works really well too, even from a smartphone. Alternatively these can be hardwired in an RS-485 network with one common twisted-pair for data and one twisted-pair for power which is great if you want several of them running. The USB-A connector is the other way of plugging in a "remote" as it should be possible to use those cheap wireless keyboard dongles.
  • BeanBean Posts: 8,129
    edited 2012-07-17 06:10
    If anyone is interested in making something like this, I'd like to have a board to support PEBasic (Propeller Embeded Basic). Basically a retro computer.

    I'd need:
    VGA
    PS/2 Keyboard
    Mono Sound output (1/8" jack)
    16 I/O pins (P0 to P15 would be ideal)
    A small prototype area (like the Propeller demo board, maybe a little bigger)
    64KB EEPROM
    USB connection (like Propeller demo board)

    Bean
  • Peter JakackiPeter Jakacki Posts: 10,193
    edited 2012-07-17 07:01
    Bean wrote: »
    If anyone is interested in making something like this, I'd like to have a board to support PEBasic (Propeller Embeded Basic). Basically a retro computer.

    I'd need:
    VGA
    PS/2 Keyboard
    Mono Sound output (1/8" jack)
    16 I/O pins (P0 to P15 would be ideal)
    A small prototype area (like the Propeller demo board, maybe a little bigger)
    64KB EEPROM
    USB connection (like Propeller demo board)

    Bean
    You will find that real PS/2 keyboards are a bit hard to find but if you design with a standard USB A socket you can plug in those keyboards which are designed to handle either USB or PS/2 but you don't need that ugly and bulky adaptor. I have quite a few boards that have similar specs except I never have any general-purpose prototyping area as I rely on plug-in modules and some of these are prototyping style with holes and even with a TSSOP20 pattern in the middle. So I can prototype on the plug-in module and then unplug it eventually when I get proper pcbs. BTW, the modules are normally in my 16X2 Puppy format with a 8x2 pin header on either long end of the pcb.

    Another thing too is I hate bulky connectors and VGA connectors are one of them. I only use them if they really make sense like in the Pixie as it plugs directly into the back of the monitor. When I need VGA then I just plug in a cable to suit. The easiest and cheapest PCB connector to use is a 4x2 pin header with the 5 VGA signals plus 3 grounds.

    I'm glad to see you mentioned "mono" sound. What is it with stereo anyway? Most sound is just sound, how can two tiny speakers a few inches apart give us "stereo" sound? It's way overrated and only useful and enjoyable really when it's true hifi and you use headphones.
    I normally use a compact 3.5mm stereo socket either wired in mono mode or I feed a TV signal out or sometimes 5V so I can plug in a serial LCD or the like (data instead of TV and 5V instead of audio).

    You didn't mention SD memory, wouldn't you need that?
  • BeanBean Posts: 8,129
    edited 2012-07-17 08:01
    You didn't mention SD memory, wouldn't you need that?

    From what I've done so far, I don't think I'd have the program space to support an SD Card. Currently I only have about 4K of program space as it is.

    Bean
Sign In or Register to comment.