Go Down

Topic: NTSC signal with Arduino and Miku H@chuNe (Read 3373 times) previous topic - next topic

cr0sh

#15
Mar 25, 2010, 06:05 pm Last Edit: Mar 25, 2010, 06:05 pm by keeper63@cox.net Reason: 1
Quote
The picture data put on Flash ROM(Program)
- use - 120*120=14400bytes
So, if use only text display and not use graphic, then there is room in ROM.


So - you are using PROGMEM for storage of the image?

Quote
Text display - use only  1 row for V-RAM
use -> 6byte/char * 15char/row = 90bytes/row
So, there is room in RAM.


If there were a way to modify the font, or have multiple fonts, that could open up some nice possibilities for games and such.

Quote
When you display it on the screen full,there is processing timing of the application only at vertically returning.


So you have to do all processing in a very narrow time-slice of the vertical blank. Could be an issue, depending on what is being done of course...

Quote
It takes a rest from display job once and do application at such time.
If it is CRT, this is possible.

Like a serilal LCD,  I think it is possible.
However, for what do you use it?


Well, for one, a very small gaming system display is a possibility (in other words, there would be the single ATMega328 drawing the display based on serial commands, with another controlling it) - you could also, with external circuitry, mix in live video and do text overlays (there are similar boards on the market that do this already, but they use a different uP, or a separate video IC of some sort).

Quote
Thanks the comment. I like model planes.


I like paper airplanes, myself, and that video reminded me of some designs I have seen and played with; the plane in the video looks like some lightweight loops of foam connected to long spars of carbon fiber, in a canard configuration; with other parts (servos and motors) for control from a lightweight park flyer, perhaps?

Its a very eye catching design, and looks fun to fly!

:)
I will not respond to Arduino help PM's from random forum users; if you have such a question, start a new topic thread.

Nabe

Quote
So - you are using PROGMEM for storage of the image?

Yes.
The image can be somewhat moved by changing the reading address position of ROM.
like this
http://homepage3.nifty.com/two_legs/syuuhou/syuuhou2006/syuuhou05/dora.AVI
However, being able to do is only such the thing,

Quote
If there were a way to modify the font, or have multiple fonts, that could open up some nice possibilities for games and such.


The file name of Character Generator code ( Font convert ) is "CG_20100316.h"
The data is arranged in order of ASCII code.
(the characters < 0x20 ) --> control code , so we place any charcters in the area.
Each charcters are made up by 6*8 dots.( = 6*8bits = 6bytes )
Conversion to V-RAM data from text data is performed at the time of the display of spacing line.
And three line is needed for conversion of 15 characters.
So, this method, The line - 3lines which nothing can display exists every 8 lines.


Quote
Quote:
When you display it on the screen full,there is processing timing of the application only at vertically returning.

So you have to do all processing in a very narrow time-slice of the vertical blank. Could be an issue, depending on what is being done of course...


I'm sorry. I was not able to express it well in English.
So in such occasions (many tasks to do whithin a certain time ),  We only have using a tricky technique.
CRT - interlaced scan is used. So, a picture is reflected even if it performs display processing every other time.
we can use the effect of the afterimage of CRT.
And processing time can be acquired.

----------------------------
The work ( NTSC with Arduino ) is an only exercise.
How to use AVR, how to use interrupt, timer, how to avoid jitter, etc.
and studuy NTSC signal.
Although full-scale image processing is treated, ATMEGA328P, capability is too low.
     
I think that it is the time when now CPLD and FPGA are used also in a hobby.
     
I want to  cahllenge  to handle FPGA and CPLD.....

Best Regards

Go Up