Go Down

Topic: TVout Colors (Read 7743 times) previous topic - next topic

baum

Quote
couldn't do with a mainframe



:)

Thanks for the help. I'll look into an ARM or XMOS.

baum

Nabe_RMC

#46
Jul 26, 2011, 09:56 am Last Edit: Jul 26, 2011, 10:02 am by Nabe_RMC Reason: 1
If your TV has RGB input and SYNC input,
how about this ?

96 x 72 pixel, 64 color
micro SD ( (1image = 96 x 72 /8 = 768byte) x n frames )  -> ATmega328 RAM <- 2kB
Analog RGB LCD
http://twitvideo.jp/04HNT
Hard ware is simple. Arduino + registers and micro SD
like this
http://blog-imgs-47.fc2.com/n/a/b/nabermc/20101213_RGB_Shield_2.jpg

baum

What do you mean by RGB and SYNC inputs? Can you show me on your TV?

Also: NTSC gives us 52us to display a row, 52/96 = ~54ns. Arduino clkfreq is 16Mhz or 62.5ns.

baum

AWOL

Quote
NTSC gives us 52us to display a row, 52/96 = ~54ns

You're a factor of 10 out.
"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.

baum

Right... 541 ns. But that is only 8.5 clock cycles. No way we can read frame buffer and output RGB in that time.

btw why was this stickied?

AWOL

Quote
btw why was this stickied?

Smartphone finger-trouble   :smiley-red:
"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.

baum

ok. Now I am wondering how nabe_RMC was able to get RGB output with a pixel time of 8 clock cycles...

Nabe_RMC

It's intersting to play with Arduino.That't my hobby!
But after the earhquake, my motivation is still down.
So, I had stopped to play with Arduino.

It is impossible to display 96 x 72 pixels animation with Arduino ATmega 328.
I think so.
But It is possible to display 160 x 120 - 64colors 1image.
http://twitvideo.jp/03oxF
NTSC signals with one chip microcoputers
https://picasaweb.google.com/MeowJPN/ELJ09#
http://twitvideo.jp/032zk

I'm soryy stray from the subject - TVout "Colors".

Quote
ok. Now I am wondering how nabe_RMC was able to get RGB output with a pixel time of 8 clock cycles...

put image datas on ROM then possible 160 x 120
64 colors - use PC0 - PC5
this is 4bit - 16seteps gray scale
to display for text, use line buffer
https://picasaweb.google.com/MeowJPN/ELJ09#5456662632369537394

baum

1. I don't yet know assembler. :( (any tutorials out there?)

2. That video had 3 different images...


baum

Nabe_RMC

I'm soryy stray from the subject - TVout "Colors".

My 1st Arduino
http://www.youtube.com/watch?v=dZVFQIFUhwA

2nd
http://www.youtube.com/watch?v=wm3LlHKeFes
circuit schematic
http://homepage3.nifty.com/two_legs/neo/project/Arduino/SCRT_z1.jpg
Program Code
http://homepage3.nifty.com/two_legs/neo/project/Arduino/SCRT_z1.zip

3rd
http://www.youtube.com/watch?v=sQNRiu3Vkyc&feature=player_embedded
circuit schematic
http://homepage3.nifty.com/two_legs/neo/project/Arduino_LCD/LCD10.jpg
Someone who wants to use this CASIO Analog RGB LCD ?
I will present you. But I'm in Japan.

This summer I decide to enjoy with RC airplane!
Thanks !

baum

Wow! :)

baum

I'm assuming that that can not be done in C, but rather with "heavily-optimized assembler?"

David Pankhurst


I'm assuming that that can not be done in C, but rather with "heavily-optimized assembler?"


The code is included, so you can go through it, see how it's done. I know the TVout code is very informative.

baum

No... I meant the full color stuff that Nabe_RMC did.

David Pankhurst

The color item isn't TV - it's an LCD display, so TV signal timing isn't an issue.

He talks more about it on the old forum:

http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1290696213

Nabe_RMC

Quote
1. I don't yet know assembler.  (any tutorials out there?)

First of all you need to get "AVR Instruction set"
http://www.google.co.jp/#sclient=psy&hl=ja&rlz=1R2TRDJ_jaJP360&source=hp&q=AVR+instrucion+set&rlz=1R2TRDJ_jaJP360&aq=&aqi=&aql=&oq=&pbx=1&bav=on.2,or.r_gc.r_pw.&fp=d43d018b28e23efa&biw=861&bih=588

use inline assembler on Arduino IDE
"Inline Assembler Cookbook "
http://www.nongnu.org/avr-libc/user-manual/inline_asm.html

But why we use Arduino?
why "program" called  "sketch" ?
There are many libralies and examples.
So, I thnk it's best way not using assembler...



Go Up