Pages: 1 2 [3] 4   Go Down
Author Topic: Turn your Uno into a VGA output device!  (Read 25600 times)
0 Members and 1 Guest are viewing this topic.
Global Moderator
UK
Offline Offline
Brattain Member
*****
Karma: 302
Posts: 26273
I don't think you connected the grounds, Dave.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Is it really a CRT (i.e. is it quite deep behind the screen?) or is it a plasma display?
Logged

"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

nr Bundaberg, Australia
Offline Offline
Tesla Member
***
Karma: 126
Posts: 8512
Scattered showers my arse -- Noah, 2348BC.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Wow, a genuine "luggable".

_______
Rob
Logged

Rob Gray aka the GRAYnomad www.robgray.com

Global Moderator
Offline Offline
Brattain Member
*****
Karma: 484
Posts: 18764
Lua rocks!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I warn you that you won't get that resolution. All you can expect is what I showed on the first page of this thread, scaled into the screen. The processor just can't output discrete pulses fast enough.
Logged


Offline Offline
Newbie
*
Karma: 0
Posts: 9
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi Nick,

I have played with your color version, it works fine! But what about color text and communication part? Are you try to add all parts together?
Logged

Quebec, Canada
Offline Offline
Newbie
*
Karma: 0
Posts: 39
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

what about using two arduino? one for rgb and other one for v sync and h sync? lol
Logged

Offline Offline
Jr. Member
**
Karma: 0
Posts: 70
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Maybe I'm completely wrong but: It is not possible to use a screen with buffer???
Something like the latch on 75HC595 Shift register IC. So you put in the buffer what you want to write, then activate the latch pin, and there is no need for refresh unless you need to change what is shown on the screen.

A screen like this will be perfect, because you can use relative big screens/resolutions with the Atmega IC's without overloading.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 1
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

This was mentioned in a post above, but I want to ask the same question again, regarding combining Nick's work on generating sync (which seems to consume _most_ of the cycles of an UNO and Sebastian Tomczak's work ( http://little-scale.blogspot.com/2008/02/hacking-vga-lines-with-arduino.html ) which results in a very rudimentary but very cool "video synth".

Sebastian was grabbing his sync from an external source (in his demo he is using the signal from a computer).

So if one used a second UNO (or similar) could one use that to generate the RGB signals (which are actually being generated from an audio input source in Sebastian's project) and combine that with the sync being generated with Nick's project (on the first UNO) and merely "splice" the signals together at the actual cable socket?

Or better yet, could it all happen on one Arduino? I doubt that given the timing tightness being described, but even if I had to run it on two boards... I have a few laying around, and it would make a cool little AV synth.

Any thoughts?
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi nick...i'm trying to figure out how to overlay some text on a vga signal....if i understood well just need to detect the vertical sync, count horizontal sync pulses and out some text (video sygnal) over the actual signal on the right time...is this correct?...how can I do this? could you give me some ligth on it?...I don't understand the screenfont.h format...how can i distiguished a single letter from this code?...(sorry for my english)
Logged

Mumbai
Offline Offline
Jr. Member
**
Karma: 0
Posts: 54
Its Simple Technology, What will you do with It!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Nice work,
Quite Helpful too  smiley
Logged

Czech Republic
Offline Offline
Newbie
*
Karma: 0
Posts: 3
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Thank you Nick,
your site is awesome, explanatory kind of "makers" experience.
I have just made some experiments with your code, I'd will dig through to
modify it for my project's purposes.

Thank you so much for sharing it!

EDIT:
I spent some time with your code (and description) and I could not get gotoXY work properly.
I'm sending data from other arduino and I wanted following:
CLRSCR
GOTOXY 5,5
print some text

So I used several variation of
Code:
char xy[] = {5,5};

 sendString (clearScreen);
 sendString (gotoXY);sendString(xy);
// sendString (strcat(gotoXY,xy));
// sendString (gotoXY+xy);
//   etc...
 sendString ("Hi!\n");

Could you please point me to some good and working solution to that? Thx.


McHa
« Last Edit: March 06, 2013, 03:48:41 am by McHa » Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hey @Nick Gammon How can i increase the font size from 8X8 to 8X12 ?
Please reply....
Logged

Global Moderator
Offline Offline
Brattain Member
*****
Karma: 484
Posts: 18764
Lua rocks!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I suppose you would change the font definition:

Code:
byte screen_font [8] [256] PROGMEM = {

Go from 8 rows to 12 rows. Then you need to re-make the fonts from scratch. And change the part where it copies the font data to the screen to allow for sending 12 rows rather than 8.
Logged


Offline Offline
Newbie
*
Karma: 0
Posts: 9
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

VGA library - now with TV output

http://forum.arduino.cc/index.php?topic=150517.0
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 6
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Gee thanks Nick!   

Now I have quit procrastinating and repair my spare 19" Flatscreen.


I really want to try you project.   I have a few interesting ideas and will soon have 4 Arduino UNO3 to work with.

I may end up offering a Shield on Ebay, supporting VGA and interfacing with 3 UNO3's.  If I do, I'll send you one free.


Keep up the good work.

Thanks for the challenge.
Logged

Ray Collins

Offline Offline
Newbie
*
Karma: 1
Posts: 31
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hey , just came across this Papilio VGA shield.

http://www.robotshop.com/productinfo.aspx?pc=RB-Spa-805&lang=en-US

Not bad, it's exactly the same, except on a nice little breakout board.
Logged

Pages: 1 2 [3] 4   Go Up
Jump to: