Controlling a Computer screen
robotboy
Posts: 30
Hi guys, Im a beginner in propeller and I was wondering how people can control a computer screen using a propeller chip. I have a Quickstart I would like to use for this project. If you guys could help me and maybe give me a little code to play with that would be awesome!
Aarons Robotics
Aarons Robotics
Comments
The VGAplus board is configured much like the "Demoboard" in regard to VGA, Keyboard, and audio connections. Most any of the common programs which work with it will also work with VGAplus. In addition SRAM, Wii, and SD module sockets are available. While there wasn't room for TV video out, the pins 12..14 are broken out on the side for easy connection of TV.
Jeff
See keyboard driver here.
See VGA driver here or here.
See VGA text-only driver here.
There are all sorts of other VGA drivers available in the ObEx with various resolutions and features.
You should consider the prop demoboard if you don't already have a board wih a VGA connector. The demoboard is the "standard" for VGA connection. Look at the schematic for the demoboard. It will show you exactly how to do the circuit, I believe.
The schematics for the Propeller Demo board are in the Propeller Tool's "Help" section. The demo board has both vga and keyboard connections.
The demo board doesn't use the optimal resistor values for its VGA connection. Phil has posted information about a better set of resistor values to use. If you need help finding the thread let us know. I bet one of us could find it for you.
Using the resistors in the demo board schematic will work fine, the colors just wont have the range they would using Phil's values (all my boards use the demo board resistor values).
Another VGA board option is the Propeller Protoboards. They have holes for VGA and PS/2 connectors (they use a stacked connector, Digi-Key has a pretty good price for this connector).
Edit: I hadn't seen Prof_Braino's post.
Phil's thread is here:
http://forums.parallax.com/showthread.php?135385
I had to look it up just this week so I had it bookmarked.
Another related thread: (Pertains to TV out resistors)
http://forums.parallax.com/showthread.php?107596-Two-component-Video-DAC&highlight=Component
What are you trying to accomplish? There are many directions the VGAplus/Demoboard/Human Interface Board can go. Mike has given you some of the "tried and true" VGA drivers, and there are many more. The schematics for the VGAplus board are at http://www.propellerpowered.com/library (Schematics section). The schematics for a Demoboard are included in the "pull down" menu of the Propeller Tool itself. You'll find that all three products are using the same I/O pins for VGA and keyboard so most examples will be cross-compatible.
Jeff
Stick with a known good program to keep variables down, then once the circuit is performing well, start changing or writing new code.
The basic rule for video is to make one change at a time so that troubleshooting remains sane.
Exactly what do you mean by control? Do you want the computer to do something on the screen in response to what you tell it to do from a Propeller?
That's easy... but a different can of worms:)
Rich
Well... I was going just hook up my screen to the propeller but.... I dont know how much I want to do it any more