Pages: 1 2 3 [4] 5   Go Down
Author Topic: TVout Colors  (Read 6825 times)
0 Members and 1 Guest are viewing this topic.
Connecticut
Offline Offline
Edison Member
*
Karma: 17
Posts: 1216
RTFD (Datasheet in our case)
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
couldn't do with a mainframe


smiley

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

baum
Logged

Japan
Offline Offline
Jr. Member
**
Karma: 16
Posts: 79
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
« Last Edit: July 26, 2011, 03:02:31 am by Nabe_RMC » Logged

Connecticut
Offline Offline
Edison Member
*
Karma: 17
Posts: 1216
RTFD (Datasheet in our case)
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

Global Moderator
UK
Offline Offline
Brattain Member
*****
Karma: 299
Posts: 26194
I don't think you connected the grounds, Dave.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
NTSC gives us 52us to display a row, 52/96 = ~54ns
You're a factor of 10 out.
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.

Connecticut
Offline Offline
Edison Member
*
Karma: 17
Posts: 1216
RTFD (Datasheet in our case)
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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?
Logged

Global Moderator
UK
Offline Offline
Brattain Member
*****
Karma: 299
Posts: 26194
I don't think you connected the grounds, Dave.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
btw why was this stickied?
Smartphone finger-trouble   smiley-red
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.

Connecticut
Offline Offline
Edison Member
*
Karma: 17
Posts: 1216
RTFD (Datasheet in our case)
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Japan
Offline Offline
Jr. Member
**
Karma: 16
Posts: 79
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

Connecticut
Offline Offline
Edison Member
*
Karma: 17
Posts: 1216
RTFD (Datasheet in our case)
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

2. That video had 3 different images...


baum
Logged

Japan
Offline Offline
Jr. Member
**
Karma: 16
Posts: 79
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

My 1st Arduino


2nd

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

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 !
Logged

Connecticut
Offline Offline
Edison Member
*
Karma: 17
Posts: 1216
RTFD (Datasheet in our case)
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Wow! smiley

baum

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

Victoria, BC, Canada
Offline Offline
Full Member
***
Karma: 0
Posts: 222
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

Connecticut
Offline Offline
Edison Member
*
Karma: 17
Posts: 1216
RTFD (Datasheet in our case)
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Victoria, BC, Canada
Offline Offline
Full Member
***
Karma: 0
Posts: 222
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

Japan
Offline Offline
Jr. Member
**
Karma: 16
Posts: 79
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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...

 
Logged

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